Larry Hastings
cfac654165
Post-release changes for 3.5.0a2.
2015-03-09 02:39:47 -07:00
Antoine Pitrou
5bd7bf5bab
Issue #22980 : Under Linux, C extensions now include bitness in the file name,
...
to make it easy to test 32-bit and 64-bit builds in the same working tree.
2015-03-08 20:43:10 +01:00
Victor Stinner
6036e4431d
Issue #22524 : New os.scandir() function, part of the PEP 471: "os.scandir()
...
function -- a better and faster directory iterator". Patch written by Ben
Hoyt.
2015-03-08 01:58:04 +01:00
Serhiy Storchaka
88f64f392c
Issue #23103 : Reduced the memory consumption of IPv4Address and IPv6Address.
2015-03-07 20:08:34 +02:00
Serhiy Storchaka
c0a23e6320
Issue #21793 : BaseHTTPRequestHandler again logs response code as numeric,
...
not as stringified enum. Patch by Demian Brecht.
2015-03-07 11:51:37 +02:00
Victor Stinner
4a7cc88472
Issue #23571 : PyObject_Call(), PyCFunction_Call() and call_function() now
...
raise a SystemError if a function returns a result and raises an exception.
The SystemError is chained to the previous exception.
Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable.
Remove some checks which became useless (duplicate checks).
Change reviewed by Serhiy Storchaka.
2015-03-06 23:35:27 +01:00
Ned Deily
4a13cb94d3
Issue #23593 : fix Misc/NEWS entries
2015-03-05 17:45:03 -08:00
Ned Deily
b5a23223f0
Issue #23593 : fix Misc/NEWS entries
2015-03-05 17:44:10 -08:00
Ned Deily
797d49682f
Issue #23594 : merge 3.4
2015-03-05 17:37:11 -08:00
Ned Deily
ac677f3fed
Issue #23594 : Update OS X 10.5 installer build to use OpenSSL 1.0.2.
2015-03-05 17:34:24 -08:00
Robert Collins
f0c819acd0
Issue #22936 : Allow showing local variables in unittest errors.
2015-03-06 13:46:35 +13:00
Robert Collins
d7c7e0ef69
Issue #22936 : Make it possible to show local variables in tracebacks.
2015-03-05 20:28:52 +13:00
Benjamin Peterson
b64ae7bf2d
merge 3.4 ( #23476 )
2015-03-04 22:11:48 -05:00
Benjamin Peterson
fdb1971587
enable X509_V_FLAG_TRUSTED_FIRST when possible ( closes #23476 )
2015-03-04 22:11:12 -05:00
Robert Collins
6bc2c1e7eb
Issue #17911 : traceback module overhaul
...
Provide a way to seed the linecache for a PEP-302 module without actually
loading the code.
Provide a new object API for traceback, including the ability to not lookup
lines at all until the traceback is actually rendered, without any trace of the
original objects being kept alive.
2015-03-05 12:07:57 +13:00
Antoine Pitrou
0bfd0a4048
Issue #23576 : Avoid stalling in SSL reads when EOF has been reached in the SSL layer but the underlying connection hasn't been closed.
2015-03-04 20:54:57 +01:00
Antoine Pitrou
f7f3b0a14a
Issue #23576 : Avoid stalling in SSL reads when EOF has been reached in the SSL layer but the underlying connection hasn't been closed.
2015-03-04 20:51:55 +01:00
Serhiy Storchaka
35e5b72740
Issue #23504 : Added an __all__ to the types module.
2015-03-04 09:44:24 +02:00
Serhiy Storchaka
7beb4f96dc
Issue #23504 : Added an __all__ to the types module.
2015-03-04 09:43:27 +02:00
Serhiy Storchaka
44eceb6e2a
Issue #23563 : Optimized utility functions in urllib.parse.
2015-03-03 20:21:35 +02:00
Ethan Furman
738f805074
issue19075: add visual sorting algorithms to turtledemo; original code from Jason Yeo
2015-03-02 12:29:58 -08:00
Benjamin Peterson
83d8fc265a
merge 3.4 ( #23367 )
2015-03-02 11:18:56 -05:00
Benjamin Peterson
5061e67f0f
merge 3.3 ( #23367 )
2015-03-02 11:18:40 -05:00
Benjamin Peterson
b779bfba45
fix possible overflow bugs in unicodedata ( closes #23367 )
2015-03-02 11:17:05 -05:00
Alexander Belopolsky
e49af34151
Issue #7830 : Flatten nested functools.partial.
2015-03-01 15:08:17 -05:00
Serhiy Storchaka
490055a167
Issue #20204 : Deprecation warning is now raised for builtin type without the
...
__module__ attribute.
2015-03-01 10:03:02 +02:00
Serhiy Storchaka
50adb9fc32
Issue #20204 : Added the __module__ attribute to _tkinter classes.
2015-03-01 09:07:10 +02:00
Serhiy Storchaka
efdc16f978
Issue #20204 : Added the __module__ attribute to _tkinter classes.
2015-03-01 09:06:29 +02:00
Serhiy Storchaka
1c205518a3
Issue #19980 : Improved help() for non-recognized strings. help('') now
...
shows the help on str. help('help') now shows the help on help().
Original patch by Mark Lawrence.
2015-03-01 00:42:54 +02:00
Alexander Belopolsky
184291aeb7
Fixes #23521 : Corrected pure python implementation of timedelta division.
...
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
2015-02-28 10:44:47 -05:00
Alexander Belopolsky
24d3deefcf
Fixes #23521 : Corrected pure python implementation of timedelta division.
...
* Eliminated OverflowError from timedelta * float for some floats;
* Corrected rounding in timedlta true division.
2015-02-28 10:41:57 -05:00
Serhiy Storchaka
86ba765705
Issue #21619 : Popen objects no longer leave a zombie after exit in the with
...
statement if the pipe was broken. Patch by Martin Panter.
2015-02-28 12:45:00 +02:00
Serhiy Storchaka
ab900c21fc
Issue #21619 : Popen objects no longer leave a zombie after exit in the with
...
statement if the pipe was broken. Patch by Martin Panter.
2015-02-28 12:43:08 +02:00
Larry Hastings
2f710b6008
Merge from 3.4.
2015-02-27 09:21:06 -08:00
Larry Hastings
c332f8a492
Fix minor errors in Misc/NEWS. (Thanks for the report, Florian Bruhin!)
2015-02-27 09:14:32 -08:00
Steve Dower
76998fef2c
Issue #23465 : Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore)
2015-02-26 14:25:33 -08:00
Larry Hastings
8c3ec536e9
Merge 3.4.3 release engineering changes back into 3.4.
2015-02-26 05:58:48 -08:00
Larry Hastings
e287746401
Post-release changes for 3.4.3.
2015-02-26 05:56:32 -08:00
Antoine Pitrou
e71258a0e6
Issue #15955 : Add an option to limit the output size in bz2.decompress().
...
Patch by Nikolaus Rath.
2015-02-26 13:08:07 +01:00
Larry Hastings
fc8eda5ad8
Release bump for 3.4.3 final.
2015-02-22 23:55:39 -08:00
Serhiy Storchaka
4f38e483c2
Issue #6639 : Module-level turtle functions no longer raise TclError after
...
closing the window.
2015-02-22 17:26:35 +02:00
Serhiy Storchaka
80a1803193
Issue #6639 : Module-level turtle functions no longer raise TclError after
...
closing the window.
2015-02-22 17:25:33 +02:00
Serhiy Storchaka
a3369a524c
Issues #814253 , #9179 : Warnings now are raised when group references and
...
conditional group references are used in lookbehind assertions in regular
expressions.
2015-02-21 12:08:52 +02:00
Serhiy Storchaka
4eea62fd2e
Issues #814253 , #9179 : Group references and conditional group references now
...
work in lookbehind assertions in regular expressions.
2015-02-21 10:07:35 +02:00
Serhiy Storchaka
df80706f14
Issue #23215 : Multibyte codecs with custom error handlers that ignores errors
...
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
2015-02-21 01:21:08 +02:00
Serhiy Storchaka
a1543cdcd6
Issue #23215 : Multibyte codecs with custom error handlers that ignores errors
...
consumed too much memory and raised SystemError or MemoryError.
Original patch by Aleksi Torhamo.
2015-02-21 01:19:58 +02:00
Serhiy Storchaka
254dd59068
Issue #5700 : io.FileIO() called flush() after closing the file.
...
flush() was not called in close() if closefd=False.
2015-02-21 00:35:53 +02:00
Serhiy Storchaka
a3712a9a6c
Issue #5700 : io.FileIO() called flush() after closing the file.
...
flush() was not called in close() if closefd=False.
2015-02-21 00:35:09 +02:00
Serhiy Storchaka
7065f376e0
Issue #23374 : Fixed pydoc failure with non-ASCII files when stdout encoding
...
differs from file system encoding (e.g. on Mac OS).
2015-02-20 23:47:09 +02:00
Serhiy Storchaka
5e3d7a401d
Issue #23374 : Fixed pydoc failure with non-ASCII files when stdout encoding
...
differs from file system encoding (e.g. on Mac OS).
2015-02-20 23:46:06 +02:00
Benjamin Peterson
869311dd97
merge 3.4 ( #23481 )
2015-02-19 17:58:19 -05:00
Benjamin Peterson
500af332f4
remove rc4 from the default client ciphers ( closes #23481 )
2015-02-19 17:57:08 -05:00
Benjamin Peterson
77c041ba64
merge 3.4 ( #21548 )
2015-02-16 19:45:42 -05:00
Benjamin Peterson
54237f9fea
fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings ( #21548 )
...
Patch by Yuyang Guo and Berker Peksag.
2015-02-16 19:45:01 -05:00
Serhiy Storchaka
23edd49e5b
Issue #22885 : Fixed arbitrary code execution vulnerability in the dbm.dumb
...
module. Original patch by Claudiu Popa.
2015-02-16 00:32:41 +02:00
Serhiy Storchaka
74eb8b2d1a
Issue #22885 : Fixed arbitrary code execution vulnerability in the dbm.dumb
...
module. Original patch by Claudiu Popa.
2015-02-16 00:30:43 +02:00
Antoine Pitrou
c481bfb3f6
Issue #23239 : ssl.match_hostname() now supports matching of IP addresses.
2015-02-15 18:12:20 +01:00
Antoine Pitrou
2d07b85585
Issue #23146 : Fix mishandling of absolute Windows paths with forward slashes in pathlib.
...
Detected and fixed by Serhiy.
2015-02-15 18:06:54 +01:00
Antoine Pitrou
57fffd6f99
Issue #23146 : Fix mishandling of absolute Windows paths with forward slashes in pathlib.
...
Detected and fixed by Serhiy.
2015-02-15 18:03:59 +01:00
Serhiy Storchaka
c86ca26d32
Issue #23096 : Pickle representation of floats with protocol 0 now is the same
...
for both Python and C implementations.
2015-02-15 14:18:32 +02:00
Steve Dower
8dcc1a9f96
Issue #23437 : Update NEWS and whatsnew/3.5
2015-02-14 12:07:59 -08:00
Serhiy Storchaka
a750ce3325
Issue #19105 : pprint now more efficiently uses free space at the right.
2015-02-14 10:55:19 +02:00
Berker Peksag
8089cd642f
Issue #14910 : Add allow_abbrev parameter to argparse.ArgumentParser.
...
Patch by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
2015-02-14 01:39:17 +02:00
Berker Peksag
0fe6325acf
Issue #21717 : tarfile.open() now supports 'x' (exclusive creation) mode.
2015-02-13 21:02:12 +02:00
Antoine Pitrou
8b62bbf2e5
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:41:01 +01:00
Antoine Pitrou
3d6c784371
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:39:16 +01:00
Serhiy Storchaka
c1efe5f039
Issue #23344 : marshal.dumps() is now 20-25% faster on average.
2015-02-11 15:54:54 +02:00
Serhiy Storchaka
ce921c62cc
Issue #20416 : marshal.dumps() with protocols 3 and 4 is now 40-50% faster on
...
average.
2015-02-11 15:53:31 +02:00
Serhiy Storchaka
4bdcfce512
Issue #23421 : Fixed compression in tarfile CLI. Patch by wdv4758h.
2015-02-10 08:47:10 +02:00
Serhiy Storchaka
832dd5f0d6
Issue #23421 : Fixed compression in tarfile CLI. Patch by wdv4758h.
2015-02-10 08:45:53 +02:00
Benjamin Peterson
5ef01e9b93
merge 3.4 ( #23361 )
2015-02-09 21:00:00 -05:00
Benjamin Peterson
22ef9f722e
merge 3.3 ( #23361 )
2015-02-09 20:58:52 -05:00
Benjamin Peterson
8ce6806498
add overflow checking ( closes #23361 )
2015-02-09 20:58:12 -05:00
Vinay Sajip
365701add9
Added respect_handler_level to QueueListener.
2015-02-09 19:49:00 +00:00
Larry Hastings
f77232b04e
Post-release updates for Python 3.5.0a1.
2015-02-08 14:07:14 -08:00
Larry Hastings
833d1925c7
Post-release updates for Python 3.4.3rc1.
2015-02-08 14:04:36 -08:00
Larry Hastings
b06f142f5f
Release bump for 3.5.0a1.
2015-02-07 16:00:55 -08:00
Larry Hastings
e5529063b2
Version bump for 3.4.3rc1.
2015-02-07 16:00:45 -08:00
Charles-François Natali
6e6c59b508
Issue #23285 : PEP 475 -- Retry system calls failing with EINTR.
2015-02-07 13:27:50 +00:00
Barry Warsaw
1670613d48
Issue #23399 : pyvenv creates relative symlinks where possible.
2015-02-06 11:58:06 -05:00
Barry Warsaw
581c29f8fe
Issue #23399 : pyvenv creates relative symlinks where possible.
2015-02-06 11:23:58 -05:00
Berker Peksag
bf5e9604cc
Issue #20289 : cgi.FieldStorage() now supports the context management protocol.
2015-02-06 10:21:37 +02:00
Serhiy Storchaka
6cfb61f163
Issue #23392 : Added tests for marshal C API that works with FILE*.
2015-02-06 09:00:44 +02:00
Serhiy Storchaka
b51813403f
Issue #23392 : Added tests for marshal C API that works with FILE*.
2015-02-06 08:58:56 +02:00
Steve Dower
bb24087a2c
Issue #23260 : Update Windows installer
2015-02-05 22:08:48 -08:00
Benjamin Peterson
6c62ac1a01
merge 3.4 ( #22735 )
2015-02-05 22:29:46 -05:00
Benjamin Peterson
104b9e0cca
fix many custom mro() edge cases and improve code quality ( #22735 )
...
Patch by Eldar Abusalimov.
2015-02-05 22:29:14 -05:00
Ned Deily
d0a8f57ef9
Issue #23212 : merge from 3.4
2015-02-06 14:16:29 +11:00
Ned Deily
9125fe2e50
Issue #23212 : Update OS X installer build OpenSSL to 1.0.1l.
...
(currently only used for builds with <= 10.5 deployment targets)
2015-02-06 14:13:30 +11:00
Serhiy Storchaka
71f5b71cfb
Issue #18982 : Add tests for CLI of the calendar module.
2015-02-05 15:17:49 +02:00
Serhiy Storchaka
aef859c5ee
Issue #18982 : Add tests for CLI of the calendar module.
2015-02-05 15:14:35 +02:00
Ned Deily
7aa4428835
Issue #23345 : merge from 3.4
2015-02-05 17:24:00 +11:00
Ned Deily
05784a706e
Issue #23345 : Prevent test_ssl failures with large OpenSSL patch level
...
values (like 0.9.8zc).
2015-02-05 17:20:13 +11:00
Stefan Krah
650c1e818d
Issue #14203 : Remove obsolete support for view==NULL in bytesiobuf_getbuffer()
...
and array_buffer_getbuf().
2015-02-03 21:43:23 +01:00
Stefan Krah
5178d91be0
Issue #14203 : Remove obsolete support for view==NULL in PyBuffer_FillInfo()
...
and bytearray_getbuffer(). Both functions now raise BufferError in that
case.
2015-02-03 16:57:21 +01:00
Berker Peksag
ab53ab0a84
Issue #13128 : Print response headers for CONNECT requests when debuglevel > 0.
...
Patch by Demian Brecht.
2015-02-03 12:22:11 +02:00
Serhiy Storchaka
87d0b45485
Issue #15381 : Optimized io.BytesIO to make less allocations and copyings.
2015-02-03 11:30:10 +02:00
Serhiy Storchaka
83e802796c
Issue #22818 : Splitting on a pattern that could match an empty string now
...
raises a warning. Patterns that can only match empty strings are now
rejected.
2015-02-03 11:04:19 +02:00
Serhiy Storchaka
32ca3dcb97
Issue #23099 : Closing io.BytesIO with exported buffer is rejected now to
...
prevent corrupting exported buffer.
2015-02-03 09:30:51 +02:00
Serhiy Storchaka
c057c3859c
Issue #23099 : Closing io.BytesIO with exported buffer is rejected now to
...
prevent corrupting exported buffer.
2015-02-03 02:00:18 +02:00