Commit graph

86644 commits

Author SHA1 Message Date
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
385328bf76 Null merge 2014-10-04 14:20:41 +03:00
Serhiy Storchaka
bf9b1a3b13 Merge heads 2014-10-04 14:20:23 +03:00
Serhiy Storchaka
da5c571897 Merge heads 2014-10-04 14:20:10 +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
Nick Coghlan
2e6a907993 Merge packaging doc updates from 3.4 2014-10-04 21:16:08 +10: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
Nick Coghlan
5c4fbd5fdf Realign packaging docs with PyPUG changes 2014-10-04 21:11:25 +10: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
R David Murray
84bf989cc2 Merge: #14056: Small improvements to the tarfile documentation. 2014-10-03 20:19:09 -04:00
R David Murray
bf92bceaaa #14056: Small improvements to the tarfile documentation.
Patch by Éric Araujo with help from Lars Gustäbel.
2014-10-03 20:18:48 -04:00
Benjamin Peterson
91b62c4a8a merge 3.4 2014-10-03 18:17:30 -04:00
Benjamin Peterson
91244e01bb separate cert loading tests into Windows and non-Windows cases 2014-10-03 18:17:15 -04: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
Zachary Ware
4d2aba3ab3 Merge with 3.4 2014-10-03 10:56:22 -05:00
Zachary Ware
7280561b5b Fix a few typo/grammar issues in the multiprocessing docs.
Reported by Scott Hinton on docs@.
2014-10-03 10:55:12 -05:00
R David Murray
b55f944fa9 Merge: #12780: update inspect test skipIf for PEP 3147. 2014-10-03 11:16:08 -04:00
R David Murray
32562d7da3 #12780: update inspect test skipIf for PEP 3147.
The test needs to be skipped if unicodedata is either part of the
main binary (a repackaging of cpython on Windows?) or has python
source (pypy?).  PEP 3147 makes __file__ point to the .py source,
so we need to change the extension check from looking for the
old .pyc/.pyo to just looking for .py.

Note that this skip should never trigger on CPython itself, so
one could argue it should be dropped instead.  But since it exists,
why risk breaking someone else's python.
2014-10-03 11:15:38 -04:00
Victor Stinner
b86f08f743 faulthandler: enhance dump_ascii() to escape also non-printable ASCII
characters (U+0000..U+001f and U+007f).
2014-10-03 14:18:09 +02:00
Antoine Pitrou
392f4139b3 Make test_datetime a better citizen (issue #22540) 2014-10-03 11:25:30 +02: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
R David Murray
f355943002 Merge: #8473: Add tests that doctest uses universal newlines in testfile. 2014-10-02 22:43:51 -04:00
R David Murray
b48cb29ac4 #8473: Add tests that doctest uses universal newlines in testfile.
Python3 does not have the bug covered by the issue.
2014-10-02 22:42:42 -04:00
Georg Brandl
34b9c24b35 merge 3.4 2014-10-02 12:39:02 +02:00
Georg Brandl
3f1ef9efd5 Closes #18729: minor markup improvement. 2014-10-02 12:37:50 +02:00
Georg Brandl
1f31583566 merge 3.4 2014-10-02 12:35:54 +02:00
Georg Brandl
529452926b Closes #19434: fix copy-paste error in MIMENonMultipart docstring. 2014-10-02 12:35:08 +02:00
Serhiy Storchaka
df77518d8c Issue #20079: Fixed tests. 2014-10-02 11:36:31 +03:00
Serhiy Storchaka
4601df58e7 Issue #20079: Fixed tests. 2014-10-02 11:36:12 +03:00
Serhiy Storchaka
62c50c04e7 Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file. 2014-10-02 10:49:44 +03:00
Serhiy Storchaka
9e04edaf64 Issue #20079: Updated alias mapping to glibc 2.19 SUPPORTED file. 2014-10-02 10:49:26 +03:00
Serhiy Storchaka
8276d87f5a Issue #20079: makelocalealias.py now supports installed SUPPORTED file,
not only source SUPPORTED file in glibc sources tree.
2014-10-02 10:38:12 +03:00
Serhiy Storchaka
5189ee54cf Issue #20076: Apply optimization in makelocalealias.py repeatedly.
Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
2014-10-02 10:21:43 +03:00
Serhiy Storchaka
b8cd8cf8f2 Issue #20076: Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
2014-10-02 10:19:29 +03:00
Georg Brandl
b83f56f915 merge with 3.4 2014-10-02 08:39:01 +02:00
Georg Brandl
c0a8f8ce84 closes #22528: add source links to symtable and compileall 2014-10-02 08:38:39 +02:00
Georg Brandl
54eec2d0af merge with 3.4 2014-10-02 08:35:31 +02:00
Georg Brandl
41ea1f4f26 Closes #19342: improve docstrings in grp module. 2014-10-02 08:34:41 +02:00
Georg Brandl
60db5137bc merge with 3.4 2014-10-02 08:27:11 +02:00
Georg Brandl
ea7ec2b481 Remove unused and now removed config value. 2014-10-02 08:27:05 +02:00
Terry Jan Reedy
55f763426b Merge with 3.4 2014-10-02 00:17:08 -04:00
Terry Jan Reedy
6e978d2754 Issue #21971: Index and update turtledemo doc. 2014-10-02 00:16:31 -04: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