]>
granicus.if.org Git - python/log
Éric Araujo [Thu, 28 Jul 2011 20:56:24 +0000 (22:56 +0200)]
Remove mentions of previous license in profile module docs (#12417 followup).
Also remove an extra docstring.
Antoine Pitrou [Fri, 15 Jul 2011 19:15:07 +0000 (21:15 +0200)]
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
Patch by Andreas Stührk.
Charles-François Natali [Thu, 14 Jul 2011 17:53:38 +0000 (19:53 +0200)]
Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
Charles-François Natali [Sat, 2 Jul 2011 12:35:49 +0000 (14:35 +0200)]
Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by
the garbage collector while the Heap lock is held.
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)
Mark Dickinson [Sat, 25 Jun 2011 10:03:33 +0000 (12:03 +0200)]
Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
Senthil Kumaran [Sun, 19 Jun 2011 20:52:49 +0000 (13:52 -0700)]
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
Benjamin Peterson [Sat, 11 Jun 2011 16:33:01 +0000 (11:33 -0500)]
onto 3.1.5
Benjamin Peterson [Sat, 11 Jun 2011 14:59:17 +0000 (09:59 -0500)]
Added tag v3.1.4 for changeset
c918ec9f3a76
Benjamin Peterson [Sat, 11 Jun 2011 14:58:58 +0000 (09:58 -0500)]
bump to 3.1.4
Benjamin Peterson [Fri, 10 Jun 2011 16:32:52 +0000 (11:32 -0500)]
fix regression in netrc comment handling (closes #12009)
Victor Stinner [Fri, 10 Jun 2011 14:32:54 +0000 (16:32 +0200)]
Issue #10801: Fix test_unicode_filenames() of test_zipfile
Just try to open files from the ZIP for reading, don't extract them to avoid
UnicodeEncodeError if the filename is not encodable to the filesystem encoding
(e.g. ASCII locale encoding).
Martin v. Löwis [Sun, 5 Jun 2011 08:56:44 +0000 (10:56 +0200)]
Add 3.1.4 UUIDs.
Martin v. Löwis [Sun, 5 Jun 2011 08:55:57 +0000 (10:55 +0200)]
Do not add txt files twice.
Benjamin Peterson [Wed, 1 Jun 2011 02:38:15 +0000 (21:38 -0500)]
return NULL on error
Benjamin Peterson [Tue, 31 May 2011 23:59:49 +0000 (18:59 -0500)]
simply use the Python version for pyexpat.__version__ #12221
Benjamin Peterson [Sun, 29 May 2011 21:10:15 +0000 (16:10 -0500)]
Added tag v3.1.4rc1 for changeset
32fcb9e94985
Benjamin Peterson [Sun, 29 May 2011 21:09:08 +0000 (16:09 -0500)]
update pydoc-topics
Benjamin Peterson [Sun, 29 May 2011 21:06:00 +0000 (16:06 -0500)]
bump to 3.1.4rc1
Éric Araujo [Sun, 29 May 2011 15:56:20 +0000 (17:56 +0200)]
Branch merge
Ned Deily [Sun, 29 May 2011 09:39:02 +0000 (02:39 -0700)]
Issue #12205: Fix test_subprocess failure due to uninstalled test data.
Éric Araujo [Sun, 29 May 2011 01:48:49 +0000 (03:48 +0200)]
Éric Araujo [Sun, 29 May 2011 01:46:31 +0000 (03:46 +0200)]
Don’t misuse “package data” in pprint example
Éric Araujo [Sat, 28 May 2011 22:22:06 +0000 (00:22 +0200)]
Re-add missing doc stub for the distutils check command
Éric Araujo [Sat, 28 May 2011 22:14:45 +0000 (00:14 +0200)]
Minor touch-ups in distutils.cmd.Command doc
Éric Araujo [Sat, 28 May 2011 21:32:50 +0000 (23:32 +0200)]
Fix test_build_py when sys.dont_write_bytecode is true (#9831).
The tests now pass all combinations of -O/-OO and -B. See also #7071
and #6292 for previous variations on the same theme.
test_versionpredicate needs a skip when sys.flags.optimize is true, but
I don’t know how to make that work with a DocTestSuite.
Ned Deily [Sat, 28 May 2011 09:19:19 +0000 (02:19 -0700)]
Issue #985064: Make plistlib more resilient to faulty input plists.
Patch by Mher Movsisyan.
Ned Deily [Sat, 28 May 2011 07:19:56 +0000 (00:19 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)
Benjamin Peterson [Fri, 27 May 2011 19:17:04 +0000 (14:17 -0500)]
fix spacing
Benjamin Peterson [Fri, 27 May 2011 19:10:24 +0000 (14:10 -0500)]
fix indentation
Éric Araujo [Fri, 27 May 2011 02:42:47 +0000 (04:42 +0200)]
Minor doc addition for clarity
Éric Araujo [Fri, 27 May 2011 02:36:52 +0000 (04:36 +0200)]
Add missing closing paren
Éric Araujo [Thu, 26 May 2011 14:49:59 +0000 (16:49 +0200)]
Branch merge
Victor Stinner [Wed, 25 May 2011 20:47:16 +0000 (22:47 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:09:03 +0000 (22:09 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.
Éric Araujo [Wed, 25 May 2011 16:12:22 +0000 (18:12 +0200)]
Branch merge
Victor Stinner [Tue, 24 May 2011 23:13:59 +0000 (01:13 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 22:06:51 +0000 (00:06 +0200)]
Issue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 20:17:55 +0000 (22:17 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.
Benjamin Peterson [Tue, 24 May 2011 17:50:34 +0000 (12:50 -0500)]
backout
8b384de4e780 , so a proper fix can be considered (#5715)
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values
Benjamin Peterson [Tue, 24 May 2011 17:06:31 +0000 (12:06 -0500)]
generally, sockets should be closed after they're used
Charles-François Natali [Tue, 24 May 2011 16:23:15 +0000 (18:23 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select
Benjamin Peterson [Fri, 20 May 2011 16:49:06 +0000 (11:49 -0500)]
this should actually be an IOError
Benjamin Peterson [Fri, 20 May 2011 16:41:13 +0000 (11:41 -0500)]
add example for not using access
Ezio Melotti [Fri, 20 May 2011 12:04:38 +0000 (15:04 +0300)]
#12072: add missing parenthesis in the doc. Patch by Sandro Tosi.
Victor Stinner [Thu, 19 May 2011 22:16:09 +0000 (00:16 +0200)]
Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.
Victor Stinner [Wed, 18 May 2011 11:48:41 +0000 (13:48 +0200)]
Ooops, add the missing file of the backport of commit
33543b4e0e5d from Python
3.2 (#10801: In zipfile, support different encodings for the header and the
filenames. Patch by MvL, test by Eli Bendersky.)
Victor Stinner [Wed, 18 May 2011 11:43:23 +0000 (13:43 +0200)]
Backport commit
33543b4e0e5d from Python 3.2: #10801: In zipfile, support
different encodings for the header and the filenames. Patch by MvL, test by
Eli Bendersky.
Ronald Oussoren [Tue, 17 May 2011 10:44:54 +0000 (12:44 +0200)]
Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"
On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.
Victor Stinner [Mon, 16 May 2011 15:18:51 +0000 (17:18 +0200)]
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
Victor Stinner [Mon, 16 May 2011 14:57:18 +0000 (16:57 +0200)]
Issue #11614: Fix importlib tests for the new __hello__ module
Victor Stinner [Mon, 16 May 2011 14:43:38 +0000 (16:43 +0200)]
Issue #12057: Convert CJK encoding testcase BLOB into multiple text files
Victor Stinner [Mon, 16 May 2011 14:29:35 +0000 (16:29 +0200)]
Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Stührk.
Victor Stinner [Sun, 15 May 2011 16:57:44 +0000 (18:57 +0200)]
Issue #10756: atexit normalizes the exception before displaying it. Patch by
Andreas Stührk.
Backport a fix already applied to Python 3.2+ (
4a82be47a948 +
5060a92a8597 ).
Victor Stinner [Sun, 15 May 2011 08:21:59 +0000 (10:21 +0200)]
Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
Patch written by Charles-François Natali.
Georg Brandl [Sun, 15 May 2011 06:49:12 +0000 (08:49 +0200)]
Closes #6498: fix several misspellings of "SystemExit" as "SystemError".
Nadeem Vawda [Sat, 14 May 2011 22:48:24 +0000 (00:48 +0200)]
Fix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:19:50 +0000 (00:19 +0200)]
Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.
Kurt B. Kaiser [Sat, 14 May 2011 21:30:58 +0000 (17:30 -0400)]
Merge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:20:09 +0000 (17:20 -0400)]
Issue #6378: Further adjust idle.bat to start associated Python
Łukasz Langa [Sat, 14 May 2011 20:43:44 +0000 (22:43 +0200)]
pprint usage example rethought.
Nadeem Vawda [Sat, 14 May 2011 20:26:55 +0000 (22:26 +0200)]
Issue #8650: Backport 64-bit safety fixes for compress() and decompress().
Nadeem Vawda [Sat, 14 May 2011 12:05:20 +0000 (14:05 +0200)]
Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.
Ezio Melotti [Sat, 14 May 2011 06:17:52 +0000 (09:17 +0300)]
#11979: improve wording and markup in sockets howto. Patch by Xavier Morel.
Ezio Melotti [Sat, 14 May 2011 05:22:47 +0000 (08:22 +0300)]
#7960: fix docstrings for captured_output and captured_stdout.
Ezio Melotti [Sat, 14 May 2011 03:38:03 +0000 (06:38 +0300)]
#5723: Improve json tests to be executed with and without accelerations.
Ezio Melotti [Sat, 14 May 2011 03:02:25 +0000 (06:02 +0300)]
Change import_fresh_module to work with packages.
Antoine Pitrou [Thu, 12 May 2011 22:13:33 +0000 (00:13 +0200)]
Issue #12062: Fix a flushing bug when doing a certain type of I/O sequence
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
Kurt B. Kaiser [Thu, 12 May 2011 19:25:24 +0000 (15:25 -0400)]
Issue #11896: Save on Close failed despite selecting "Yes" in dialog.
_tkinter.c is returning <class '_tkinter.Tcl_Obj'> sometimes. Don't use
tkinter.messagebox.Message - use the helper functions which convert to str.
Kurt B. Kaiser [Wed, 11 May 2011 16:24:17 +0000 (12:24 -0400)]
Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to
exit. Converted to valid Unicode null in PythonCmd().
Victor Stinner [Tue, 10 May 2011 22:57:29 +0000 (00:57 +0200)]
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.
Ezio Melotti [Tue, 10 May 2011 22:02:56 +0000 (01:02 +0300)]
#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
Victor Stinner [Mon, 9 May 2011 22:38:00 +0000 (00:38 +0200)]
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!
Victor Stinner [Mon, 9 May 2011 22:19:53 +0000 (00:19 +0200)]
Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.
Ezio Melotti [Mon, 9 May 2011 15:36:53 +0000 (18:36 +0300)]
Some more tests were incorrectly marked as C specific.
Martin v. Löwis [Mon, 9 May 2011 06:05:43 +0000 (08:05 +0200)]
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Ezio Melotti [Mon, 9 May 2011 04:15:04 +0000 (07:15 +0300)]
#11910: Fix test_heapq to skip the C tests when _heapq is missing.
Ezio Melotti [Mon, 9 May 2011 03:41:55 +0000 (06:41 +0300)]
#11910: change import_fresh_module to return None when one of the "fresh" modules can not be imported.
Ezio Melotti [Mon, 9 May 2011 00:54:30 +0000 (03:54 +0300)]
Add a note to the str.find doc to suggest the use of the "in" operator.
Benjamin Peterson [Sun, 8 May 2011 20:32:46 +0000 (15:32 -0500)]
put import_fresh_module in __all__
Ezio Melotti [Sun, 8 May 2011 16:58:08 +0000 (19:58 +0300)]
Add back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:39:37 +0000 (19:39 +0200)]
Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath.
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge
Giampaolo Rodola' [Sat, 7 May 2011 17:03:47 +0000 (19:03 +0200)]
#12002 - ftplib's abort() method raises TypeError
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.
Ezio Melotti [Sat, 7 May 2011 14:58:09 +0000 (17:58 +0300)]
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
Nadeem Vawda [Sat, 7 May 2011 12:35:05 +0000 (14:35 +0200)]
Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:14:53 +0000 (14:14 +0200)]
Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 11:01:50 +0000 (13:01 +0200)]
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.
R David Murray [Sat, 7 May 2011 02:07:19 +0000 (22:07 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
Ronald Oussoren [Fri, 6 May 2011 08:23:04 +0000 (10:23 +0200)]
Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Ezio Melotti [Thu, 5 May 2011 11:19:48 +0000 (14:19 +0300)]
#11997: fix typo in init.rst.
R David Murray [Thu, 5 May 2011 01:06:57 +0000 (21:06 -0400)]
#8158: add missing 'description' description to optparse docstring.
Ezio Melotti [Wed, 4 May 2011 15:37:50 +0000 (18:37 +0300)]
#11985: update docstring of platform.python_implementation.