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
Larry Hastings
833d1925c7
Post-release updates for Python 3.4.3rc1.
2015-02-08 14:04:36 -08:00
Larry Hastings
e5529063b2
Version bump for 3.4.3rc1.
2015-02-07 16:00:45 -08:00
Barry Warsaw
581c29f8fe
Issue #23399 : pyvenv creates relative symlinks where possible.
2015-02-06 11:23:58 -05:00
Serhiy Storchaka
b51813403f
Issue #23392 : Added tests for marshal C API that works with FILE*.
2015-02-06 08:58:56 +02: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
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
aef859c5ee
Issue #18982 : Add tests for CLI of the calendar module.
2015-02-05 15:14:35 +02: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
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
Serhiy Storchaka
4fdb68491e
Issue #22896 : Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
...
and PyObject_AsWriteBuffer().
2015-02-03 01:21:08 +02:00
Benjamin Peterson
7a66fc22ad
revert lineno and col_offset changes from #16795 ( closes #21295 )
2015-02-02 10:51:20 -05:00
Benjamin Peterson
c468b537cd
merge 3.3 ( #23364 , #23363 )
2015-02-01 21:35:34 -05:00
Benjamin Peterson
0eaabf1c05
check for overflows in permutations() and product() ( closes #23363 , closes #23364 )
2015-02-01 21:34:07 -05:00
Benjamin Peterson
f635dc32b1
merge 3.3 ( #23365 )
2015-02-01 21:11:39 -05:00
Benjamin Peterson
6f082297b2
check for overflow in combinations_with_replacement ( closes #23365 )
2015-02-01 21:10:47 -05:00
Benjamin Peterson
819c4e9bc4
merge 3.3 ( #23366 )
2015-02-01 21:00:15 -05:00
Benjamin Peterson
4b40eeb339
detect overflow in combinations ( closes #23366 )
2015-02-01 20:59:00 -05:00
Benjamin Peterson
3675cd9db1
merge 3.3 ( #23369 )
2015-02-01 17:59:49 -05:00
Benjamin Peterson
e3bfe19358
fix possible overflow in encode_basestring_ascii ( closes #23369 )
2015-02-01 17:53:53 -05:00
Victor Stinner
26f7b8acdc
Issue #23353 : Fix the exception handling of generators in PyEval_EvalFrameEx().
...
At entry, save or swap the exception state even if PyEval_EvalFrameEx() is
called with throwflag=0. At exit, the exception state is now always restored or
swapped, not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with
Antoine Pitrou.
2015-01-31 10:29:47 +01:00
Serhiy Storchaka
e09bcc874a
Issue #22079 : PyType_Ready() now checks that statically allocated type has
...
no dynamically allocated bases.
2015-01-28 11:03:33 +02:00
Serhiy Storchaka
4dbc305002
Issue #23055 : Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
...
and fix by Guido Vranken.
2015-01-27 22:18:46 +02:00
Serhiy Storchaka
b76bcc4ffc
Issue #14099 : Backout changeset e5bb3044402b (except adapted tests).
2015-01-26 13:45:39 +02:00
Serhiy Storchaka
2bef58577f
Issue #18518 : timeit now rejects statements which can't be compiled outside
...
a function or a loop (e.g. "return" or "break").
2015-01-26 12:09:17 +02:00
Serhiy Storchaka
21d7533c4c
Issue #23094 : Fixed readline with frames in Python implementation of pickle.
2015-01-26 10:37:01 +02:00
Serhiy Storchaka
624caf7bcb
Add credits for Martin Panter.
2015-01-26 10:14:29 +02:00
Serhiy Storchaka
f186e128b6
Issue #23268 : Fixed bugs in the comparison of ipaddress classes.
2015-01-26 10:11:16 +02:00
Serhiy Storchaka
f4b7a02e93
Issue #21408 : The default __ne__() now returns NotImplemented if __eq__()
...
returned NotImplemented. Removed incorrect implementations of __ne__().
2015-01-26 09:57:07 +02:00
Benjamin Peterson
155ceaa454
handle headers with no key ( closes #19996 )
...
Patch by Cory Benfield.
2015-01-25 23:30:30 -05:00
Serhiy Storchaka
7e4b9057b3
Issue #23321 : Fixed a crash in str.decode() when error handler returned
...
replacment string longer than mailformed input data.
2015-01-26 01:22:54 +02:00
Antoine Pitrou
173ad83b07
Issue #23248 : Update ssl error codes from latest OpenSSL git master.
2015-01-18 17:39:32 +01:00
Serhiy Storchaka
b2653b344e
Issue #23098 : 64-bit dev_t is now supported in the os module.
2015-01-18 11:12:11 +02:00
Ned Deily
ccb416fee2
Issue #23180 : Rename IDLE "Windows" menu item to "Window".
...
Patch by Al Sweigart.
2015-01-17 21:06:27 -08:00
Ned Deily
1e012e6c7f
Issue #23211 : Workaround test_logging failure on some OS X 10.6 systems:
...
getaddrinfo("localhost") can fail depending on the name server configuration,
use "127.0.0.0" instead.
2015-01-17 16:57:19 -08:00
Benjamin Peterson
bd341629b0
capitialize "HttpOnly" and "Secure" as they appear in the standard and other impls ( closes #23250 )
...
Patch by Jon Dufresne.
2015-01-16 20:43:55 -05:00
Benjamin Peterson
562b7cbff9
fix parsing reST with code or code-block directives ( closes #23063 )
...
Patch by Marc Abramowitz.
2015-01-14 23:56:35 -05:00
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
...
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Victor Stinner
38dc250521
Issue #23209 , #23225 : selectors.BaseSelector.close() now clears its internal
...
reference to the selector mapping to break a reference cycle. Initial patch
written by Martin Richard.
2015-01-13 09:58:33 +01:00
Nick Coghlan
b9fdb7a452
Issue 19548: update codecs module documentation
...
- clarified the distinction between text encodings and other codecs
- clarified relationship with builtin open and the io module
- consolidated documentation of error handlers into one section
- clarified type constraints of some behaviours
- added tests for some of the new statements in the docs
2015-01-07 00:22:00 +10:00
Victor Stinner
fcfed19913
Issue #21356 : Make ssl.RAND_egd() optional to support LibreSSL. The
...
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
2015-01-06 13:54:58 +01:00
Victor Stinner
9d01717f37
Issue #20896 , #22935 : The ssl.get_server_certificate() function now uses the
...
ssl.PROTOCOL_SSLv23 protocol by default, not ssl.PROTOCOL_SSLv3, for maximum
compatibility and support platforms where ssl.PROTOCOL_SSLv3 support is
disabled.
2015-01-06 12:21:26 +01:00
Raymond Hettinger
0603d3049e
Issue #23132 : Mitigate regression in speed and clarity in functools.total_ordering.
2015-01-05 21:52:10 -08:00
Benjamin Peterson
10ecaa2416
merge 3.3 ( closes #23165 )
2015-01-04 16:05:39 -06:00
Benjamin Peterson
72c2a0f60a
merge 3.2 ( closes #23165 )
2015-01-04 16:03:59 -06:00
Benjamin Peterson
f18bf6fd2d
add some overflow checks before multiplying ( closes #23165 )
2015-01-04 16:03:17 -06:00
Benjamin Peterson
36fe7926f8
make PROTOCOL_SSLv23 the default protocol version for ftplib ( closes #23111 )
2014-12-30 15:15:43 -06:00
Victor Stinner
fe02e39029
Issue #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),
...
instead of reading /dev/urandom, to get pseudo-random bytes.
2014-12-21 01:16:38 +01:00
Benjamin Peterson
94cb7a2429
fix behavior of trailing slash redirection when a query string is involved ( closes #23112 )
2014-12-26 10:53:43 -06:00