Victor Stinner
530712625b
Issue #11169 : compileall module uses repr() to format filenames and paths to
...
escape surrogate characters and show spaces.
2011-05-11 00:36:28 +02:00
Victor Stinner
1eb4f28c6d
Close #10419 , issue #6011 : build_scripts command of distutils handles correctly
...
non-ASCII path (path to the Python executable). Open and write the script in
binary mode, but ensure that the shebang is decodable from UTF-8 and from the
encoding of the script.
2011-05-11 00:14:28 +02:00
Ezio Melotti
f188bc5d46
#12051 : merge with 3.1.
2011-05-11 01:10:27 +03:00
Ezio Melotti
136726537f
#12051 : Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
2011-05-11 01:02:56 +03:00
Antoine Pitrou
ccc87b53db
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:11 +02:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa
cda41d3bf7
Actually print out the description of what changed.
2011-05-10 15:25:41 +02:00
Raymond Hettinger
bb1cf8d9bc
Issue 12047: Expand the style guide.
2011-05-10 00:35:03 -07:00
Victor Stinner
17ca323e7c
(Merge 3.1) Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner
ee18b6f2fd
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Victor Stinner
db932786af
Issue #1195 : Fix input() if it is interrupted by CTRL+d and then CTRL+c, clear
...
the end-of-file indicator after CTRL+d.
2011-05-10 00:20:35 +02:00
Victor Stinner
4755ab010f
Issue #1195 : Fix input() if it is interrupted by CTRL+d and then CTRL+c,
...
clear the end-of-file indicator after CTRL+d.
2011-05-10 00:19:53 +02:00
Łukasz Langa
725476222a
Closes #12036 : ConfigParser: Document items() added the vars dictionary to the result
2011-05-09 18:49:42 +02:00
Ezio Melotti
219a5dcc78
Merge with 3.1.
2011-05-09 18:40:42 +03:00
Ezio Melotti
f9756c2336
Some more tests were incorrectly marked as C specific.
2011-05-09 18:36:53 +03:00
Martin v. Löwis
867754e3e3
merge 11164
2011-05-09 08:10:38 +02:00
Martin v. Löwis
2f48d892d4
Stop trying to use _xmlplus in the xml module. Closes #11164 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Martin v. Löwis
8ffaa1049c
The option is actually --no-as-needed.
2011-05-09 07:42:28 +02:00
Martin v. Löwis
48e14d3fda
Use --as-needed when linking libpython3.so. Closes #11347 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 07:37:45 +02:00
Ezio Melotti
19f7ca25e5
#11910 : merge with 3.1.
2011-05-09 07:27:20 +03:00
Ezio Melotti
fd69abb358
Some tests were incorrectly marked as C specific.
2011-05-09 07:20:47 +03:00
Ezio Melotti
8269a44d50
#11910 : Fix test_heapq to skip the C tests when _heapq is missing.
2011-05-09 07:15:04 +03:00
Ezio Melotti
313fa9d365
#11910 : merge with 3.1.
2011-05-09 06:43:14 +03:00
Ezio Melotti
199e0857f9
#11910 : change import_fresh_module to return None when one of the "fresh" modules can not be imported.
2011-05-09 06:41:55 +03:00
Ezio Melotti
74efb71871
Merge with 3.1.
2011-05-09 04:00:06 +03:00
Ezio Melotti
0ed8c6897c
Add a note to the str.find doc to suggest the use of the "in" operator.
2011-05-09 03:54:30 +03:00
Benjamin Peterson
31dc3735a5
merge 3.1
2011-05-08 15:34:24 -05:00
Benjamin Peterson
262c5827a5
put import_fresh_module in __all__
2011-05-08 15:32:46 -05:00
Ezio Melotti
1a743741bf
Merge with 3.1.
2011-05-08 20:00:03 +03:00
Ezio Melotti
1c3fd58281
Add back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
2011-05-08 19:58:08 +03:00
Antoine Pitrou
a8201f02dc
Merge
2011-05-07 19:47:47 +02:00
Antoine Pitrou
6ef5dfdb94
Merge
2011-05-07 19:47:24 +02:00
Antoine Pitrou
4d1cd0a0a0
Merge
2011-05-07 19:45:34 +02:00
Antoine Pitrou
5bcc50c1b5
Merge: Issue #11927 : SMTP_SSL now uses port 465 by default as documented.
2011-05-07 19:41:33 +02:00
Antoine Pitrou
c1d520634a
Issue #11927 : SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath.
2011-05-07 19:39:37 +02:00
Giampaolo Rodola'
fde86ff673
merge
2011-05-07 19:35:36 +02:00
Giampaolo Rodola'
24befa87dc
merge with 3.1
2011-05-07 19:09:34 +02:00
Giampaolo Rodola'
0b5c21f9c9
#12002 - ftplib's abort() method raises TypeError
2011-05-07 19:03:47 +02:00
Ezio Melotti
4c1aebd88b
#5421 : merge with 3.1.
2011-05-07 19:50:28 +03:00
Ezio Melotti
63e4230c38
#5421 : add tests.
2011-05-07 19:47:48 +03:00
Ezio Melotti
06383ee090
#12017 : merge with 3.1.
2011-05-07 18:15:34 +03:00
Ezio Melotti
362b95102f
#12017 : Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
2011-05-07 17:58:09 +03:00
Nadeem Vawda
b0b0579625
Merge: Fix potential resource leak in test_mmap.
2011-05-07 14:35:36 +02:00
Nadeem Vawda
7420b70240
Fix potential resource leak in test_mmap.
2011-05-07 14:35:05 +02:00
Nadeem Vawda
044dfadd1c
Merge: #11277 : Fix tests - crash will not trigger if the file is closed and reopened.
2011-05-07 14:16:50 +02:00
Nadeem Vawda
909f6d2fba
Issue #11277 : Fix tests - crash will not trigger if the file is closed and reopened.
2011-05-07 14:14:53 +02:00
Nadeem Vawda
c2bb073742
Merge: #11277 : Add tests for mmap crash when using large sparse files on OS X.
...
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
2011-05-07 13:08:54 +02:00
Nadeem Vawda
ced1056925
Issue #11277 : Add tests for mmap crash when using large sparse files on OS X.
...
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
2011-05-07 13:01:50 +02:00
R David Murray
94b8ee3bff
#11999 : sync based on comparing mtimes, not mtime to system clock
2011-05-06 22:20:34 -04:00
R David Murray
caed7fe0ff
#11999 : sync based on comparing mtimes, not mtime to system clock
2011-05-06 22:07:19 -04:00