Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2402)

Delta Between Two Patch Sets: Misc/NEWS

Issue 810044: Python issue #7559: ImportErrors in unittest.TestLoader.loadTestFromName() Base URL: http://svn.python.org/view/*checkout*/python/trunk/
Left Patch Set: Added new unit test; incorporated unit test context manager suggestion; other clean-up. Created 13 years, 11 months ago
Right Patch Set: Switched from ImportError to AttributeError after python-dev discussion. Created 13 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/unittest/test/test_loader.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 +++++++++++ 1 +++++++++++
2 Python News 2 Python News
3 +++++++++++ 3 +++++++++++
4 4
5 (editors: check NEWS.help for information about editing NEWS using ReST.) 5 (editors: check NEWS.help for information about editing NEWS using ReST.)
6 6
7 What's New in Python 2.7 beta 2?
8 ================================
9
10 *Release date: XXXX-XX-XX*
11
12 Core and Builtins
13 -----------------
14
15 - Issue #7332: Remove the 16KB stack-based buffer in
16 PyMarshal_ReadLastObjectFromFile, which doesn't bring any noticeable
17 benefit compared to the dynamic memory allocation fallback. Patch by
18 Charles-François Natali.
19
20 - Issue #8417: Raise an OverflowError when an integer larger than sys.maxsize is
21 passed to bytearray.
22
23 - Issue #7072: isspace(0xa0) is true on Mac OS X
24
25 Library
26 -------
27
28 - Issue #8484: Load all ciphers and digest algorithms when initializing
29 the _ssl extension, such that verification of some SSL certificates
30 doesn't fail because of an "unknown algorithm".
31
32 - Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm
33
34 - Issue #4814: timeout parameter is now applied also for connections resulting
35 from PORT/EPRT commands.
36
37 - Issue #8463: added missing reference to bztar in shutil's documentation.
38
39 - Issue #8438: Remove reference to the missing "surrogateescape" encoding
40 error handler from the new IO library.
41
42 - Issue #3817: ftplib.FTP.abort() method now considers 225 a valid response
43 code as stated in RFC-959 at chapter 5.4.
44
45 - Issue #8279: Fix test_gdb failures.
46
47 - Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
48 available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
49
50 - Issue #2987: RFC2732 support for urlparse (IPv6 addresses). Patch by Tony
51 Locke and Hans Ulrich Niedermann.
52
53 - Issue #7585: difflib context and unified diffs now place a tab between
54 filename and date, conforming to the 'standards' they were originally
55 designed to follow. This improves compatibility with patch tools.
56
57 - Issue #7472: Fixed typo in email.encoders module; messages using ISO-2022
58 character sets will now consistently use a Content-Transfer-Encoding of
59 7bit rather than sometimes being marked as 8bit.
60
61 - Issue #8330: Fix expected output in test_gdb.
62
63 - Issue #8374: Update the internal alias table in the :mod:`locale` module
64 to cover recent locale changes and additions.
65
66 Extension Modules
67 -----------------
68
69 - Build the ossaudio extension on GNU/kFreeBSD.
70
71
7 What's New in Python 2.7 beta 1? 72 What's New in Python 2.7 beta 1?
8 ================================ 73 ================================
9 74
10 *Release date: XXXX-XX-XX* 75 *Release date: 2010-04-10*
11 76
12 Core and Builtins 77 Core and Builtins
13 ----------------- 78 -----------------
79
80 - Issue #7301: Add environment variable $PYTHONWARNINGS.
81
82 - Issue #8329: Don't return the same lists from select.select when no fds are
83 changed.
84
85 - Issue #8259: 1L << (2**31) no longer produces an 'outrageous shift error'
86 on 64-bit machines. The shift count for either left or right shift is
87 permitted to be up to sys.maxsize.
14 88
15 - Ensure that tokenization of identifiers is not affected by locale. 89 - Ensure that tokenization of identifiers is not affected by locale.
16 90
17 - Issue #1222585: Added LDCXXSHARED for C++ support. Patch by Arfrever. 91 - Issue #1222585: Added LDCXXSHARED for C++ support. Patch by Arfrever.
18 92
19 - Raise a TypeError when trying to delete a T_STRING_INPLACE struct member. 93 - Raise a TypeError when trying to delete a T_STRING_INPLACE struct member.
20 94
21 - Issue #7994: Issue a PendingDeprecationWarning if object.__format__ 95 - Issue #7994: Issue a PendingDeprecationWarning if object.__format__
22 is called with a non-empty format string. This is an effort to 96 is called with a non-empty format string. This is an effort to
23 future-proof user code. If a derived class does not currently 97 future-proof user code. If a derived class does not currently
(...skipping 18 matching lines...) Expand all
42 - Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt 116 - Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
43 (SIGINT). If an error occurs while importing the site module, the error is 117 (SIGINT). If an error occurs while importing the site module, the error is
44 printed and Python exits. Initialize the GIL before importing the site 118 printed and Python exits. Initialize the GIL before importing the site
45 module. 119 module.
46 120
47 - Code objects now support weak references. 121 - Code objects now support weak references.
48 122
49 Library 123 Library
50 ------- 124 -------
51 125
126 - Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
127
128 - Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
129 using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
130 and `ssl.OPENSSL_VERSION_NUMBER`.
131
132 - Issue #8310: Allow dis to examine new style classes.
133
52 - Issue #8257: The Decimal construct now accepts a float instance 134 - Issue #8257: The Decimal construct now accepts a float instance
53 directly, converting that float to a Decimal of equal value: 135 directly, converting that float to a Decimal of equal value:
54 136
55 >>> Decimal(1.1) 137 >>> Decimal(1.1)
56 Decimal('1.100000000000000088817841970012523233890533447265625') 138 Decimal('1.100000000000000088817841970012523233890533447265625')
57 139
58 - collections.Counter() now supports a subtract() method. 140 - collections.Counter() now supports a subtract() method.
59 141
60 - the functools module now has a total_ordering() class decorator 142 - the functools module now has a total_ordering() class decorator
61 to simplify the specifying rich comparisons. 143 to simplify the specification of rich comparisons.
62 144
63 - The functools module also adds cmp_to_key() as a tool to transition 145 - The functools module also adds cmp_to_key() as a tool to transition
64 old-style comparison functions to new-style key-functions. 146 old-style comparison functions to new-style key-functions.
65 147
66 - Issue #8294: The Fraction constructor now accepts Decimal and float 148 - Issue #8294: The Fraction constructor now accepts Decimal and float
67 instances directly. 149 instances directly.
68 150
69 - Issue #7279: Comparisons involving a Decimal signaling NaN now 151 - Issue #7279: Comparisons involving a Decimal signaling NaN now
70 signal InvalidOperation instead of returning False. (Comparisons 152 signal InvalidOperation instead of returning False. (Comparisons
71 involving a quiet NaN are unchanged.) Also, Decimal quiet NaNs 153 involving a quiet NaN are unchanged.) Also, Decimal quiet NaNs
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 257
176 - Issue #1220212: Added os.kill support for Windows, including support for· 258 - Issue #1220212: Added os.kill support for Windows, including support for·
177 sending CTRL+C and CTRL+BREAK events to console subprocesses. 259 sending CTRL+C and CTRL+BREAK events to console subprocesses.
178 260
179 - Issue #7559: unittest: TestLoader.loadTestsFromName() now lets ImportErrors 261 - Issue #7559: unittest: TestLoader.loadTestsFromName() now lets ImportErrors
180 bubble up if a bad import statement is encountered while loading a nested 262 bubble up if a bad import statement is encountered while loading a nested
181 module. Before the method raised an AttributeError. 263 module. Before the method raised an AttributeError.
182 264
183 Extension Modules 265 Extension Modules
184 ----------------- 266 -----------------
267
268 - Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.
185 269
186 - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument. 270 - Issue #1039, #8154: Fix os.execlp() crash with missing 2nd argument.
187 271
188 - Issue #8156: bsddb module updated to version 4.8.4. 272 - Issue #8156: bsddb module updated to version 4.8.4.
189 http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.8.4. 273 http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.8.4.
190 This update drops support for Berkeley DB 4.0, and adds support for 4.8. 274 This update drops support for Berkeley DB 4.0, and adds support for 4.8.
191 275
192 - Issue #8142: Update libffi to the 3.0.9 release. 276 - Issue #8142: Update libffi to the 3.0.9 release.
193 277
194 - Issue #8300: When passing a non-integer argument to struct.pack with any 278 - Issue #8300: When passing a non-integer argument to struct.pack with any
(...skipping 28 matching lines...) Expand all
223 allowing to use advanced gdb features when debugging Python. 307 allowing to use advanced gdb features when debugging Python.
224 308
225 - Issue #1628484: The Makefile doesn't ignore the CFLAGS environment 309 - Issue #1628484: The Makefile doesn't ignore the CFLAGS environment
226 variable anymore. It also forwards the LDFLAGS settings to the linker 310 variable anymore. It also forwards the LDFLAGS settings to the linker
227 when building a shared library. 311 when building a shared library.
228 312
229 - Issue #6716: Quote -x arguments of compileall in MSI installer. 313 - Issue #6716: Quote -x arguments of compileall in MSI installer.
230 314
231 - Issue #7705: Fix linking on FreeBSD. 315 - Issue #7705: Fix linking on FreeBSD.
232 316
317 - Make sure that the FreeBSD build of the included libffi uses the proper
318 assembly file.
319
233 C-API 320 C-API
234 ----- 321 -----
235 322
236 - Issue #8276: PyEval_CallObject() is now only available in macro form. The 323 - Issue #8276: PyEval_CallObject() is now only available in macro form. The
237 function declaration, which was kept for backwards compatibility reasons, 324 function declaration, which was kept for backwards compatibility reasons,
238 is now removed (the macro was introduced in 1997!). 325 is now removed (the macro was introduced in 1997!).
239 326
240 - Issue #7992: A replacement PyCObject API, PyCapsule, has been backported 327 - Issue #7992: A replacement PyCObject API, PyCapsule, has been backported
241 from Python 3.1. All existing Python CObjects in the main distribution 328 from Python 3.1. All existing Python CObjects in the main distribution
242 have been converted to capsules. To address backwards-compatibility 329 have been converted to capsules. To address backwards-compatibility
243 concerns, PyCObject_AsVoidPtr() was changed to understand capsules. 330 concerns, PyCObject_AsVoidPtr() was changed to understand capsules.
244 331
245 Tests 332 Tests
246 ----- 333 -----
334
335 - Issue #3864: Skip three test_signal tests on freebsd6 because they fail
336 if any thread was previously started, most likely due to a platform bug.
337
338 - Issue #8348: Fix test ftp url in test_urllib2net.
339
340 - Issue #8204: Fix test_ttk notebook test by forcing focus.
341
342 - Issue #8344: Fix test_ttk bug on FreeBSD.
343
344 - Issue #8193: Fix test_zlib failure with zlib 1.2.4.
247 345
248 - Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi. 346 - Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi.
249 347
250 - Issue #8263: Now regrtest.py will report a failure if it receives a 348 - Issue #8263: Now regrtest.py will report a failure if it receives a
251 KeyboardInterrupt (SIGINT). 349 KeyboardInterrupt (SIGINT).
252 350
253 - Issue #8180 and #8207: Fix test_pep277 on OS X and add more tests for special 351 - Issue #8180 and #8207: Fix test_pep277 on OS X and add more tests for special
254 Unicode normalization cases. 352 Unicode normalization cases.
255 353
256 - Issue #7783: test.test_support.open_urlresource invalidates the outdated 354 - Issue #7783: test.test_support.open_urlresource invalidates the outdated
(...skipping 5421 matching lines...) Expand 10 before | Expand all | Expand 10 after
5678 5776
5679 - buildtools now raises a DeprecationWarning. 5777 - buildtools now raises a DeprecationWarning.
5680 5778
5681 - Removed the macfs module. It had been deprecated since Python 2.5. 5779 - Removed the macfs module. It had been deprecated since Python 2.5.
5682 This lead to the deprecation of macostools.touched() as it relied 5780 This lead to the deprecation of macostools.touched() as it relied
5683 solely on macfs and was a no-op under OS X. 5781 solely on macfs and was a no-op under OS X.
5684 5782
5685 ---- 5783 ----
5686 5784
5687 **(For information about older versions, consult the HISTORY file.)** 5785 **(For information about older versions, consult the HISTORY file.)**
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b