Home | History | Annotate | Download | only in NEWS.d
      1 .. bpo: 21350
      2 .. date: 9326
      3 .. nonce: jnq6gO
      4 .. release date: 2014-05-17
      5 .. section: Core and Builtins
      6 
      7 Fix file.writelines() to accept arbitrary buffer objects, as advertised.
      8 Patch by Brian Kearns.
      9 
     10 ..
     11 
     12 .. bpo: 20437
     13 .. date: 9325
     14 .. nonce: 9Rsiua
     15 .. section: Core and Builtins
     16 
     17 Fixed 43 potential bugs when deleting object references.
     18 
     19 ..
     20 
     21 .. bpo: 21134
     22 .. date: 9324
     23 .. nonce: ZL4SKo
     24 .. section: Core and Builtins
     25 
     26 Fix segfault when str is called on an uninitialized UnicodeEncodeError,
     27 UnicodeDecodeError, or UnicodeTranslateError object.
     28 
     29 ..
     30 
     31 .. bpo: 20494
     32 .. date: 9323
     33 .. nonce: uGIFPX
     34 .. section: Core and Builtins
     35 
     36 Ensure that free()d memory arenas are really released on POSIX systems
     37 supporting anonymous memory mappings.  Patch by Charles-Franois Natali.
     38 
     39 ..
     40 
     41 .. bpo: 17825
     42 .. date: 9322
     43 .. nonce: toRoZf
     44 .. section: Core and Builtins
     45 
     46 Cursor "^" is correctly positioned for SyntaxError and IndentationError.
     47 
     48 ..
     49 
     50 .. bpo: 0
     51 .. date: 9321
     52 .. nonce: nfw3S8
     53 .. section: Core and Builtins
     54 
     55 Raise a better error when non-unicode codecs are used for a file's coding
     56 cookie.
     57 
     58 ..
     59 
     60 .. bpo: 17976
     61 .. date: 9320
     62 .. nonce: w402Bf
     63 .. section: Core and Builtins
     64 
     65 Fixed potential problem with file.write() not detecting IO error by
     66 inspecting the return value of fwrite().  Based on patches by Jaakko Moisio
     67 and Victor Stinner.
     68 
     69 ..
     70 
     71 .. bpo: 14432
     72 .. date: 9319
     73 .. nonce: kZ1mYr
     74 .. section: Core and Builtins
     75 
     76 Generator now clears the borrowed reference to the thread state. Fix a crash
     77 when a generator is created in a C thread that is destroyed while the
     78 generator is still used. The issue was that a generator contains a frame,
     79 and the frame kept a reference to the Python state of the destroyed C
     80 thread. The crash occurs when a trace function is setup.
     81 
     82 ..
     83 
     84 .. bpo: 19932
     85 .. date: 9318
     86 .. nonce: ZU_tXW
     87 .. section: Core and Builtins
     88 
     89 Fix typo in import.h, missing whitespaces in function prototypes.
     90 
     91 ..
     92 
     93 .. bpo: 19638
     94 .. date: 9317
     95 .. nonce: lh5Awt
     96 .. section: Core and Builtins
     97 
     98 Fix possible crash / undefined behaviour from huge (more than 2 billion
     99 characters) input strings in _Py_dg_strtod.
    100 
    101 ..
    102 
    103 .. bpo: 12546
    104 .. date: 9316
    105 .. nonce: kDqF_s
    106 .. section: Core and Builtins
    107 
    108 Allow \x00 to be used as a fill character when using str, int, float, and
    109 complex __format__ methods.
    110 
    111 ..
    112 
    113 .. bpo: 10744
    114 .. date: 9315
    115 .. nonce: kfV0wm
    116 .. section: Library
    117 
    118 Fix PEP 3118 format strings on ctypes objects with a nontrivial shape.
    119 
    120 ..
    121 
    122 .. bpo: 7776
    123 .. date: 9314
    124 .. nonce: DFUgrv
    125 .. section: Library
    126 
    127 Backport Fix ``Host:'' header and reconnection when using
    128 http.client.HTTPConnection.set_tunnel() from Python 3.  Patch by Nikolaus
    129 Rath.
    130 
    131 ..
    132 
    133 .. bpo: 21306
    134 .. date: 9313
    135 .. nonce: 8ABvGX
    136 .. section: Library
    137 
    138 Backport hmac.compare_digest from Python 3. This is part of PEP 466.
    139 
    140 ..
    141 
    142 .. bpo: 21470
    143 .. date: 9312
    144 .. nonce: uH-yCD
    145 .. section: Library
    146 
    147 Do a better job seeding the random number generator by using enough bytes to
    148 span the full state space of the Mersenne Twister.
    149 
    150 ..
    151 
    152 .. bpo: 21469
    153 .. date: 9311
    154 .. nonce: _fFGuq
    155 .. section: Library
    156 
    157 Reduced the risk of false positives in robotparser by checking to make sure
    158 that robots.txt has been read or does not exist prior to returning True in
    159 can_fetch().
    160 
    161 ..
    162 
    163 .. bpo: 21321
    164 .. date: 9310
    165 .. nonce: wUkTON
    166 .. section: Library
    167 
    168 itertools.islice() now releases the reference to the source iterator when
    169 the slice is exhausted.  Patch by Anton Afanasyev.
    170 
    171 ..
    172 
    173 .. bpo: 9291
    174 .. date: 9309
    175 .. nonce: QlHuPo
    176 .. section: Library
    177 
    178 Do not attempt to re-encode mimetype data read from registry in ANSI mode.
    179 Initial patches by Dmitry Jemerov & Vladimir Iofik.
    180 
    181 ..
    182 
    183 .. bpo: 21349
    184 .. date: 9308
    185 .. nonce: G6dnGO
    186 .. section: Library
    187 
    188 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError
    189 where it previously crashed the interpreter. Patch by Brian Kearns
    190 
    191 ..
    192 
    193 .. bpo: 21529
    194 .. date: 9307
    195 .. nonce: 57R_Fc
    196 .. section: Library
    197 
    198 Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
    199 parameter. Bug reported by Guido Vranken. (See also: CVE-2014-4616)
    200 
    201 ..
    202 
    203 .. bpo: 21172
    204 .. date: 9306
    205 .. nonce: dQ7yY7
    206 .. section: Library
    207 
    208 isinstance check relaxed from dict to collections.Mapping.
    209 
    210 ..
    211 
    212 .. bpo: 21191
    213 .. date: 9305
    214 .. nonce: T8gLBH
    215 .. section: Library
    216 
    217 In os.fdopen, never close the file descriptor when an exception happens.
    218 
    219 ..
    220 
    221 .. bpo: 21149
    222 .. date: 9304
    223 .. nonce: cnjwMR
    224 .. section: Library
    225 
    226 Improved thread-safety in logging cleanup during interpreter shutdown.
    227 Thanks to Devin Jeanpierre for the patch.
    228 
    229 ..
    230 
    231 .. bpo: 0
    232 .. date: 9303
    233 .. nonce: WKcVnZ
    234 .. section: Library
    235 
    236 Fix possible overflow bug in strop.expandtabs. You shouldn't be using this
    237 module!
    238 
    239 ..
    240 
    241 .. bpo: 20145
    242 .. date: 9302
    243 .. nonce: JeZoJn
    244 .. section: Library
    245 
    246 `assertRaisesRegex` now raises a TypeError if the second argument is not a
    247 string or compiled regex.
    248 
    249 ..
    250 
    251 .. bpo: 21058
    252 .. date: 9301
    253 .. nonce: SqznP1
    254 .. section: Library
    255 
    256 Fix a leak of file descriptor in tempfile.NamedTemporaryFile(), close the
    257 file descriptor if os.fdopen() fails
    258 
    259 ..
    260 
    261 .. bpo: 20283
    262 .. date: 9300
    263 .. nonce: v0Vs9V
    264 .. section: Library
    265 
    266 RE pattern methods now accept the string keyword parameters as documented.
    267 The pattern and source keyword parameters are left as deprecated aliases.
    268 
    269 ..
    270 
    271 .. bpo: 11599
    272 .. date: 9299
    273 .. nonce: 9QOXf4
    274 .. section: Library
    275 
    276 When an external command (e.g. compiler) fails, distutils now prints out the
    277 whole command line (instead of just the command name) if the environment
    278 variable DISTUTILS_DEBUG is set.
    279 
    280 ..
    281 
    282 .. bpo: 4931
    283 .. date: 9298
    284 .. nonce: uF10hr
    285 .. section: Library
    286 
    287 distutils should not produce unhelpful "error: None" messages anymore.
    288 distutils.util.grok_environment_error is kept but doc-deprecated.
    289 
    290 ..
    291 
    292 .. bpo: 0
    293 .. date: 9297
    294 .. nonce: mdcWGA
    295 .. section: Library
    296 
    297 Improve the random module's default seeding to use 256 bits of entropy from
    298 os.urandom().  This was already done for Python 3, mildly improving security
    299 with a bigger seed space.
    300 
    301 ..
    302 
    303 .. bpo: 15618
    304 .. date: 9296
    305 .. nonce: r5_ACR
    306 .. section: Library
    307 
    308 Make turtle.py compatible with 'from __future__ import unicode_literals'.
    309 Initial patch by Juancarlo Aez.
    310 
    311 ..
    312 
    313 .. bpo: 20501
    314 .. date: 9295
    315 .. nonce: Jwfgph
    316 .. section: Library
    317 
    318 fileinput module no longer reads whole file into memory when using
    319 fileinput.hook_encoded.
    320 
    321 ..
    322 
    323 .. bpo: 6815
    324 .. date: 9294
    325 .. nonce: poU-vm
    326 .. section: Library
    327 
    328 os.path.expandvars() now supports non-ASCII Unicode environment variables
    329 names and values.
    330 
    331 ..
    332 
    333 .. bpo: 20635
    334 .. date: 9293
    335 .. nonce: ZKwOpn
    336 .. section: Library
    337 
    338 Fixed grid_columnconfigure() and grid_rowconfigure() methods of Tkinter
    339 widgets to work in wantobjects=True mode.
    340 
    341 ..
    342 
    343 .. bpo: 17671
    344 .. date: 9292
    345 .. nonce: 8tHRKJ
    346 .. section: Library
    347 
    348 Fixed a crash when use non-initialized io.BufferedRWPair. Based on patch by
    349 Stephen Tu.
    350 
    351 ..
    352 
    353 .. bpo: 8478
    354 .. date: 9291
    355 .. nonce: OS7q1h
    356 .. section: Library
    357 
    358 Untokenizer.compat processes first token from iterator input. Patch based on
    359 lines from Georg Brandl, Eric Snow, and Gareth Rees.
    360 
    361 ..
    362 
    363 .. bpo: 20594
    364 .. date: 9290
    365 .. nonce: BVHxPd
    366 .. section: Library
    367 
    368 Avoid name clash with the libc function posix_close.
    369 
    370 ..
    371 
    372 .. bpo: 19856
    373 .. date: 9289
    374 .. nonce: jFhYW_
    375 .. section: Library
    376 
    377 shutil.move() failed to move a directory to other directory on Windows if
    378 source name ends with os.altsep.
    379 
    380 ..
    381 
    382 .. bpo: 14983
    383 .. date: 9288
    384 .. nonce: H_gs8w
    385 .. section: Library
    386 
    387 email.generator now always adds a line end after each MIME boundary marker,
    388 instead of doing so only when there is an epilogue.  This fixes an RFC
    389 compliance bug and solves an issue with signed MIME parts.
    390 
    391 ..
    392 
    393 .. bpo: 20013
    394 .. date: 9287
    395 .. nonce: erNy8V
    396 .. section: Library
    397 
    398 Some imap servers disconnect if the current mailbox is deleted, and imaplib
    399 did not handle that case gracefully.  Now it handles the 'bye' correctly.
    400 
    401 ..
    402 
    403 .. bpo: 20426
    404 .. date: 9286
    405 .. nonce: f0ozAP
    406 .. section: Library
    407 
    408 When passing the re.DEBUG flag, re.compile() displays the debug output every
    409 time it is called, regardless of the compilation cache.
    410 
    411 ..
    412 
    413 .. bpo: 20368
    414 .. date: 9285
    415 .. nonce: BlXEFo
    416 .. section: Library
    417 
    418 The null character now correctly passed from Tcl to Python (in unicode
    419 strings only).  Improved error handling in variables-related commands.
    420 
    421 ..
    422 
    423 .. bpo: 20435
    424 .. date: 9284
    425 .. nonce: _UNhlH
    426 .. section: Library
    427 
    428 Fix _pyio.StringIO.getvalue() to take into account newline translation
    429 settings.
    430 
    431 ..
    432 
    433 .. bpo: 20288
    434 .. date: 9283
    435 .. nonce: 6zUZe3
    436 .. section: Library
    437 
    438 fix handling of invalid numeric charrefs in HTMLParser.
    439 
    440 ..
    441 
    442 .. bpo: 19456
    443 .. date: 9282
    444 .. nonce: 6HhsFx
    445 .. section: Library
    446 
    447 ntpath.join() now joins relative paths correctly when a drive is present.
    448 
    449 ..
    450 
    451 .. bpo: 8260
    452 .. date: 9281
    453 .. nonce: nf7gg9
    454 .. section: Library
    455 
    456 The read(), readline() and readlines() methods of codecs.StreamReader
    457 returned incomplete data when were called after readline() or read(size).
    458 Based on patch by Amaury Forgeot d'Arc.
    459 
    460 ..
    461 
    462 .. bpo: 20374
    463 .. date: 9280
    464 .. nonce: EWofHb
    465 .. section: Library
    466 
    467 Fix build with GNU readline >= 6.3.
    468 
    469 ..
    470 
    471 .. bpo: 14548
    472 .. date: 9279
    473 .. nonce: ClAkmE
    474 .. section: Library
    475 
    476 Make multiprocessing finalizers check pid before running to cope with
    477 possibility of gc running just after fork. (Backport from 3.x.)
    478 
    479 ..
    480 
    481 .. bpo: 20262
    482 .. date: 9278
    483 .. nonce: co0t1R
    484 .. section: Library
    485 
    486 Warnings are raised now when duplicate names are added in the ZIP file or
    487 too long ZIP file comment is truncated.
    488 
    489 ..
    490 
    491 .. bpo: 20270
    492 .. date: 9277
    493 .. nonce: hDccjr
    494 .. section: Library
    495 
    496 urllib and urlparse now support empty ports.
    497 
    498 ..
    499 
    500 .. bpo: 20243
    501 .. date: 9276
    502 .. nonce: nApKCK
    503 .. section: Library
    504 
    505 TarFile no longer raise ReadError when opened in write mode.
    506 
    507 ..
    508 
    509 .. bpo: 20245
    510 .. date: 9275
    511 .. nonce: 93kf_h
    512 .. section: Library
    513 
    514 The open functions in the tarfile module now correctly handle empty mode.
    515 
    516 ..
    517 
    518 .. bpo: 20086
    519 .. date: 9274
    520 .. nonce: RV3SGi
    521 .. section: Library
    522 
    523 Restored the use of locale-independent mapping instead of locale-dependent
    524 str.lower() in locale.normalize().
    525 
    526 ..
    527 
    528 .. bpo: 20246
    529 .. date: 9273
    530 .. nonce: CC8uTq
    531 .. section: Library
    532 
    533 Fix buffer overflow in socket.recvfrom_into.
    534 
    535 ..
    536 
    537 .. bpo: 19082
    538 .. date: 9272
    539 .. nonce: Qv6W7t
    540 .. section: Library
    541 
    542 Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and
    543 documentation.
    544 
    545 ..
    546 
    547 .. bpo: 13107
    548 .. date: 9271
    549 .. nonce: YgEEME
    550 .. section: Library
    551 
    552 argparse and optparse no longer raises an exception when output a help on
    553 environment with too small COLUMNS.  Based on patch by Elazar Gershuni.
    554 
    555 ..
    556 
    557 .. bpo: 20207
    558 .. date: 9270
    559 .. nonce: ziIyF1
    560 .. section: Library
    561 
    562 Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
    563 
    564 ..
    565 
    566 .. bpo: 20072
    567 .. date: 9269
    568 .. nonce: FzVG15
    569 .. section: Library
    570 
    571 Fixed multiple errors in tkinter with wantobjects is False.
    572 
    573 ..
    574 
    575 .. bpo: 1065986
    576 .. date: 9268
    577 .. nonce: pSaw56
    578 .. section: Library
    579 
    580 pydoc can now handle unicode strings.
    581 
    582 ..
    583 
    584 .. bpo: 16039
    585 .. date: 9267
    586 .. nonce: Cy3_BL
    587 .. section: Library
    588 
    589 CVE-2013-1752: Change use of readline in imaplib module to limit line
    590 length.  Patch by Emil Lind.
    591 
    592 ..
    593 
    594 .. bpo: 19422
    595 .. date: 9266
    596 .. nonce: 1dRaPS
    597 .. section: Library
    598 
    599 Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than
    600 silently let them emit clear text data.
    601 
    602 ..
    603 
    604 .. bpo: 20027
    605 .. date: 9265
    606 .. nonce: dtB7OG
    607 .. section: Library
    608 
    609 Fixed locale aliases for devanagari locales.
    610 
    611 ..
    612 
    613 .. bpo: 20067
    614 .. date: 9264
    615 .. nonce: MlnlYd
    616 .. section: Library
    617 
    618 Tkinter variables now work when wantobjects is false.
    619 
    620 ..
    621 
    622 .. bpo: 19020
    623 .. date: 9263
    624 .. nonce: _16K__
    625 .. section: Library
    626 
    627 Tkinter now uses splitlist() instead of split() in configure methods.
    628 
    629 ..
    630 
    631 .. bpo: 12226
    632 .. date: 9262
    633 .. nonce: -vXCBM
    634 .. section: Library
    635 
    636 HTTPS is now used by default when connecting to PyPI.
    637 
    638 ..
    639 
    640 .. bpo: 20048
    641 .. date: 9261
    642 .. nonce: YvvUoW
    643 .. section: Library
    644 
    645 Fixed ZipExtFile.peek() when it is called on the boundary of the uncompress
    646 buffer and read() goes through more than one readbuffer.
    647 
    648 ..
    649 
    650 .. bpo: 20034
    651 .. date: 9260
    652 .. nonce: GlYpNX
    653 .. section: Library
    654 
    655 Updated alias mapping to most recent locale.alias file from X.org
    656 distribution using makelocalealias.py.
    657 
    658 ..
    659 
    660 .. bpo: 5815
    661 .. date: 9259
    662 .. nonce: FxSb0P
    663 .. section: Library
    664 
    665 Fixed support for locales with modifiers.  Fixed support for locale
    666 encodings with hyphens.
    667 
    668 ..
    669 
    670 .. bpo: 20026
    671 .. date: 9258
    672 .. nonce: KO1jB6
    673 .. section: Library
    674 
    675 Fix the sqlite module to handle correctly invalid isolation level (wrong
    676 type).
    677 
    678 ..
    679 
    680 .. bpo: 18829
    681 .. date: 9257
    682 .. nonce: QPwJFn
    683 .. section: Library
    684 
    685 csv.Dialect() now checks type for delimiter, escapechar and quotechar
    686 fields.  Original patch by Vajrasky Kok.
    687 
    688 ..
    689 
    690 .. bpo: 19855
    691 .. date: 9256
    692 .. nonce: TtBUO6
    693 .. section: Library
    694 
    695 uuid.getnode() on Unix now looks on the PATH for the executables used to
    696 find the mac address, with /sbin and /usr/sbin as fallbacks.
    697 
    698 ..
    699 
    700 .. bpo: 20007
    701 .. date: 9255
    702 .. nonce: IaSnPo
    703 .. section: Library
    704 
    705 HTTPResponse.read(0) no more prematurely closes connection. Original patch
    706 by Simon Sapin.
    707 
    708 ..
    709 
    710 .. bpo: 19912
    711 .. date: 9254
    712 .. nonce: TviIPi
    713 .. section: Library
    714 
    715 Fixed numerous bugs in ntpath.splitunc().
    716 
    717 ..
    718 
    719 .. bpo: 19623
    720 .. date: 9253
    721 .. nonce: cPL8XH
    722 .. section: Library
    723 
    724 Fixed writing to unseekable files in the aifc module. Fixed writing 'ulaw'
    725 (lower case) compressed AIFC files.
    726 
    727 ..
    728 
    729 .. bpo: 17919
    730 .. date: 9252
    731 .. nonce: H5iGXv
    732 .. section: Library
    733 
    734 select.poll.register() again works with poll.POLLNVAL on AIX. Fixed integer
    735 overflow in the eventmask parameter.
    736 
    737 ..
    738 
    739 .. bpo: 17200
    740 .. date: 9251
    741 .. nonce: y1euZh
    742 .. section: Library
    743 
    744 telnetlib's read_until and expect timeout was broken by the fix to Issue
    745 #14635 in Python 2.7.4 to be interpreted as milliseconds instead of seconds
    746 when the platform supports select.poll (ie: everywhere). It is now treated
    747 as seconds once again.
    748 
    749 ..
    750 
    751 .. bpo: 19099
    752 .. date: 9250
    753 .. nonce: U4CHJk
    754 .. section: Library
    755 
    756 The struct module now supports Unicode format strings.
    757 
    758 ..
    759 
    760 .. bpo: 19878
    761 .. date: 9249
    762 .. nonce: 7oVPCy
    763 .. section: Library
    764 
    765 Fix segfault in bz2 module after calling __init__ twice with non-existent
    766 filename. Initial patch by Vajrasky Kok.
    767 
    768 ..
    769 
    770 .. bpo: 16373
    771 .. date: 9248
    772 .. nonce: 9drXFZ
    773 .. section: Library
    774 
    775 Prevent infinite recursion for ABC Set class comparisons.
    776 
    777 ..
    778 
    779 .. bpo: 19138
    780 .. date: 9247
    781 .. nonce: xwKrX_
    782 .. section: Library
    783 
    784 doctest's IGNORE_EXCEPTION_DETAIL now allows a match when no exception
    785 detail exists (no colon following the exception's name, or a colon does
    786 follow but no text follows the colon).
    787 
    788 ..
    789 
    790 .. bpo: 16231
    791 .. date: 9246
    792 .. nonce: BospTf
    793 .. section: Library
    794 
    795 Fixed pickle.Pickler to only fallback to its default pickling behaviour when
    796 Pickler.persistent_id returns None, but not for any other false values.
    797 This allows false values other than None to be used as persistent IDs.  This
    798 behaviour is consistent with cPickle.
    799 
    800 ..
    801 
    802 .. bpo: 11508
    803 .. date: 9245
    804 .. nonce: fx7Abs
    805 .. section: Library
    806 
    807 Fixed uuid.getnode() and uuid.uuid1() on environment with virtual interface.
    808 Original patch by Kent Frazier.
    809 
    810 ..
    811 
    812 .. bpo: 11489
    813 .. date: 9244
    814 .. nonce: 3ZQHi8
    815 .. section: Library
    816 
    817 JSON decoder now accepts lone surrogates.
    818 
    819 ..
    820 
    821 .. bpo: 0
    822 .. date: 9243
    823 .. nonce: mrzJif
    824 .. section: Library
    825 
    826 Fix test.test_support.bind_port() to not cause an error when Python was
    827 compiled on a system with SO_REUSEPORT defined in the headers but run on a
    828 system with an OS kernel that does not support that new socket option.
    829 
    830 ..
    831 
    832 .. bpo: 19633
    833 .. date: 9242
    834 .. nonce: XJNQit
    835 .. section: Library
    836 
    837 Fixed writing not compressed 16- and 32-bit wave files on big-endian
    838 platforms.
    839 
    840 ..
    841 
    842 .. bpo: 19449
    843 .. date: 9241
    844 .. nonce: F2TbC_
    845 .. section: Library
    846 
    847 in csv's writerow, handle non-string keys when generating the error message
    848 that certain keys are not in the 'fieldnames' list.
    849 
    850 ..
    851 
    852 .. bpo: 12853
    853 .. date: 9240
    854 .. nonce: Hf7EYH
    855 .. section: Library
    856 
    857 Fix NameError in distutils.command.upload.
    858 
    859 ..
    860 
    861 .. bpo: 19523
    862 .. date: 9239
    863 .. nonce: tNiY9i
    864 .. section: Library
    865 
    866 Closed FileHandler leak which occurred when delay was set.
    867 
    868 ..
    869 
    870 .. bpo: 1575020
    871 .. date: 9238
    872 .. nonce: skWyvl
    873 .. section: Library
    874 
    875 Fixed support of 24-bit wave files on big-endian platforms.
    876 
    877 ..
    878 
    879 .. bpo: 19480
    880 .. date: 9237
    881 .. nonce: MY3dmW
    882 .. section: Library
    883 
    884 HTMLParser now accepts all valid start-tag names as defined by the HTML5
    885 standard.
    886 
    887 ..
    888 
    889 .. bpo: 17827
    890 .. date: 9236
    891 .. nonce: HJGFDL
    892 .. section: Library
    893 
    894 Add the missing documentation for ``codecs.encode`` and ``codecs.decode``.
    895 
    896 ..
    897 
    898 .. bpo: 6157
    899 .. date: 9235
    900 .. nonce: ZW67ae
    901 .. section: Library
    902 
    903 Fixed Tkinter.Text.debug().  Original patch by Guilherme Polo.
    904 
    905 ..
    906 
    907 .. bpo: 6160
    908 .. date: 9234
    909 .. nonce: Mr5UuA
    910 .. section: Library
    911 
    912 The bbox() method of tkinter.Spinbox now returns a tuple of integers instead
    913 of a string.  Based on patch by Guilherme Polo.
    914 
    915 ..
    916 
    917 .. bpo: 19286
    918 .. date: 9233
    919 .. nonce: TUZetF
    920 .. section: Library
    921 
    922 Directories in ``package_data`` are no longer added to the filelist,
    923 preventing failure outlined in the ticket.
    924 
    925 ..
    926 
    927 .. bpo: 6676
    928 .. date: 9232
    929 .. nonce: CJu5On
    930 .. section: Library
    931 
    932 Ensure a meaningful exception is raised when attempting to parse more than
    933 one XML document per pyexpat xmlparser instance. (Original patches by
    934 Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David
    935 Gutteridge)
    936 
    937 ..
    938 
    939 .. bpo: 21311
    940 .. date: 9231
    941 .. nonce: JsDF8H
    942 .. section: Library
    943 
    944 Avoid exception in _osx_support with non-standard compiler configurations.
    945 Patch by John Szakmeister.
    946 
    947 ..
    948 
    949 .. bpo: 3561
    950 .. date: 9230
    951 .. nonce: DuNr6C
    952 .. section: Tools/Demos
    953 
    954 The Windows installer now has an option, off by default, for placing the
    955 Python installation into the system "Path" environment variable. This was
    956 backported from Python 3.3.
    957 
    958 ..
    959 
    960 .. bpo: 0
    961 .. date: 9229
    962 .. nonce: _-ge-g
    963 .. section: Tools/Demos
    964 
    965 Add support for ``yield from`` to 2to3.
    966 
    967 ..
    968 
    969 .. bpo: 0
    970 .. date: 9228
    971 .. nonce: dpFbyZ
    972 .. section: Tools/Demos
    973 
    974 Add support for the PEP 465 matrix multiplication operator to 2to3.
    975 
    976 ..
    977 
    978 .. bpo: 19936
    979 .. date: 9227
    980 .. nonce: moet1K
    981 .. section: Tools/Demos
    982 
    983 Added executable bits or shebang lines to Python scripts which requires
    984 them.  Disable executable bits and shebang lines in test and benchmark files
    985 in order to prevent using a random system python, and in source files of
    986 modules which don't provide command line interface.
    987 
    988 ..
    989 
    990 .. bpo: 18104
    991 .. date: 9226
    992 .. nonce: 8Fj9Pf
    993 .. section: IDLE
    994 
    995 Add idlelib/idle_test/htest.py with a few sample tests to begin
    996 consolidating and improving human-validated tests of Idle. Change other
    997 files as needed to work with htest.  Running the module as __main__ runs all
    998 tests.
    999 
   1000 ..
   1001 
   1002 .. bpo: 21139
   1003 .. date: 9225
   1004 .. nonce: kqetng
   1005 .. section: IDLE
   1006 
   1007 Change default paragraph width to 72, the PEP 8 recommendation.
   1008 
   1009 ..
   1010 
   1011 .. bpo: 21284
   1012 .. date: 9224
   1013 .. nonce: KKJfmv
   1014 .. section: IDLE
   1015 
   1016 Paragraph reformat test passes after user changes reformat width.
   1017 
   1018 ..
   1019 
   1020 .. bpo: 20406
   1021 .. date: 9223
   1022 .. nonce: AgBe_5
   1023 .. section: IDLE
   1024 
   1025 Use Python application icons for Idle window title bars. Patch mostly by
   1026 Serhiy Storchaka.
   1027 
   1028 ..
   1029 
   1030 .. bpo: 21029
   1031 .. date: 9222
   1032 .. nonce: JnlAAt
   1033 .. section: IDLE
   1034 
   1035 Occurrences of "print" are now consistently colored as being a keyword (the
   1036 colorizer doesn't know if print functions are enabled in the source).
   1037 
   1038 ..
   1039 
   1040 .. bpo: 17721
   1041 .. date: 9221
   1042 .. nonce: 8Jh8C1
   1043 .. section: IDLE
   1044 
   1045 Remove non-functional configuration dialog help button until we make it
   1046 actually gives some help when clicked. Patch by Guilherme Simes.
   1047 
   1048 ..
   1049 
   1050 .. bpo: 17390
   1051 .. date: 9220
   1052 .. nonce: 9m6ZhV
   1053 .. section: IDLE
   1054 
   1055 Add Python version to Idle editor window title bar. Original patches by
   1056 Edmond Burnett and Kent Johnson.
   1057 
   1058 ..
   1059 
   1060 .. bpo: 20058
   1061 .. date: 9219
   1062 .. nonce: KnDlhH
   1063 .. section: IDLE
   1064 
   1065 sys.stdin.readline() in IDLE now always returns only one line.
   1066 
   1067 ..
   1068 
   1069 .. bpo: 19481
   1070 .. date: 9218
   1071 .. nonce: b5EHmn
   1072 .. section: IDLE
   1073 
   1074 print() of unicode, str or bytearray subclass instance in IDLE no more
   1075 hangs.
   1076 
   1077 ..
   1078 
   1079 .. bpo: 18270
   1080 .. date: 9217
   1081 .. nonce: lu6dRW
   1082 .. section: IDLE
   1083 
   1084 Prevent possible IDLE AttributeError on OS X when no initial shell window is
   1085 present.
   1086 
   1087 ..
   1088 
   1089 .. bpo: 17654
   1090 .. date: 9216
   1091 .. nonce: NbzhNS
   1092 .. section: IDLE
   1093 
   1094 Ensure IDLE menus are customized properly on OS X for non-framework builds
   1095 and for all variants of Tk.
   1096 
   1097 ..
   1098 
   1099 .. bpo: 17752
   1100 .. date: 9215
   1101 .. nonce: P8iG44
   1102 .. section: Tests
   1103 
   1104 Fix distutils tests when run from the installed location.
   1105 
   1106 ..
   1107 
   1108 .. bpo: 18604
   1109 .. date: 9214
   1110 .. nonce: Q00Xrj
   1111 .. section: Tests
   1112 
   1113 Consolidated checks for GUI availability.  All platforms now at least check
   1114 whether Tk can be instantiated when the GUI resource is requested.
   1115 
   1116 ..
   1117 
   1118 .. bpo: 20946
   1119 .. date: 9213
   1120 .. nonce: iI4MlK
   1121 .. section: Tests
   1122 
   1123 Correct alignment assumptions of some ctypes tests.
   1124 
   1125 ..
   1126 
   1127 .. bpo: 20743
   1128 .. date: 9212
   1129 .. nonce: hxZQUf
   1130 .. section: Tests
   1131 
   1132 Fix a reference leak in test_tcl.
   1133 
   1134 ..
   1135 
   1136 .. bpo: 20510
   1137 .. date: 9211
   1138 .. nonce: X9p_K2
   1139 .. section: Tests
   1140 
   1141 Rewrote test_exit in test_sys to match existing comments, use modern
   1142 unittest features, and use helpers from test.script_helper instead of using
   1143 subprocess directly.  Initial patch by Gareth Rees.
   1144 
   1145 ..
   1146 
   1147 .. bpo: 20532
   1148 .. date: 9210
   1149 .. nonce: qsOt4d
   1150 .. section: Tests
   1151 
   1152 Tests which use _testcapi now are marked as CPython only.
   1153 
   1154 ..
   1155 
   1156 .. bpo: 19920
   1157 .. date: 9209
   1158 .. nonce: suOIC7
   1159 .. section: Tests
   1160 
   1161 Added tests for TarFile.list().  Based on patch by Vajrasky Kok.
   1162 
   1163 ..
   1164 
   1165 .. bpo: 19990
   1166 .. date: 9208
   1167 .. nonce: Lp1MVj
   1168 .. section: Tests
   1169 
   1170 Added tests for the imghdr module.  Based on patch by Claudiu Popa.
   1171 
   1172 ..
   1173 
   1174 .. bpo: 19804
   1175 .. date: 9207
   1176 .. nonce: xIHIl7
   1177 .. section: Tests
   1178 
   1179 The test_find_mac test in test_uuid is now skipped if the ifconfig
   1180 executable is not available.
   1181 
   1182 ..
   1183 
   1184 .. bpo: 19886
   1185 .. date: 9206
   1186 .. nonce: nqDFRC
   1187 .. section: Tests
   1188 
   1189 Use better estimated memory requirements for bigmem tests.
   1190 
   1191 ..
   1192 
   1193 .. bpo: 0
   1194 .. date: 9205
   1195 .. nonce: 6LQ8qX
   1196 .. section: Tests
   1197 
   1198 Backported tests for Tkinter variables.
   1199 
   1200 ..
   1201 
   1202 .. bpo: 19320
   1203 .. date: 9204
   1204 .. nonce: 9x_cw5
   1205 .. section: Tests
   1206 
   1207 test_tcl no longer fails when wantobjects is false.
   1208 
   1209 ..
   1210 
   1211 .. bpo: 19683
   1212 .. date: 9203
   1213 .. nonce: iD76Cq
   1214 .. section: Tests
   1215 
   1216 Removed empty tests from test_minidom.  Initial patch by Ajitesh Gupta.
   1217 
   1218 ..
   1219 
   1220 .. bpo: 19928
   1221 .. date: 9202
   1222 .. nonce: dwOQ95
   1223 .. section: Tests
   1224 
   1225 Implemented a test for repr() of cell objects.
   1226 
   1227 ..
   1228 
   1229 .. bpo: 19595
   1230 .. date: 9201
   1231 .. nonce: q5oNE_
   1232 .. section: Tests
   1233 
   1234 Re-enabled a long-disabled test in test_winsound. (See also: bpo-19987)
   1235 
   1236 ..
   1237 
   1238 .. bpo: 19588
   1239 .. date: 9200
   1240 .. nonce: EXKxpC
   1241 .. section: Tests
   1242 
   1243 Fixed tests in test_random that were silently skipped most of the time.
   1244 Patch by Julian Gindi.
   1245 
   1246 ..
   1247 
   1248 .. bpo: 17883
   1249 .. date: 9199
   1250 .. nonce: rQfRpP
   1251 .. section: Tests
   1252 
   1253 Tweak test_tcl testLoadWithUNC to skip the test in the event of a permission
   1254 error on Windows and to properly report other skip conditions.
   1255 
   1256 ..
   1257 
   1258 .. bpo: 17883
   1259 .. date: 9198
   1260 .. nonce: 12qN1i
   1261 .. section: Tests
   1262 
   1263 Backported _is_gui_available() in test.test_support to avoid hanging Windows
   1264 buildbots on test_ttk_guionly.
   1265 
   1266 ..
   1267 
   1268 .. bpo: 18702
   1269 .. date: 9197
   1270 .. nonce: a2jP-V
   1271 .. section: Tests
   1272 
   1273 All skipped tests now reported as skipped. (See also: bpo-19572)
   1274 
   1275 ..
   1276 
   1277 .. bpo: 19085
   1278 .. date: 9196
   1279 .. nonce: Gcl9XX
   1280 .. section: Tests
   1281 
   1282 Added basic tests for all tkinter widget options.
   1283 
   1284 ..
   1285 
   1286 .. bpo: 20605
   1287 .. date: 9195
   1288 .. nonce: uef5pT
   1289 .. section: Tests
   1290 
   1291 Make test_socket getaddrinfo OS X segfault test more robust.
   1292 
   1293 ..
   1294 
   1295 .. bpo: 20939
   1296 .. date: 9194
   1297 .. nonce: x3KQ35
   1298 .. section: Tests
   1299 
   1300 Avoid various network test failures due to new redirect of
   1301 http://www.python.org/ to https://www.python.org: use http://www.example.com
   1302 instead.
   1303 
   1304 ..
   1305 
   1306 .. bpo: 21093
   1307 .. date: 9193
   1308 .. nonce: CcpRim
   1309 .. section: Tests
   1310 
   1311 Prevent failures of ctypes test_macholib on OS X if a copy of libz exists in
   1312 $HOME/lib or /usr/local/lib.
   1313 
   1314 ..
   1315 
   1316 .. bpo: 21285
   1317 .. date: 9192
   1318 .. nonce: cU9p2E
   1319 .. section: Build
   1320 
   1321 Refactor and fix curses configure check to always search in a ncursesw
   1322 directory.
   1323 
   1324 ..
   1325 
   1326 .. bpo: 20255
   1327 .. date: 9191
   1328 .. nonce: P9HfTR
   1329 .. section: Documentation
   1330 
   1331 Update the about and bugs pages.
   1332 
   1333 ..
   1334 
   1335 .. bpo: 18840
   1336 .. date: 9190
   1337 .. nonce: _2UItV
   1338 .. section: Documentation
   1339 
   1340 Introduce the json module in the tutorial, and de-emphasize the pickle
   1341 module.
   1342 
   1343 ..
   1344 
   1345 .. bpo: 19795
   1346 .. date: 9189
   1347 .. nonce: z5sbe1
   1348 .. section: Documentation
   1349 
   1350 Improved markup of True/False constants.
   1351 
   1352 ..
   1353 
   1354 .. bpo: 21303
   1355 .. date: 9188
   1356 .. nonce: AHY5As
   1357 .. section: Windows
   1358 
   1359 Updated the version of Tcl/Tk included in the installer from 8.5.2 to
   1360 8.5.15. (See also: bpo-20565)
   1361 
   1362 ..
   1363 
   1364 .. bpo: 0
   1365 .. date: 9187
   1366 .. nonce: FhpkVS
   1367 .. section: macOS
   1368 
   1369 As of 2.7.8, the 32-bit-only installer will support OS X 10.5 and later
   1370 systems as is currently done for Python 3.x installers. For 2.7.7 only, we
   1371 will provide three installers: the legacy deprecated 10.3+ 32-bit-only
   1372 format; the newer 10.5+ 32-bit-only format; and the unchanged 10.6+
   1373 64-/32-bit format. Although binary installers will no longer be available
   1374 from python.org as of 2.7.8, it will still be possible to build from source
   1375 on 10.3.9 and 10.4 systems if necessary. See Mac/BuildScript/README.txt for
   1376 more information.
   1377