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

Delta Between Two Patch Sets: Misc/NEWS

Issue 11682: PEP 380 reference implementation for 3.3
Left Patch Set: Created 7 years, 5 months ago
Right Patch Set: Created 7 years, 4 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 | « Misc/ACKS ('k') | Modules/parsermodule.c » ('j') | Modules/parsermodule.c » ('J')
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 What's New in Python 3.3 Alpha 1? 5 What's New in Python 3.3 Alpha 1?
6 ================================= 6 =================================
7 7
8 *Release date: XX-XXX-20XX* 8 *Release date: XX-XXX-20XX*
9 9
10 Core and Builtins 10 Core and Builtins
11 ----------------- 11 -----------------
12 12
13 - PEP 380, Issue #11682: Add "yield from <x>" to support easy delegation to 13 - PEP 380, Issue #11682: Add "yield from <x>" to support easy delegation to
14 subgenerators (initial patch by Greg Ewing, integration into 3.3 by 14 subgenerators (initial patch by Greg Ewing, integration into 3.3 by
15 Renaud Blanch, Ryan Kelly and Nick Coghlan) 15 Renaud Blanch, Ryan Kelly and Nick Coghlan)
16 16
17 - Issue #12736: Use full unicode case mappings for upper, lower, and title case.
18
19 - Issue #12760: Add a create mode to open(). Patch by David Townshend.
20
21 - Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().
22
23 - Issue #13577: Built-in methods and functions now have a __qualname__.
24 Patch by sbt.
25
26 - Issue #6695: Full garbage collection runs now clear the freelist of set
27 objects. Initial patch by Matthias Troffaes.
28
29 - Fix OSError.__init__ and OSError.__new__ so that each of them can be
30 overriden and take additional arguments (followup to issue #12555).
31
32 - Fix the fix for issue #12149: it was incorrect, although it had the side
33 effect of appearing to resolve the issue. Thanks to Mark Shannon for
34 noticing.
35
36 - Issue #13505: Pickle bytes objects in a way that is compatible with
37 Python 2 when using protocols <= 2.
38
39 - Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
40 given by Campbell Barton).
41
42 - Issue #13503: Use a more efficient reduction format for bytearrays with
43 pickle protocol >= 3. The old reduction format is kept with older protocols
44 in order to allow unpickling under Python 2. Patch by Irmen de Jong.
45
46 - Issue #7111: Python can now be run without a stdin, stdout or stderr
47 stream. It was already the case with Python 2. However, the corresponding
48 sys module entries are now set to None (instead of an unusable file object).
49
50 - Issue #11849: Ensure that free()d memory arenas are really released
51 on POSIX systems supporting anonymous memory mappings. Patch by
52 Charles-François Natali.
53
54 - Issue #13452: PyUnicode_EncodeDecimal() doesn't support error handlers
55 different than "strict" anymore. The caller was unable to compute the
56 size of the output buffer: it depends on the error handler.
57
58 - PEP 3155 / issue #13448: Qualified name for classes and functions.
59
60 - Issue #13436: Fix a bogus error message when an AST object was passed
61 an invalid integer value.
62
63 - Issue #13411: memoryview objects are now hashable when the underlying
64 object is hashable.
65
66 - Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER
67 to allow compiling extension modules with -Wswitch-enum on gcc.
68 Initial patch by Floris Bruynooghe.
69
70 - Issue #10227: Add an allocation cache for a single slice object. Patch by
71 Stefan Behnel.
72
73 - Issue #13393: BufferedReader.read1() now asks the full requested size to
74 the raw stream instead of limiting itself to the buffer size.
75
76 - Issue #13392: Writing a pyc file should now be atomic under Windows as well.
77
78 - Issue #13333: The UTF-7 decoder now accepts lone surrogates (the encoder
79 already accepts them).
80
81 - Issue #13389: Full garbage collection passes now clear the freelists for
82 list and dict objects. They already cleared other freelists in the
83 interpreter.
84
85 - Issue #13327: Remove the need for an explicit None as the second argument
86 to os.utime, os.lutimes, os.futimes, os.futimens, os.futimesat, in
87 order to update to the current time. Also added keyword argument
88 handling to os.utimensat in order to remove the need for explicit None.
89
90 - Issue #13350: Simplify some C code by replacing most usages of
91 PyUnicode_Format by PyUnicode_FromFormat.
92
93 - Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
94 error handler in interactive mode (when calling into PyOS_Readline()).
95
96 - Issue #9896: Add start, stop, and step attributes to range objects.
97
98 - Issue #13343: Fix a SystemError when a lambda expression uses a global
99 variable in the default value of a keyword-only argument:
100 (lambda *, arg=GLOBAL_NAME: None)
101
102 - Issue #12797: Added custom opener parameter to builtin open() and
103 FileIO.open().
104
17 - Issue #10519: Avoid unnecessary recursive function calls in 105 - Issue #10519: Avoid unnecessary recursive function calls in
18 setobject.c. 106 setobject.c.
19 107
20 - Issue #10363: Deallocate global locks in Py_Finalize(). 108 - Issue #10363: Deallocate global locks in Py_Finalize().
21 109
22 - Issue #13018: Fix reference leaks in error paths in dictobject.c. 110 - Issue #13018: Fix reference leaks in error paths in dictobject.c.
23 Patch by Suman Saha. 111 Patch by Suman Saha.
24 112
25 - Issue #13201: Define '==' and '!=' to compare range objects based on 113 - Issue #13201: Define '==' and '!=' to compare range objects based on
26 the sequence of values they define (instead of comparing based on 114 the sequence of values they define (instead of comparing based on
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 mapped to POSIX errno ENOTDIR (previously EINVAL). 179 mapped to POSIX errno ENOTDIR (previously EINVAL).
92 180
93 - Issue #9200: The str.is* methods now work with strings that contain non-BMP 181 - Issue #9200: The str.is* methods now work with strings that contain non-BMP
94 characters even in narrow Unicode builds. 182 characters even in narrow Unicode builds.
95 183
96 - Issue #12791: Break reference cycles early when a generator exits with 184 - Issue #12791: Break reference cycles early when a generator exits with
97 an exception. 185 an exception.
98 186
99 - Issue #12773: Make __doc__ mutable on user-defined classes. 187 - Issue #12773: Make __doc__ mutable on user-defined classes.
100 188
101 - Issue #12766: Raise an ValueError when creating a class with a class variable 189 - Issue #12766: Raise a ValueError when creating a class with a class variable
102 that conflicts with a name in __slots__. 190 that conflicts with a name in __slots__.
103 191
104 - Issue #12266: Fix str.capitalize() to correctly uppercase/lowercase 192 - Issue #12266: Fix str.capitalize() to correctly uppercase/lowercase
105 titlecased and cased non-letter characters. 193 titlecased and cased non-letter characters.
106 194
107 - Issue #12732: In narrow unicode builds, allow Unicode identifiers which fall 195 - Issue #12732: In narrow unicode builds, allow Unicode identifiers which fall
108 outside the BMP. 196 outside the BMP.
109 197
110 - Issue #12575: Validate user-generated AST before it is compiled. 198 - Issue #12575: Validate user-generated AST before it is compiled.
111 199
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 - Issue #12475: Prevent generators from leaking their exception state into the 240 - Issue #12475: Prevent generators from leaking their exception state into the
153 caller's frame as they return for the last time. 241 caller's frame as they return for the last time.
154 242
155 - Issue #12291: You can now load multiple marshalled objects from a stream, 243 - Issue #12291: You can now load multiple marshalled objects from a stream,
156 with other data interleaved between marshalled objects. 244 with other data interleaved between marshalled objects.
157 245
158 - Issue #12356: When required positional or keyword-only arguments are not 246 - Issue #12356: When required positional or keyword-only arguments are not
159 given, produce a informative error message which includes the name(s) of the 247 given, produce a informative error message which includes the name(s) of the
160 missing arguments. 248 missing arguments.
161 249
162 - Issue #12370: Fix super with not arguments when __class__ is overriden in the 250 - Issue #12370: Fix super with no arguments when __class__ is overriden in the
163 class body. 251 class body.
164 252
165 - Issue #12084: os.stat on Windows now works properly with relative symbolic 253 - Issue #12084: os.stat on Windows now works properly with relative symbolic
166 links when called from any directory. 254 links when called from any directory.
167 255
168 - Loosen type restrictions on the __dir__ method. __dir__ can now return any 256 - Loosen type restrictions on the __dir__ method. __dir__ can now return any
169 sequence, which will be converted to a list and sorted by dir(). 257 sequence, which will be converted to a list and sorted by dir().
170 258
171 - Issue #12265: Make error messages produced by passing an invalid set of 259 - Issue #12265: Make error messages produced by passing an invalid set of
172 arguments to a function more informative. 260 arguments to a function more informative.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 - Issue #12044: Fixed subprocess.Popen when used as a context manager to 299 - Issue #12044: Fixed subprocess.Popen when used as a context manager to
212 wait for the process to end when exiting the context to avoid unintentionally 300 wait for the process to end when exiting the context to avoid unintentionally
213 leaving zombie processes around. 301 leaving zombie processes around.
214 302
215 - Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, 303 - Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
216 clear the end-of-file indicator after CTRL+d. 304 clear the end-of-file indicator after CTRL+d.
217 305
218 - Issue #1856: Avoid crashes and lockups when daemon threads run while the 306 - Issue #1856: Avoid crashes and lockups when daemon threads run while the
219 interpreter is shutting down; instead, these threads are now killed when 307 interpreter is shutting down; instead, these threads are now killed when
220 they try to take the GIL. 308 they try to take the GIL.
221
222 - Issue #11849: Make it more likely for the system allocator to release
223 free()d memory arenas on glibc-based systems. Patch by Charles-François
224 Natali.
225 309
226 - Issue #9756: When calling a method descriptor or a slot wrapper descriptor, 310 - Issue #9756: When calling a method descriptor or a slot wrapper descriptor,
227 the check of the object type doesn't read the __class__ attribute anymore. 311 the check of the object type doesn't read the __class__ attribute anymore.
228 Fix a crash if a class override its __class__ attribute (e.g. a proxy of the 312 Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
229 str type). Patch written by Andreas Stührk. 313 str type). Patch written by Andreas Stührk.
230 314
231 - Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* 315 - Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
232 APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch 316 APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch
233 by Charles-François Natali. 317 by Charles-François Natali.
234 318
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 357
274 - Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on 358 - Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
275 Windows if the file is a TTY to workaround a Windows bug. The Windows console 359 Windows if the file is a TTY to workaround a Windows bug. The Windows console
276 returns an error (12: not enough space error) on writing into stdout if 360 returns an error (12: not enough space error) on writing into stdout if
277 stdout mode is binary and the length is greater than 66,000 bytes (or less, 361 stdout mode is binary and the length is greater than 66,000 bytes (or less,
278 depending on heap usage). 362 depending on heap usage).
279 363
280 - Issue #11320: fix bogus memory management in Modules/getpath.c, leading to 364 - Issue #11320: fix bogus memory management in Modules/getpath.c, leading to
281 a possible crash when calling Py_SetPath(). 365 a possible crash when calling Py_SetPath().
282 366
283 - _ast.__version__ is now a Mercurial hex revision.
284
285 - Issue #11432: A bug was introduced in subprocess.Popen on posix systems with 367 - Issue #11432: A bug was introduced in subprocess.Popen on posix systems with
286 3.2.0 where the stdout or stderr file descriptor being the same as the stdin 368 3.2.0 where the stdout or stderr file descriptor being the same as the stdin
287 file descriptor would raise an exception. webbrowser.open would fail. fixed. 369 file descriptor would raise an exception. webbrowser.open would fail. fixed.
288 370
289 - Issue #9856: Change object.__format__ with a non-empty format string 371 - Issue #9856: Change object.__format__ with a non-empty format string
290 to be a DeprecationWarning. In 3.2 it was a PendingDeprecationWarning. 372 to be a DeprecationWarning. In 3.2 it was a PendingDeprecationWarning.
291 In 3.4 it will be a TypeError. 373 In 3.4 it will be a TypeError.
292 374
293 - Issue #11244: The peephole optimizer is now able to constant-fold 375 - Issue #11244: The peephole optimizer is now able to constant-fold
294 arbitrarily complex expressions. This also fixes a 3.2 regression where 376 arbitrarily complex expressions. This also fixes a 3.2 regression where
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 - Check for NULL result in PyType_FromSpec. 422 - Check for NULL result in PyType_FromSpec.
341 423
342 - Issue #10516: New copy() and clear() methods for lists and bytearrays. 424 - Issue #10516: New copy() and clear() methods for lists and bytearrays.
343 425
344 - Issue #11386: bytearray.pop() now throws IndexError when the bytearray is 426 - Issue #11386: bytearray.pop() now throws IndexError when the bytearray is
345 empty, instead of OverflowError. 427 empty, instead of OverflowError.
346 428
347 - Issue #12380: The rjust, ljust and center methods of bytes and bytearray 429 - Issue #12380: The rjust, ljust and center methods of bytes and bytearray
348 now accept a bytearray argument. 430 now accept a bytearray argument.
349 431
350
351 Library 432 Library
352 ------- 433 -------
353 434
354 - Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart. 435 - Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
436 The hang would occur when retrieving the result of a scheduled future after
437 the executor had been shut down.
438
439 - Issue #13502: threading: Fix a race condition in Event.wait() that made it
440 return False when the event was set and cleared right after.
441
442 - Issue #9993: When the source and destination are on different filesystems,
443 and the source is a symlink, shutil.move() now recreates a symlink on the
444 destination instead of copying the file contents. Patch by Jonathan Niehof
445 and Hynek Schlawack.
446
447 - Issue #12926: Fix a bug in tarfile's link extraction.
448
449 - Issue #13696: Fix the 302 Relative URL Redirection problem.
450
451 - Issue #13636: Weak ciphers are now disabled by default in the ssl module
452 (except when SSLv2 is explicitly asked for).
453
454 - Issue #12715: Add an optional symlinks argument to shutil functions
455 (copyfile, copymode, copystat, copy, copy2). When that parameter is
456 true, symlinks aren't dereferenced and the operation instead acts on the
457 symlink itself (or creates one, if relevant). Patch by Hynek Schlawack.
458
459 - Add a flags parameter to select.epoll.
460
461 - Issue #12798: Updated the mimetypes documentation.
462
463 - Issue #13626: Add support for SSL Diffie-Hellman key exchange, through the
464 SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
465
466 - Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.
467
468 - Issue #13620: Support for Chrome browser in webbrowser.py Patch contributed
469 by Arnaud Calmettes.
470
471 - Issue #11829: Fix code execution holes in inspect.getattr_static for
472 metaclasses with metaclasses. Patch by Andreas Stührk.
473
474 - Issue #12708: Add starmap() and starmap_async() methods (similar to
475 itertools.starmap()) to multiprocessing.Pool. Patch by Hynek Schlawack.
476
477 - Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
478
479 - Issue #13637: "a2b" functions in the binascii module now accept ASCII-only
480 unicode strings.
481
482 - Issue #13634: Add support for querying and disabling SSL compression.
483
484 - Issue #13627: Add support for SSL Elliptic Curve-based Diffie-Hellman
485 key exchange, through the SSLContext.set_ecdh_curve() method and the
486 ssl.OP_SINGLE_ECDH_USE option.
487
488 - Issue #13635: Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
489 choose the cipher based on their own preferences, rather than on the
490 client's.
491
492 - Issue #11813: Fix inspect.getattr_static for modules. Patch by Andreas
493 Stührk.
494
495 - Issue #7502: Fix equality comparison for DocTestCase instances. Patch by
496 Cédric Krier.
497
498 - Issue #11870: threading: Properly reinitialize threads internal locks and
499 condition variables to avoid deadlocks in child processes.
500
501 - Issue #8035: urllib: Fix a bug where the client could remain stuck after a
502 redirection or an error.
503
504 - Issue #13560: os.strerror() now uses the current locale encoding instead of
505 UTF-8.
506
507 - Issue #13560: Add PyUnicode_DecodeLocale(), PyUnicode_DecodeLocaleAndSize()
508 and PyUnicode_EncodeLocale() functions to the C API to decode/encode from/to
509 the current locale encoding.
510
511 - Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystem
512 encoding and the surrogateescape error handler, rather than UTF-8. Patch
513 by David Watson.
514
515 - Issue #10350: Read and save errno before calling a function which might
516 overwrite it. Original patch by Hallvard B Furuseth.
517
518 - Issue #11610: Introduce a more general way to declare abstract properties.
519
520 - Issue #13591: A bug in importlib has been fixed that caused import_module
521 to load a module twice.
522
523 - Issue #4625: If IDLE cannot write to its recent file or breakpoint
524 files, display a message popup and continue rather than crash.
525 (original patch by Roger Serwy)
526
527 - Issue #13449 sched.scheduler.run() method has a new "blocking" parameter which
528 when set to False makes run() execute the scheduled events due to expire
529 soonest (if any) and then return. Patch by Giampaolo Rodolà.
530
531 - Issue #8684 sched.scheduler class can be safely used in multi-threaded
532 environments. Patch by Josiah Carlson and Giampaolo Rodolà.
533
534 - Alias resource.error to OSError ala PEP 3151.
535
536 - Issue #5689: Add support for lzma compression to the tarfile module.
537
538 - Issue #13248: Turn 3.2's PendingDeprecationWarning into 3.3's
539 DeprecationWarning. It covers 'cgi.escape', 'importlib.abc.PyLoader',
540 'importlib.abc.PyPycLoader', 'nntplib.NNTP.xgtitle', 'nntplib.NNTP.xpath',
541 and private attributes of 'smtpd.SMTPChannel'.
542
543 - Issue #5905, #13560: time.strftime() is now using the current locale
544 encoding, instead of UTF-8, if the wcsftime() function is not available.
545
546 - Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
547 Patch by Tal Einat.
548
549 - Issue #13464: Add a readinto() method to http.client.HTTPResponse. Patch
550 by Jon Kuhn.
551
552 - tarfile.py: Correctly detect bzip2 compressed streams with blocksizes
553 other than 900k.
554
555 - Issue #13439: Fix many errors in turtle docstrings.
556
557 - Issue #6715: Add a module 'lzma' for compression using the LZMA algorithm.
558 Thanks to Per Øyvind Karlsen for the initial implementation.
559
560 - Issue #13487: Make inspect.getmodule robust against changes done to
561 sys.modules while it is iterating over it.
562
563 - Issue #12618: Fix a bug that prevented py_compile from creating byte
564 compiled files in the current directory. Initial patch by Sjoerd de Vries.
565
566 - Issue #13444: When stdout has been closed explicitly, we should not attempt
567 to flush it at shutdown and print an error.
568
569 - Issue #12567: The curses module uses Unicode functions for Unicode arguments
570 when it is linked to the ncurses library. It encodes also Unicode strings to
571 the locale encoding instead of UTF-8.
572
573 - Issue #12856: Ensure child processes do not inherit the parent's random
574 seed for filename generation in the tempfile module. Patch by Brian
575 Harring.
576
577 - Issue #9957: SpooledTemporaryFile.truncate() now accepts an optional size
578 parameter, as other file-like objects. Patch by Ryan Kelly.
579
580 - Issue #13458: Fix a memory leak in the ssl module when decoding a
581 certificate with a subjectAltName. Patch by Robert Xiao.
582
583 - Issue #13415: os.unsetenv() doesn't ignore errors anymore.
584
585 - Issue #13245: sched.scheduler class constructor's timefunc and
586 delayfunct parameters are now optional.
587 scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter.
588 Patch contributed by Chris Clark.
589
590 - Issue #12328: Under Windows, refactor handling of Ctrl-C events and
591 make _multiprocessing.win32.WaitForMultipleObjects interruptible when
592 the wait_flag parameter is false. Patch by sbt.
593
594 - Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
595 raised when the wrapped raw file is non-blocking and the write would block.
596 Previous code assumed that the raw write() would raise BlockingIOError, but
597 RawIOBase.write() is defined to returned None when the call would block.
598 Patch by sbt.
599
600 - Issue #13358: HTMLParser now calls handle_data only once for each CDATA.
601
602 - Issue #4147: minidom's toprettyxml no longer adds whitespace around a text
603 node when it is the only child of an element. Initial patch by Dan
604 Kenigsberg.
605
606 - Issue #13374: The Windows bytes API has been deprecated in the os module. Use
607 Unicode filenames instead of bytes filenames to not depend on the ANSI code
608 page anymore and to support any filename.
609
610 - Issue #13297: Use bytes type to send and receive binary data through XMLRPC.
611
612 - Issue #6397: Support "/dev/poll" polling objects in select module,
613 under Solaris & derivatives.
614
615 - Issues #1745761, #755670, #13357, #12629, #1200313: HTMLParser now correctly
616 handles non-valid attributes, including adjacent and unquoted attributes.
617
618 - Issue #13193: Fix distutils.filelist.FileList and
619 packaging.manifest.Manifest under Windows. The "recursive-include"
620 directive now recognizes both legal path separators.
621
622 - Issue #13384: Remove unnecessary __future__ import in Lib/random.py
623
624 - Issue #13149: Speed up append-only StringIO objects.
625
626 - Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitely
627 when called with a timeout. Patch by Arnaud Ysmal.
628
629 - Issue #13254: Fix Maildir initialization so that maildir contents
630 are read correctly.
631
632 - Issue #3067: locale.setlocale() now raises TypeError if the second
633 argument is an invalid iterable. Its documentation and docstring
634 were also updated. Initial patch by Jyrki Pulliainen.
635
636 - Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn.
637
638 - Issue #13339: Fix compile error in posixmodule.c due to missing semicolon.
639 Thanks to Robert Xiao.
640
641 - Byte compilation in packaging is now isolated from the calling Python -B or
642 -O options, instead of being disallowed under -B or buggy under -O.
643
644 - Issue #10570: curses.putp() and curses.tparm() are now expecting a byte
645 string, instead of a Unicode string.
646
647 - Issue #13295: http.server now produces valid HTML 4.01 strict.
648
649 - Issue #2892: preserve iterparse events in case of SyntaxError.
650
651 - Issue #13287: urllib.request and urllib.error now contains an __all__
652 attribute to expose only relevant classes and functions. Patch by Florent
653 Xicluna.
654
655 - Issue #670664: Fix HTMLParser to correctly handle the content of
656 ``<script>...</script>`` and ``<style>...</style>``.
657
658 - Issue #10817: Fix urlretrieve function to raise ContentTooShortError even
659 when reporthook is None. Patch by Jyrki Pulliainen.
660
661 - Issue #13296: Fix IDLE to clear compile __future__ flags on shell restart.
355 (Patch by Roger Serwy) 662 (Patch by Roger Serwy)
356 663
357 - Fix the xmlrpc.client user agent to return something similar to 664 - Fix the xmlrpc.client user agent to return something similar to
358 urllib.request user agent: "Python-xmlrpc/3.3". 665 urllib.request user agent: "Python-xmlrpc/3.3".
359 666
360 - Issue #13293: Better error message when trying to marshal bytes using 667 - Issue #13293: Better error message when trying to marshal bytes using
361 xmlrpc.client. 668 xmlrpc.client.
362 669
363 - Issue #13291: NameError in xmlrpc package. 670 - Issue #13291: NameError in xmlrpc package.
364 671
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 - Issue #12070: Fix the Makefile parser of the sysconfig module to handle 1193 - Issue #12070: Fix the Makefile parser of the sysconfig module to handle
887 correctly references to "bogus variable" (e.g. "prefix=$/opt/python"). 1194 correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
888 1195
889 - Issue #12100: Don't reset incremental encoders of CJK codecs at each call to 1196 - Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
890 their encode() method anymore, but continue to call the reset() method if the 1197 their encode() method anymore, but continue to call the reset() method if the
891 final argument is True. 1198 final argument is True.
892 1199
893 - Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl 1200 - Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
894 module. 1201 module.
895 1202
896 - Issue #12125: fixed the failures under Solaris due to improper test cleanup.
897
898 - Issue #6501: os.device_encoding() returns None on Windows if the application 1203 - Issue #6501: os.device_encoding() returns None on Windows if the application
899 has no console. 1204 has no console.
900
901 - Issue #12132: Skip test_build_ext in case the xxmodule is not found.
902 1205
903 - Issue #12105: Add O_CLOEXEC to the os module. 1206 - Issue #12105: Add O_CLOEXEC to the os module.
904 1207
905 - Issue #12079: Decimal('Infinity').fma(Decimal('0'), (3.91224318126786e+19+0j)) 1208 - Issue #12079: Decimal('Infinity').fma(Decimal('0'), (3.91224318126786e+19+0j))
906 now raises TypeError (reflecting the invalid type of the 3rd argument) rather 1209 now raises TypeError (reflecting the invalid type of the 3rd argument) rather
907 than Decimal.InvalidOperation. 1210 than Decimal.InvalidOperation.
908 1211
909 - Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore 1212 - Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
910 to be able to unload the module. 1213 to be able to unload the module.
911 1214
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 - Issue #9026: Fix order of argparse sub-commands in help messages. 1706 - Issue #9026: Fix order of argparse sub-commands in help messages.
1404 1707
1405 - Issue #9347: Fix formatting for tuples in argparse type= error messages. 1708 - Issue #9347: Fix formatting for tuples in argparse type= error messages.
1406 1709
1407 - Issue #12191: Added shutil.chown() to change user and/or group owner of a 1710 - Issue #12191: Added shutil.chown() to change user and/or group owner of a
1408 given path also specifying their names. 1711 given path also specifying their names.
1409 1712
1410 Build 1713 Build
1411 ----- 1714 -----
1412 1715
1716 - Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
1717
1413 - PEP 393: the configure option --with-wide-unicode is removed. 1718 - PEP 393: the configure option --with-wide-unicode is removed.
1414 1719
1415 - Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008 1720 - Issue #12852: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
1416 functions on OpenBSD (e.g. fdopendir). 1721 functions on OpenBSD (e.g. fdopendir).
1417 1722
1418 - Issue #11863: Remove support for legacy systems deprecated in Python 3.2 1723 - Issue #11863: Remove support for legacy systems deprecated in Python 3.2
1419 (following PEP 11). These systems are systems using Mach C Threads, 1724 (following PEP 11). These systems are systems using Mach C Threads,
1420 SunOS lightweight processes, GNU pth threads and IRIX threads. 1725 SunOS lightweight processes, GNU pth threads and IRIX threads.
1421 1726
1422 - Issue #8746: Correct faulty configure checks so that os.chflags() and 1727 - Issue #8746: Correct faulty configure checks so that os.chflags() and
(...skipping 23 matching lines...) Expand all
1446 1751
1447 IDLE 1752 IDLE
1448 ---- 1753 ----
1449 1754
1450 - Issue #11718: IDLE's open module dialog couldn't find the __init__.py 1755 - Issue #11718: IDLE's open module dialog couldn't find the __init__.py
1451 file in a package. 1756 file in a package.
1452 1757
1453 Tools/Demos 1758 Tools/Demos
1454 ----------- 1759 -----------
1455 1760
1761 - Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
1762 traceback if Python is optimized.
1763
1456 - Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and 1764 - Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and
1457 add a smarter "py-bt" command printing a classic Python traceback. 1765 add a smarter "py-bt" command printing a classic Python traceback.
1458 1766
1459 - Issue #11179: Make ccbench work under Python 3.1 and 2.7 again. 1767 - Issue #11179: Make ccbench work under Python 3.1 and 2.7 again.
1460 1768
1461 - Issue #10639: reindent.py no longer converts newlines and will raise 1769 - Issue #10639: reindent.py no longer converts newlines and will raise
1462 an error if attempting to convert a file with mixed newlines. 1770 an error if attempting to convert a file with mixed newlines.
1463 "--newline" option added to specify new line character. 1771 "--newline" option added to specify new line character.
1464 1772
1465 Extension Modules 1773 Extension Modules
1466 ----------------- 1774 -----------------
1467 1775
1776 - Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
1777 Vilmos Nebehaj.
1778
1779 - Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
1780
1468 - Issue #13159: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time 1781 - Issue #13159: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time
1469 buffer growth strategy instead of a quadratic-time one. 1782 buffer growth strategy instead of a quadratic-time one.
1470 1783
1471 - Issue #10141: socket: Add SocketCAN (PF_CAN) support. Initial patch by 1784 - Issue #10141: socket: Add SocketCAN (PF_CAN) support. Initial patch by
1472 Matthias Fuchs, updated by Tiago Gonçalves. 1785 Matthias Fuchs, updated by Tiago Gonçalves.
1473 1786
1474 - Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle 1787 - Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle
1475 would be finalized after the reference to its underlying BufferedRWPair's 1788 would be finalized after the reference to its underlying BufferedRWPair's
1476 writer got cleared by the GC. 1789 writer got cleared by the GC.
1477 1790
(...skipping 22 matching lines...) Expand all
1500 1813
1501 - Issue #11241: subclasses of ctypes.Array can now be subclassed. 1814 - Issue #11241: subclasses of ctypes.Array can now be subclassed.
1502 1815
1503 - Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to 1816 - Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
1504 some functions like file.write(). 1817 some functions like file.write().
1505 1818
1506 - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper 1819 - Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
1507 signature. Without this, architectures where sizeof void* != sizeof int are 1820 signature. Without this, architectures where sizeof void* != sizeof int are
1508 broken. Patch given by Hallvard B Furuseth. 1821 broken. Patch given by Hallvard B Furuseth.
1509 1822
1510 - Issue #12221: Replace pyexpat.__version__ with the Python version.
1511
1512 - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested 1823 - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested
1513 objects using the C accelerations. 1824 objects using the C accelerations.
1514 1825
1515 - Issue #12017: Fix segfault in json.loads() while decoding highly-nested 1826 - Issue #12017: Fix segfault in json.loads() while decoding highly-nested
1516 objects using the C accelerations. 1827 objects using the C accelerations.
1517 1828
1518 - Issue #1838: Prevent segfault in ctypes, when _as_parameter_ on a class is set 1829 - Issue #1838: Prevent segfault in ctypes, when _as_parameter_ on a class is set
1519 to an instance of the class. 1830 to an instance of the class.
1520 1831
1521 Tests 1832 Tests
1522 ----- 1833 -----
1834
1835 - Issue #13304: Skip test case if user site-packages disabled (-s or
1836 PYTHONNOUSERSITE). (Patch by Carl Meyer)
1523 1837
1524 - Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch 1838 - Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
1525 by Xavier de Gaye. 1839 by Xavier de Gaye.
1526 1840
1527 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 1841 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
1528 1842
1529 - Re-enable lib2to3's test_parser.py tests, though with an expected failure 1843 - Re-enable lib2to3's test_parser.py tests, though with an expected failure
1530 (see issue 13125). 1844 (see issue 13125).
1531 1845
1532 - Issue #12656: Add tests for IPv6 and Unix sockets to test_asyncore. 1846 - Issue #12656: Add tests for IPv6 and Unix sockets to test_asyncore.
(...skipping 27 matching lines...) Expand all
1560 (Patch by Robert Xiao) 1874 (Patch by Robert Xiao)
1561 1875
1562 - Issue #12573: Add resource checks for dangling Thread and Process objects. 1876 - Issue #12573: Add resource checks for dangling Thread and Process objects.
1563 1877
1564 - Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' 1878 - Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
1565 as the processor type on some Mac systems. 1879 as the processor type on some Mac systems.
1566 1880
1567 - Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary 1881 - Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
1568 failure in name resolution. 1882 failure in name resolution.
1569 1883
1884 - Issue #11812: Solve transient socket failure to connect to 'localhost'
1885 in test_telnetlib.py.
1886
1887 - Solved a potential deadlock in test_telnetlib.py. Related to issue #11812.
1888
1570 - Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and 1889 - Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
1571 an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder 1890 an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
1572 Web site. 1891 Web site.
1573 1892
1574 - Avoid failing in test_urllibnet.test_bad_address when some overzealous 1893 - Avoid failing in test_urllibnet.test_bad_address when some overzealous
1575 DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test 1894 DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test
1576 is now skipped instead. 1895 is now skipped instead.
1577 1896
1578 - Issue #12440: When testing whether some bits in SSLContext.options can be 1897 - Issue #12440: When testing whether some bits in SSLContext.options can be
1579 reset, check the version of the OpenSSL headers Python was compiled against, 1898 reset, check the version of the OpenSSL headers Python was compiled against,
(...skipping 27 matching lines...) Expand all
1607 run outside of a build directory. 1926 run outside of a build directory.
1608 1927
1609 - Issue #8746: Add additional tests for os.chflags() and os.lchflags(). 1928 - Issue #8746: Add additional tests for os.chflags() and os.lchflags().
1610 Patch by Garrett Cooper. 1929 Patch by Garrett Cooper.
1611 1930
1612 - Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9 1931 - Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
1613 2.8 + on Mac OS X. (Patch by Ronald Oussoren) 1932 2.8 + on Mac OS X. (Patch by Ronald Oussoren)
1614 1933
1615 - Issue #12057: Add tests for ISO 2022 codecs (iso2022_jp, iso2022_jp_2, 1934 - Issue #12057: Add tests for ISO 2022 codecs (iso2022_jp, iso2022_jp_2,
1616 iso2022_kr). 1935 iso2022_kr).
1617
1618 - Issue #12180: Fixed a few remaining errors in test_packaging when no
1619 threading.
1620
1621 - Issue #12120, #12119: skip a test in packaging and distutils
1622 if sys.dont_write_bytecode is set to True.
1623 1936
1624 - Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch 1937 - Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch
1625 written by Charles-François Natali. 1938 written by Charles-François Natali.
1626 1939
1627 - Issue #11614: import __hello__ prints "Hello World!". Patch written by 1940 - Issue #11614: import __hello__ prints "Hello World!". Patch written by
1628 Andreas Stührk. 1941 Andreas Stührk.
1629 1942
1630 - Issue #5723: Improve json tests to be executed with and without accelerations. 1943 - Issue #5723: Improve json tests to be executed with and without accelerations.
1631 1944
1632 - Issue #12041: Make test_wait3 more robust. 1945 - Issue #12041: Make test_wait3 more robust.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 - PY_PATCHLEVEL_REVISION has been removed, since it's meaningless with 2036 - PY_PATCHLEVEL_REVISION has been removed, since it's meaningless with
1724 Mercurial. 2037 Mercurial.
1725 2038
1726 - Issue #12173: The first argument of PyImport_ImportModuleLevel is now `const 2039 - Issue #12173: The first argument of PyImport_ImportModuleLevel is now `const
1727 char *` instead of `char *`. 2040 char *` instead of `char *`.
1728 2041
1729 - Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format. 2042 - Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
1730 2043
1731 Documentation 2044 Documentation
1732 ------------- 2045 -------------
2046
2047 - Issue #13513: Fix io.IOBase documentation to correctly link to the
2048 io.IOBase.readline method instead of the readline module.
2049
2050 - Issue #13237: Reorganise subprocess documentation to emphasise convenience
2051 functions and the most commonly needed arguments to Popen.
1733 2052
1734 - Issue #13141: Demonstrate recommended style for socketserver examples. 2053 - Issue #13141: Demonstrate recommended style for socketserver examples.
1735 2054
1736 - Issue #11818: Fix tempfile examples for Python 3. 2055 - Issue #11818: Fix tempfile examples for Python 3.
1737 2056
1738 2057
1739 What's New in Python 3.2? 2058 What's New in Python 3.2?
1740 ========================= 2059 =========================
1741 2060
1742 *Release date: 20-Feb-2011* 2061 *Release date: 20-Feb-2011*
(...skipping 5381 matching lines...) Expand 10 before | Expand all | Expand 10 after
7124 from test support, which does the conversion. 7443 from test support, which does the conversion.
7125 7444
7126 - Issue #5083: New 'gui' resource for regrtest. 7445 - Issue #5083: New 'gui' resource for regrtest.
7127 7446
7128 7447
7129 Docs 7448 Docs
7130 ---- 7449 ----
7131 7450
7132 7451
7133 **(For information about older versions, consult the HISTORY file.)** 7452 **(For information about older versions, consult the HISTORY file.)**
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+