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
4b1681832b
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:15:49 +03:00
Georg Brandl
76e73f85a3
Bump to 3.3.6rc1
2014-10-04 14:22:11 +02: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
Benjamin Peterson
bbd0a323ae
clear BufferedRWPair weakrefs on deallocation ( closes #22517 )
2014-09-29 22:46:57 -04:00
Benjamin Peterson
36a24f3f43
merge 3.4 ( #22519 )
2014-09-29 19:11:05 -04:00
Benjamin Peterson
18f836fb65
merge 3.3 ( closes #22519 )
2014-09-29 19:09:49 -04:00
Benjamin Peterson
42ff105539
fix overflow checking in PyBytes_Repr ( closes #22519 )
2014-09-29 19:01:18 -04:00
Benjamin Peterson
10e4b2545e
merge 3.4 ( closes #22518 )
2014-09-29 18:53:58 -04:00
Benjamin Peterson
2b76ce6d27
merge 3.3 ( closes #22518 )
2014-09-29 18:50:06 -04:00
Benjamin Peterson
3bbb2e4844
NEWS issue for #22518
2014-09-29 18:42:35 -04:00
Serhiy Storchaka
9baa5b2de2
Issue #22437 : Number of capturing groups in regular expression is no longer
...
limited by 100.
2014-09-29 22:49:23 +03:00
R David Murray
c31e6227f9
#17442 : Add chained traceback support to InteractiveInterpreter.
...
Patch by Claudiu Popa.
2014-09-29 11:25:00 -04:00
R David Murray
3a54c3e3aa
Merge: #10510 : make distuitls upload/register use HTML standards compliant CRLF.
2014-09-27 16:57:51 -04:00
R David Murray
9ce69672f3
#10510 : make distuitls upload/register use HTML standards compliant CRLF.
...
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Berker Peksag
a72bc8c3cf
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:39:38 +03:00
Berker Peksag
21c8d5c7d9
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:37:15 +03:00
Serhiy Storchaka
402e1e388d
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:55:15 +03:00
Serhiy Storchaka
ca534ab495
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:53:23 +03:00
Berker Peksag
fe21e4d4d7
Issue #16324 : _charset parameter of MIMEText now also accepts email.charset.Charset instances.
...
Initial patch by Claude Paroz.
2014-09-27 00:57:29 +03:00
Yury Selivanov
081bbf6b28
inspect: Fix getsource() to support decorated functions.
...
Issue #1764286 . Patch by Claudiu Popa.
2014-09-26 17:34:54 -04:00
Antoine Pitrou
2c0a916061
Issue #5309 : distutils' build and build_ext commands now accept a ``-j``
...
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02:00
Yury Selivanov
97e2e06af8
os: Include posix functions in os.__all__. Closes issue #18554 .
...
Patch by Ronald Oussoren.
2014-09-26 12:33:06 -04:00
Yury Selivanov
1cfd36fdd7
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:09:09 -04:00
Yury Selivanov
592ada9b4b
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:07:56 -04:00
Serhiy Storchaka
e9a086bf01
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:29:27 +03:00
Serhiy Storchaka
5e193ac0bd
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:26:25 +03:00
Serhiy Storchaka
c563caf3a2
Issue #22362 : Forbidden ambiguous octal escapes out of range 0-0o377 in
...
regular expressions.
2014-09-23 23:22:41 +03:00
Serhiy Storchaka
385ffbffe6
Issue #20912 : Now directories added to ZIP file have correct Unix and MS-DOS
...
directory attributes.
2014-09-23 22:42:02 +03:00
Serhiy Storchaka
46a34924e4
Issue #20912 : Now directories added to ZIP file have correct Unix and MS-DOS
...
directory attributes.
2014-09-23 22:40:23 +03:00
Serhiy Storchaka
07314bcbe7
Issue #21866 : ZipFile.close() no longer writes ZIP64 central directory
...
records if allowZip64 is false.
2014-09-23 21:35:57 +03:00
Serhiy Storchaka
cfbb394488
Issue #21866 : ZipFile.close() no longer writes ZIP64 central directory
...
records if allowZip64 is false.
2014-09-23 21:34:24 +03:00
Ned Deily
487bd179dc
Fix formatting typo in Misc/NEWS.
2014-09-22 15:36:12 -07:00
Ned Deily
14aa057883
Fix formatting typo in Misc/NEWS.
2014-09-22 15:34:19 -07:00
Larry Hastings
2887f76d45
Merge.
2014-09-22 15:21:08 +01:00
Larry Hastings
f26c2e72d8
Post-release engineering work for 3.4.2rc1.
2014-09-22 15:19:30 +01:00
Senthil Kumaran
a66e3885fb
Issue #22278 : Fix urljoin problem with relative urls, a regression observed
...
after changes to issue22118 were submitted.
Patch contributed by Demian Brecht and reviewed by Antoine Pitrou.
2014-09-22 15:49:16 +08:00
Serhiy Storchaka
782781e96d
Fixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.
2014-09-21 22:59:06 +03:00
Serhiy Storchaka
964fcbaf16
Fixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.
2014-09-21 22:58:31 +03:00
Serhiy Storchaka
560c578d1d
Issue #22423 : Fixed debugging output of the GROUPREF_EXISTS opcode in the re
...
module.
2014-09-21 22:48:24 +03:00
Serhiy Storchaka
44dae8bde3
Issue #22423 : Fixed debugging output of the GROUPREF_EXISTS opcode in the re
...
module.
2014-09-21 22:47:55 +03:00
Serhiy Storchaka
d7fc141c7d
Merge heads
2014-09-21 22:26:11 +03:00
Serhiy Storchaka
1a5426dbaf
Merge heads
2014-09-21 22:25:25 +03:00
Antoine Pitrou
6e311aa748
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:15:42 +02:00
Antoine Pitrou
afe8d0646c
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:10:56 +02:00
Serhiy Storchaka
c904e87c13
Issue #22423 : Unhandled exception in thread no longer causes unhandled
...
AttributeError when sys.stderr is None.
2014-09-21 22:09:20 +03:00
Serhiy Storchaka
52005c2e13
Issue #22423 : Unhandled exception in thread no longer causes unhandled
...
AttributeError when sys.stderr is None.
2014-09-21 22:08:13 +03:00
Larry Hastings
03776e33a9
Bump version number for 3.4.2rc1 release.
2014-09-21 00:09:56 +01:00
Antoine Pitrou
895ce149c1
Issue #22359 : Remove incorrect uses of recursive make. Patch by Jonas Wagner.
2014-09-21 00:21:58 +02:00
R David Murray
7c4093ca95
Merge: #21091 : make is_attachment a method.
2014-09-20 18:16:39 -04:00
R David Murray
8a97896a76
#21091 : make is_attachment a method.
...
Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.
2014-09-20 18:05:28 -04:00
R David Murray
1de0ac05f3
Merge: #21079 : is_attachment now looks only at the value, ignoring parameters.
2014-09-20 17:49:48 -04:00
R David Murray
97dfad7856
#21079 : is_attachment now looks only at the value, ignoring parameters.
2014-09-20 17:44:53 -04:00
Berker Peksag
bdfeb0387d
Issue #22247 : Add NNTPError to nntplib.__all__.
2014-09-20 08:54:32 +03:00
Berker Peksag
96756b6a27
Issue #22247 : Add NNTPError to nntplib.__all__.
2014-09-20 08:53:05 +03:00
Ned Deily
fc4ead2451
Issue #15661 : Update OS X installer welcome and readme files for 3.4.2.
...
python.org OS X installers are now distributed as signed installer
packages compatible with the Gatekeeper security feature.
2014-09-19 21:03:45 -07:00
Senthil Kumaran
a5c85b3f5f
Issue #22366 : urllib.request.urlopen will accept a context object (SSLContext)
...
as an argument which will then used be for HTTPS connection.
Patch by Alex Gaynor.
2014-09-19 15:23:30 +08:00
Berker Peksag
3715da5c97
Issue #21391 : Use os.path.abspath in the shutil module.
2014-09-18 05:11:15 +03:00
Antoine Pitrou
e7811fca5e
Closes #11471 : avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause.
...
Original patch by Eugene Toder.
2014-09-18 03:06:50 +02:00
Antoine Pitrou
87538e7bc4
Issue #4180 : The warnings registries are now reset when the filters are modified.
2014-09-18 02:42:05 +02:00
Antoine Pitrou
cb0a006fd1
Issue #4180 : The warnings registries are now reset when the filters are modified.
2014-09-18 02:40:46 +02:00
Senthil Kumaran
dc41440401
Merge from 3.4
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:32:46 +08:00
Senthil Kumaran
86c9e1877c
Merge from 3.3
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:31:47 +08:00
Senthil Kumaran
e025b52db0
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:29:29 +08:00
Antoine Pitrou
0d54887326
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:27:26 +02:00