Victor Stinner
ba9c6645f7
Issue #10419 : Fix build_scripts command of distutils to handle correctly
...
non-ASCII scripts. 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:57:29 +02: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
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
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
Ezio Melotti
f9756c2336
Some more tests were incorrectly marked as C specific.
2011-05-09 18:36:53 +03: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
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
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
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
262c5827a5
put import_fresh_module in __all__
2011-05-08 15:32:46 -05: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
4d1cd0a0a0
Merge
2011-05-07 19:45:34 +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'
0b5c21f9c9
#12002 - ftplib's abort() method raises TypeError
2011-05-07 19:03:47 +02:00
Ezio Melotti
63e4230c38
#5421 : add tests.
2011-05-07 19:47:48 +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
7420b70240
Fix potential resource leak in test_mmap.
2011-05-07 14:35:05 +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
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
caed7fe0ff
#11999 : sync based on comparing mtimes, not mtime to system clock
2011-05-06 22:07:19 -04:00
Ronald Oussoren
f51738b10e
Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
2011-05-06 10:23:04 +02:00
Ezio Melotti
d92ab0806d
#11997 : fix typo in init.rst.
2011-05-05 14:19:48 +03:00
R David Murray
fc5ed800d8
#8158 : add missing 'description' description to optparse docstring.
2011-05-04 21:06:57 -04:00
Ezio Melotti
f16898bc80
#11985 : update docstring of platform.python_implementation.
2011-05-04 18:37:50 +03:00
Brian Curtin
308053ee11
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Ezio Melotti
b351bcca23
#11985 : document the return value of platform.python_implementation for PyPy.
2011-05-03 20:41:48 +03:00
Éric Araujo
cd6756d2ae
Branch merge
2011-05-02 13:10:36 +02:00
Éric Araujo
b79c234e1a
Add missing colon
2011-05-02 13:10:18 +02:00
Raymond Hettinger
9b2fd32cc5
Fix spelling.
2011-05-01 18:14:49 -07:00
Victor Stinner
a6cd0cf0f5
Issue #11277 : mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
...
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Benjamin Peterson
10116d40d8
note abcs of int and float ( closes #11977 )
2011-05-01 17:38:17 -05:00
Victor Stinner
13aaef53be
Issue #9756 : credit the author, Andreas Stührk (Trundle)
2011-05-01 23:46:48 +02:00
Victor Stinner
3249dec024
Issue #9756 : When calling a method descriptor or a slot wrapper descriptor, the
...
check of the object type doesn't read the __class__ attribute anymore. Fix a
crash if a class override its __class__ attribute (e.g. a proxy of the str
type).
2011-05-01 23:19:15 +02:00
R David Murray
9c4f09d0f4
#11971 : fix man page; it's -OO not -O0
...
Patch by Lars Michelsen.
2011-05-01 11:13:56 -04:00
Éric Araujo
3bba57d596
Fix wording
2011-05-01 02:14:48 +02:00
R David Murray
bb754b503c
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:26:32 -04:00
R David Murray
9beb34ee0d
#11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:35:29 -04:00
Benjamin Peterson
4c020885d9
fix function name in example ( closes #11966 )
2011-04-30 13:14:56 -05:00
Brian Curtin
73365dd887
whitespace...
2011-04-29 22:18:33 -05:00
Brian Curtin
e6242d77bd
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:17:51 -05:00
Senthil Kumaran
f108f8258e
Wrap the testskip decorator for the proper test to resolve bb failure.
2011-04-30 06:06:28 +08:00
Brian Curtin
8b8e7f467f
Further fix #7838 . CREATE_NEW_CONSOLE was exposed, but none of the
...
constants to be used for STARTUPINFO were exposed due to the change.
2011-04-29 15:48:13 -05:00
Ezio Melotti
2ee88355fc
#11952 : Fix typo in multiprocessing doc.
2011-04-29 07:10:24 +03:00
Senthil Kumaran
e3bdcf4ffd
skip the extractall test on platforms where os.symlink is not available.
2011-04-28 17:05:55 +08:00
Senthil Kumaran
123932f237
Add tests for tarfile extractall feature when with symlinks
2011-04-28 15:38:12 +08:00
Ezio Melotti
b185a04aa1
#11926 : add missing keywords to help("keywords").
2011-04-28 07:42:55 +03:00
Raymond Hettinger
507cbc1773
Issue #11940 : Update external link.
2011-04-27 16:32:08 -07:00
Ezio Melotti
f95033ba44
#11942 : Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
2011-04-28 00:48:46 +03:00
Éric Araujo
9a42793761
Branch merge
2011-04-27 16:23:56 +02:00