Petri Lehtinen
221439dd61
#11694 : merge with 3.4
2014-10-10 21:29:43 +03:00
Petri Lehtinen
3894b2a24f
Issue #11694 : Raise ConversionError in xdrlib as documented
2014-10-10 21:21:52 +03:00
Brett Cannon
5e8b04eefb
Issue #21052 : Don't raise ImportWarning for sys.meta_path or
...
sys.path_hooks when set to None during interpreter shutdown.
Thanks to Martin Panter for the initial bug report.
2014-10-10 10:54:28 -04:00
Berker Peksag
8ee1513ada
Issue #21456 : Skip two tests in test_urllib2net.py if _ssl module not present.
...
Patch by Remi Pointel.
2014-10-10 14:35:51 +03:00
Berker Peksag
b77983d2bd
Issue #21456 : Skip two tests in test_urllib2net.py if _ssl module not present.
...
Patch by Remi Pointel.
2014-10-10 14:34:16 +03:00
Serhiy Storchaka
e2ccf5608c
Issue #19380 : Optimized parsing of regular expressions.
2014-10-10 11:14:49 +03:00
Serhiy Storchaka
7438e4b56f
Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub()
...
and re.subn().
2014-10-10 11:06:31 +03:00
R David Murray
4487dd0ed5
#18615 : Make sndhdr return namedtuples.
...
Patch by Claudiu Popa.
2014-10-09 16:59:30 -04:00
Antoine Pitrou
94262ebc9c
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:02:40 +02:00
Antoine Pitrou
0ddbf4795f
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:00:09 +02:00
Larry Hastings
2ce95d7b7c
Merge from 3.4.2 release head back into 3.4 mainline.
2014-10-08 02:50:50 -07:00
Larry Hastings
adeb140cb3
Post-release changes after 3.4.2 final.
2014-10-08 02:40:43 -07:00
Antoine Pitrou
b1fdf47ff5
Issue #21965 : Add support for in-memory SSL to the ssl module.
...
Patch by Geert Jansen.
2014-10-05 20:41:53 +02:00
Antoine Pitrou
414e15a88d
Closes #21173 : Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.
2014-10-05 20:04:06 +02:00
Antoine Pitrou
1bf974dc6e
Closes #21173 : Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.
2014-10-05 20:02:28 +02:00
R David Murray
861470c836
#16518 : Bring error messages in harmony with docs ("bytes-like object")
...
Some time ago we changed the docs to consistently use the term 'bytes-like
object' in all the contexts where bytes, bytearray, memoryview, etc are used.
This patch (by Ezio Melotti) completes that work by changing the error
messages that previously reported that certain types did "not support the
buffer interface" to instead say that a bytes-like object is required. (The
glossary entry for bytes-like object references the discussion of the buffer
protocol in the docs.)
2014-10-05 11:47:01 -04:00
R David Murray
f5387c0d6d
Merge: #11866 : Eliminate race condition in the computation of names for new threads.
2014-10-04 17:45:15 -04:00
R David Murray
b186f1df41
#11866 : Eliminate race condition in the computation of names for new threads.
...
Original patch by Peter Saveliev.
2014-10-04 17:43:54 -04:00
Antoine Pitrou
5f6a7556bf
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:17:26 +02:00
Antoine Pitrou
190517551b
Add NEWS entry I forgot to commit.
2014-10-04 22:16:14 +02:00
Antoine Pitrou
e1618491ad
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:15:27 +02:00
Serhiy Storchaka
d32abc12e8
Fixed issue number for issue #22470 in Misc/NEWS.
2014-10-04 15:05:22 +03:00
Serhiy Storchaka
fb8eaae6eb
Fixed issue number for issue #22470 in Misc/NEWS.
2014-10-04 15:05:00 +03:00
Serhiy Storchaka
3deeeb0c39
Issue #21883 : os.path.join() and os.path.relpath() now raise a TypeError with
...
more helpful error message for unsupported or mismatched types of arguments.
2014-10-04 14:58:43 +03:00
Serhiy Storchaka
8d1e18ef1f
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:17:50 +03:00
Serhiy Storchaka
2e374098ff
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:15:49 +03:00
Serhiy Storchaka
90c24c42b2
Issue #22219 : The zipfile module CLI now adds entries for directories
...
(including empty directories) in ZIP file.
2014-10-04 13:42:28 +03:00
Serhiy Storchaka
518e71b18a
Issue #22219 : The zipfile module CLI now adds entries for directories
...
(including empty directories) in ZIP file.
2014-10-04 13:39:34 +03:00
Benjamin Peterson
8b9cfa1066
merge 3.4 ( #22449 )
2014-10-03 17:33:45 -04:00
Benjamin Peterson
5915b0f924
also use openssl envvars to find certs on windows ( closes #22449 )
...
Patch by Christian Heimes and Alex Gaynor.
2014-10-03 17:27:05 -04:00
R David Murray
df75fee9a3
#22508 : Drop email __version__ string. It no longer means anything.
...
A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package. Since
Barry approves this change, it seems safe enough to make it...
2014-10-03 13:02:47 -04:00
Georg Brandl
72b8a80e59
Closes #22540 : speed up PyObject_IsInstance and PyObject_IsSubclass in the common case that the second argument has metaclass "type".
2014-10-03 09:26:37 +02:00
doko@ubuntu.com
9816619c5b
- Issue #17219 : Add library build dir for Python extension cross-builds.
2014-10-02 02:12:34 +02:00
doko@ubuntu.com
cef3bdc01d
- Issue #17219 : Add library build dir for Python extension cross-builds.
2014-10-02 02:10:47 +02:00
doko@ubuntu.com
6b6bcc3e21
- Issue #18096 : Fix library order returned by python-config.
2014-10-02 02:02:45 +02:00
doko@ubuntu.com
d486c43d8d
- Issue #18096 : Fix library order returned by python-config.
2014-10-02 02:00:14 +02:00
Serhiy Storchaka
c383ad8d9c
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
...
The makelocalealias.py script no longer ignores UTF-8 mapping.
2014-10-02 00:11:21 +03:00
Serhiy Storchaka
1de0ba2cf5
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
2014-10-02 00:09:37 +03:00
Serhiy Storchaka
99cb41d423
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
2014-10-01 23:43:35 +03:00
Serhiy Storchaka
ea4f0573b4
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
...
The makelocalealias.py script now can parse the SUPPORTED file
from glibc sources and supports command line options for source paths.
2014-10-01 23:42:30 +03:00
Georg Brandl
ea68398355
Closes #20218 : Added convenience methods read_text/write_text and read_bytes/
...
write_bytes to pathlib.Path objects.
Thanks to Christopher Welborn and Ram Rachum for original patches.
2014-10-01 19:12:33 +02:00
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
2014-09-30 21:16:27 +02:00
Benjamin Peterson
cb1115a43d
remove merge goop from f86fde20e9ce
2014-09-30 11:00:46 -04:00
Victor Stinner
ec39e26881
(Merge 3.4) Issue #22396 : On 32-bit AIX platform, don't expose
...
os.posix_fadvise() nor os.posix_fallocate() because their prototypes in system
headers are wrong.
2014-09-30 12:35:58 +02:00
Victor Stinner
d6b176905d
Issue #22396 : On 32-bit AIX platform, don't expose os.posix_fadvise() nor
...
os.posix_fallocate() because their prototypes in system headers are wrong.
2014-09-30 12:20:05 +02:00
Benjamin Peterson
fd97a6fb2d
merge 3.4 ( #22520 )
2014-09-29 23:02:56 -04:00
Benjamin Peterson
43030ee780
merge 3.3 ( #22520 )
2014-09-29 23:02:35 -04:00
Benjamin Peterson
736b8012b4
prevent overflow in unicode_repr ( closes #22520 )
2014-09-29 23:02:15 -04:00
Benjamin Peterson
58ee2d31ab
merge 3.4 ( #22517 )
2014-09-29 22:49:05 -04:00
Benjamin Peterson
c44eb73473
merge 3.3 ( #22517 )
2014-09-29 22:48:51 -04:00