]>
granicus.if.org Git - python/log
Nadeem Vawda [Sat, 14 May 2011 21:07:36 +0000 (23:07 +0200)]
Fix memory leaks in zlib.compress() and .decompress().
Also, make sure that test_zlib tests decompress() for overly-large inputs.
Łukasz Langa [Sat, 14 May 2011 20:49:10 +0000 (22:49 +0200)]
Merged rethought pprint usage example from 3.1.
Łukasz Langa [Sat, 14 May 2011 20:43:44 +0000 (22:43 +0200)]
pprint usage example rethought.
Nadeem Vawda [Sat, 14 May 2011 20:32:19 +0000 (22:32 +0200)]
Null merge (#8650): zlib.compress() and .decompress() are already 64-bit safe.
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:15:47 +0000 (14:15 +0200)]
Merge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.
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 11:51:18 +0000 (14:51 +0300)]
Update __all__ and docstring.
Ezio Melotti [Sat, 14 May 2011 06:23:52 +0000 (09:23 +0300)]
#11979: merge with 3.1.
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:43:25 +0000 (08:43 +0300)]
#7960: merge with 3.1.
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:47:51 +0000 (06:47 +0300)]
#5723: merge with 3.1.
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:23:20 +0000 (06:23 +0300)]
Merge with 3.1.
Ezio Melotti [Sat, 14 May 2011 03:02:25 +0000 (06:02 +0300)]
Change import_fresh_module to work with packages.
Victor Stinner [Fri, 13 May 2011 15:40:15 +0000 (17:40 +0200)]
Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
a smarter "py-bt" command printing a classic Python traceback.
Raymond Hettinger [Fri, 13 May 2011 08:38:31 +0000 (01:38 -0700)]
Further beautification of the example
Raymond Hettinger [Fri, 13 May 2011 08:03:50 +0000 (01:03 -0700)]
Neaten up example so it can be cut and pasted.
Georg Brandl [Fri, 13 May 2011 04:55:28 +0000 (06:55 +0200)]
Use singular they. Thanks to Mark Summerfield.
Georg Brandl [Fri, 13 May 2011 04:54:23 +0000 (06:54 +0200)]
Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson.
Georg Brandl [Fri, 13 May 2011 04:50:56 +0000 (06:50 +0200)]
Merge in changes from 3.2.1b1 release repo.
Antoine Pitrou [Thu, 12 May 2011 22:16:28 +0000 (00:16 +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).
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:30:18 +0000 (15:30 -0400)]
Merge from 3.1
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.
Gregory P. Smith [Thu, 12 May 2011 05:20:11 +0000 (22:20 -0700)]
normalize whitespace.
Gregory P. Smith [Thu, 12 May 2011 05:18:23 +0000 (22:18 -0700)]
merge -
7a3f3ad83676 Fixes Issue #12044.
Kurt B. Kaiser [Wed, 11 May 2011 18:02:13 +0000 (14:02 -0400)]
Merge heads
Kurt B. Kaiser [Wed, 11 May 2011 17:54:44 +0000 (13:54 -0400)]
Correct version in IDLE NEWS.txt
Kurt B. Kaiser [Wed, 11 May 2011 17:48:54 +0000 (13:48 -0400)]
Merge from 3.1
Raymond Hettinger [Wed, 11 May 2011 17:47:27 +0000 (10:47 -0700)]
Document default fmtspec. Fix inaccurate note. Document exceptions.
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().
Senthil Kumaran [Wed, 11 May 2011 14:34:59 +0000 (22:34 +0800)]
Issue #11968 - the start_response header values in wsgiref shoudl be str not
bytes. The PEP-0333 says that and test_wsgiref follows the same. Updated docs
accordingly.
Victor Stinner [Tue, 10 May 2011 22:58:26 +0000 (00:58 +0200)]
Merge 3.1 (empty merge, a similar patch was already applied)
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.
Victor Stinner [Tue, 10 May 2011 22:36:28 +0000 (00:36 +0200)]
Issue #11169: compileall module uses repr() to format filenames and paths to
escape surrogate characters and show spaces.
Victor Stinner [Tue, 10 May 2011 22:14:28 +0000 (00:14 +0200)]
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.
Ezio Melotti [Tue, 10 May 2011 22:10:27 +0000 (01:10 +0300)]
#12051: merge with 3.1.
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.
Antoine Pitrou [Tue, 10 May 2011 21:37:11 +0000 (23:37 +0200)]
Issue #12054: use support.find_unused_port() instead of reinventing the wheel
Antoine Pitrou [Tue, 10 May 2011 17:16:29 +0000 (19:16 +0200)]
Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection. Patch by Daniel Evers.
Łukasz Langa [Tue, 10 May 2011 13:25:41 +0000 (15:25 +0200)]
Actually print out the description of what changed.
Raymond Hettinger [Tue, 10 May 2011 07:35:03 +0000 (00:35 -0700)]
Issue 12047: Expand the style guide.
Victor Stinner [Mon, 9 May 2011 22:48:41 +0000 (00:48 +0200)]
(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!
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:20:35 +0000 (00:20 +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.
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.
Łukasz Langa [Mon, 9 May 2011 16:49:42 +0000 (18:49 +0200)]
Closes #12036: ConfigParser: Document items() added the vars dictionary to the result
Ezio Melotti [Mon, 9 May 2011 15:40:42 +0000 (18:40 +0300)]
Merge with 3.1.
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:10:38 +0000 (08:10 +0200)]
merge 11164
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.
Martin v. Löwis [Mon, 9 May 2011 05:42:28 +0000 (07:42 +0200)]
The option is actually --no-as-needed.
Martin v. Löwis [Mon, 9 May 2011 05:37:45 +0000 (07:37 +0200)]
Use --as-needed when linking libpython3.so. Closes #11347.
Patch by Arfrever Frehtes Taifersar Arahesis.
Ezio Melotti [Mon, 9 May 2011 04:27:20 +0000 (07:27 +0300)]
#11910: merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 04:20:47 +0000 (07:20 +0300)]
Some tests were incorrectly marked as C specific.
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:43:14 +0000 (06:43 +0300)]
#11910: merge with 3.1.
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 01:00:06 +0000 (04:00 +0300)]
Merge with 3.1.
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:34:24 +0000 (15:34 -0500)]
merge 3.1
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 17:00:03 +0000 (20:00 +0300)]
Merge with 3.1.
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.
Georg Brandl [Sun, 8 May 2011 07:32:00 +0000 (09:32 +0200)]
Added tag v3.2.1b1 for changeset
8ffac2337a33
Georg Brandl [Sun, 8 May 2011 07:10:29 +0000 (09:10 +0200)]
Update suspicious ignore file.
Georg Brandl [Sun, 8 May 2011 07:03:36 +0000 (09:03 +0200)]
Bump to 3.2.1b1.
Antoine Pitrou [Sat, 7 May 2011 17:47:47 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:47:24 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:41:33 +0000 (19:41 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
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:09:34 +0000 (19:09 +0200)]
merge with 3.1
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:50:28 +0000 (19:50 +0300)]
#5421: merge with 3.1.
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.
Ezio Melotti [Sat, 7 May 2011 15:15:34 +0000 (18:15 +0300)]
#12017: merge with 3.1.
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:36 +0000 (14:35 +0200)]
Merge: Fix potential resource leak in test_mmap.
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:16:50 +0000 (14:16 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
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:08:54 +0000 (13:08 +0200)]
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.
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:20:34 +0000 (22:20 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
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 15:11:07 +0000 (17:11 +0200)]
ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on Windows XP.
Noticed while researching a buildbot failure due to a patch for issue #10684.
Antoine Pitrou [Fri, 6 May 2011 13:19:49 +0000 (15:19 +0200)]
Issue #12000: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject's commonName.
Patch by Nicolas Bareil.
Ronald Oussoren [Fri, 6 May 2011 08:57:22 +0000 (10:57 +0200)]
merge from 3.1
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)
Raymond Hettinger [Thu, 5 May 2011 21:15:12 +0000 (14:15 -0700)]
Sync-up minor code edits with the default branch.
Raymond Hettinger [Thu, 5 May 2011 18:49:12 +0000 (11:49 -0700)]
Sync-up minor code edits with the default branch.
Raymond Hettinger [Thu, 5 May 2011 18:35:50 +0000 (11:35 -0700)]
Avoid codec spelling issues by just using the utf-8 default.
Antoine Pitrou [Thu, 5 May 2011 18:17:32 +0000 (20:17 +0200)]
Use shared testing facilities in test_threading
R David Murray [Thu, 5 May 2011 15:52:44 +0000 (11:52 -0400)]
#11873: Improve test regex so random directory names don't cause test to fail
Nick Coghlan [Thu, 5 May 2011 14:02:12 +0000 (00:02 +1000)]
Remove trailing whitespace
Nick Coghlan [Thu, 5 May 2011 13:49:25 +0000 (23:49 +1000)]
Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.