]> granicus.if.org Git - python/log
python
13 years agoAdd 3.2.1 UUIDs
Martin v. Löwis [Mon, 16 May 2011 05:56:32 +0000 (07:56 +0200)]
Add 3.2.1 UUIDs

13 years agoAdded tag v3.2.1rc1 for changeset cfa9364997c7
Georg Brandl [Sun, 15 May 2011 15:52:56 +0000 (17:52 +0200)]
Added tag v3.2.1rc1 for changeset cfa9364997c7

13 years agoBump to 3.2.1rc1. v3.2.1rc1
Georg Brandl [Sun, 15 May 2011 15:52:42 +0000 (17:52 +0200)]
Bump to 3.2.1rc1.

13 years agoUpdate pydoc topics and handle suspicious markup.
Georg Brandl [Sun, 15 May 2011 15:51:24 +0000 (17:51 +0200)]
Update pydoc topics and handle suspicious markup.

13 years agoNEWS entry for fix of issue #9516
Ronald Oussoren [Sun, 15 May 2011 14:50:28 +0000 (16:50 +0200)]
NEWS entry for fix of issue #9516

13 years agoIssue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
Ronald Oussoren [Sun, 15 May 2011 14:46:11 +0000 (16:46 +0200)]
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.

Without this patch python will fail to start properly when the environment
variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is
not compatible with the value during Python's build. This is caused by code
in sysconfig that was only meant to be used in disutils.

13 years agoBranch merge.
Georg Brandl [Sun, 15 May 2011 08:42:56 +0000 (10:42 +0200)]
Branch merge.

13 years ago(Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the
Victor Stinner [Sun, 15 May 2011 08:27:09 +0000 (10:27 +0200)]
(Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the
signal module. Patch written by Charles-François Natali.

13 years agoIssue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
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.

13 years agoFix-up NEWS: entries made after 3.2.1b1 go into the 3.2.1c1 section.
Georg Brandl [Sun, 15 May 2011 07:49:19 +0000 (09:49 +0200)]
Fix-up NEWS: entries made after 3.2.1b1 go into the 3.2.1c1 section.

13 years agoMerge #6498 fix from 3.1.
Georg Brandl [Sun, 15 May 2011 06:49:29 +0000 (08:49 +0200)]
Merge #6498 fix from 3.1.

13 years agoCloses #6498: fix several misspellings of "SystemExit" as "SystemError".
Georg Brandl [Sun, 15 May 2011 06:49:12 +0000 (08:49 +0200)]
Closes #6498: fix several misspellings of "SystemExit" as "SystemError".

13 years agoMerge: Fix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:48:57 +0000 (00:48 +0200)]
Merge: Fix copy-paste mistake in new zlib test.

13 years agoFix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:48:24 +0000 (00:48 +0200)]
Fix copy-paste mistake in new zlib test.

13 years agofix whitespace
Gregory P. Smith [Sat, 14 May 2011 22:35:19 +0000 (15:35 -0700)]
fix whitespace

13 years agomerge heads
Gregory P. Smith [Sat, 14 May 2011 22:33:43 +0000 (15:33 -0700)]
merge heads

13 years agomerge heads.
Gregory P. Smith [Sat, 14 May 2011 22:26:35 +0000 (15:26 -0700)]
merge heads.

13 years agoMerge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Nadeem Vawda [Sat, 14 May 2011 22:20:52 +0000 (00:20 +0200)]
Merge: #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.

13 years agoIssue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
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.

13 years agoFixes Issue #12059: Properly handle missing hash functions even when
Gregory P. Smith [Sat, 14 May 2011 22:15:49 +0000 (15:15 -0700)]
Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.

13 years agoMerge heads (!)
Kurt B. Kaiser [Sat, 14 May 2011 21:50:02 +0000 (17:50 -0400)]
Merge heads (!)

13 years agoMerge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:31:54 +0000 (17:31 -0400)]
Merge heads

13 years agoMerge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:30:58 +0000 (17:30 -0400)]
Merge heads

13 years agoMerge from 3.1
Kurt B. Kaiser [Sat, 14 May 2011 21:22:14 +0000 (17:22 -0400)]
Merge from 3.1
Issue #6378: Further adjust idle.bat to start associated Python

13 years agoIssue #6378: Further adjust idle.bat to start associated Python
Kurt B. Kaiser [Sat, 14 May 2011 21:20:09 +0000 (17:20 -0400)]
Issue #6378: Further adjust idle.bat to start associated Python

13 years agoFix memory leaks in zlib.compress() and .decompress().
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.

13 years agoMerged rethought pprint usage example from 3.1.
Łukasz Langa [Sat, 14 May 2011 20:49:10 +0000 (22:49 +0200)]
Merged rethought pprint usage example from 3.1.

13 years agopprint usage example rethought.
Łukasz Langa [Sat, 14 May 2011 20:43:44 +0000 (22:43 +0200)]
pprint usage example rethought.

13 years agoNull merge (#8650): zlib.compress() and .decompress() are already 64-bit safe.
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.

13 years agoIssue #8650: Backport 64-bit safety fixes for compress() and decompress().
Nadeem Vawda [Sat, 14 May 2011 20:26:55 +0000 (22:26 +0200)]
Issue #8650: Backport 64-bit safety fixes for compress() and decompress().

13 years agoMerge: #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
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.

13 years agoIssue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
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.

13 years agoUpdate __all__ and docstring.
Ezio Melotti [Sat, 14 May 2011 11:51:18 +0000 (14:51 +0300)]
Update __all__ and docstring.

13 years ago#11979: merge with 3.1.
Ezio Melotti [Sat, 14 May 2011 06:23:52 +0000 (09:23 +0300)]
#11979: merge with 3.1.

13 years ago#11979: improve wording and markup in sockets howto. Patch by Xavier Morel.
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.

13 years ago#7960: merge with 3.1.
Ezio Melotti [Sat, 14 May 2011 05:43:25 +0000 (08:43 +0300)]
#7960: merge with 3.1.

13 years ago#7960: fix docstrings for captured_output and captured_stdout.
Ezio Melotti [Sat, 14 May 2011 05:22:47 +0000 (08:22 +0300)]
#7960: fix docstrings for captured_output and captured_stdout.

13 years ago#5723: merge with 3.1.
Ezio Melotti [Sat, 14 May 2011 03:47:51 +0000 (06:47 +0300)]
#5723: merge with 3.1.

13 years ago#5723: Improve json tests to be executed with and without accelerations.
Ezio Melotti [Sat, 14 May 2011 03:38:03 +0000 (06:38 +0300)]
#5723: Improve json tests to be executed with and without accelerations.

13 years agoMerge with 3.1.
Ezio Melotti [Sat, 14 May 2011 03:23:20 +0000 (06:23 +0300)]
Merge with 3.1.

13 years agoChange import_fresh_module to work with packages.
Ezio Melotti [Sat, 14 May 2011 03:02:25 +0000 (06:02 +0300)]
Change import_fresh_module to work with packages.

13 years agoIssue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
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.

13 years agoFurther beautification of the example
Raymond Hettinger [Fri, 13 May 2011 08:38:31 +0000 (01:38 -0700)]
Further beautification of the example

13 years agoNeaten up example so it can be cut and pasted.
Raymond Hettinger [Fri, 13 May 2011 08:03:50 +0000 (01:03 -0700)]
Neaten up example so it can be cut and pasted.

13 years agoUse singular they. Thanks to Mark Summerfield.
Georg Brandl [Fri, 13 May 2011 04:55:28 +0000 (06:55 +0200)]
Use singular they. Thanks to Mark Summerfield.

13 years agoFix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson.
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.

13 years agoMerge in changes from 3.2.1b1 release repo.
Georg Brandl [Fri, 13 May 2011 04:50:56 +0000 (06:50 +0200)]
Merge in changes from 3.2.1b1 release repo.

13 years agoIssue #12062: Fix a flushing bug when doing a certain type of I/O sequence
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).

13 years agoIssue #12062: Fix a flushing bug when doing a certain type of I/O sequence
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).

13 years agoMerge from 3.1
Kurt B. Kaiser [Thu, 12 May 2011 19:30:18 +0000 (15:30 -0400)]
Merge from 3.1

13 years agoIssue #11896: Save on Close failed despite selecting "Yes" in dialog.
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.

13 years agonormalize whitespace.
Gregory P. Smith [Thu, 12 May 2011 05:20:11 +0000 (22:20 -0700)]
normalize whitespace.

13 years agomerge - 7a3f3ad83676 Fixes Issue #12044.
Gregory P. Smith [Thu, 12 May 2011 05:18:23 +0000 (22:18 -0700)]
merge - 7a3f3ad83676  Fixes Issue #12044.

13 years agoMerge heads
Kurt B. Kaiser [Wed, 11 May 2011 18:02:13 +0000 (14:02 -0400)]
Merge heads

13 years agoCorrect version in IDLE NEWS.txt
Kurt B. Kaiser [Wed, 11 May 2011 17:54:44 +0000 (13:54 -0400)]
Correct version in IDLE NEWS.txt

13 years agoMerge from 3.1
Kurt B. Kaiser [Wed, 11 May 2011 17:48:54 +0000 (13:48 -0400)]
Merge from 3.1

13 years agoDocument default fmtspec. Fix inaccurate note. Document exceptions.
Raymond Hettinger [Wed, 11 May 2011 17:47:27 +0000 (10:47 -0700)]
Document default fmtspec. Fix inaccurate note. Document exceptions.

13 years agoIssue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.
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().

13 years agoIssue #11968 - the start_response header values in wsgiref shoudl be str not
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.

13 years agoMerge 3.1 (empty merge, a similar patch was already applied)
Victor Stinner [Tue, 10 May 2011 22:58:26 +0000 (00:58 +0200)]
Merge 3.1 (empty merge, a similar patch was already applied)

13 years agoIssue #10419: Fix build_scripts command of distutils to handle correctly
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.

13 years agoIssue #11169: compileall module uses repr() to format filenames and paths to
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.

13 years agoClose #10419, issue #6011: build_scripts command of distutils handles correctly
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.

13 years ago#12051: merge with 3.1.
Ezio Melotti [Tue, 10 May 2011 22:10:27 +0000 (01:10 +0300)]
#12051: merge with 3.1.

13 years ago#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the...
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.

13 years agoIssue #12054: use support.find_unused_port() instead of reinventing the wheel
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

13 years agoIssue #8498: In socket.accept(), allow to specify 0 as a backlog value in
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.

13 years agoActually print out the description of what changed.
Łukasz Langa [Tue, 10 May 2011 13:25:41 +0000 (15:25 +0200)]
Actually print out the description of what changed.

13 years agoIssue 12047: Expand the style guide.
Raymond Hettinger [Tue, 10 May 2011 07:35:03 +0000 (00:35 -0700)]
Issue 12047: Expand the style guide.

13 years ago(Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
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!

13 years agoIssue #12012: ssl.PROTOCOL_SSLv2 becomes optional
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!

13 years agoIssue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, clear
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.

13 years agoIssue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
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.

13 years agoCloses #12036: ConfigParser: Document items() added the vars dictionary to the result
Ł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

13 years agoMerge with 3.1.
Ezio Melotti [Mon, 9 May 2011 15:40:42 +0000 (18:40 +0300)]
Merge with 3.1.

13 years agoSome more tests were incorrectly marked as C specific.
Ezio Melotti [Mon, 9 May 2011 15:36:53 +0000 (18:36 +0300)]
Some more tests were incorrectly marked as C specific.

13 years agomerge 11164
Martin v. Löwis [Mon, 9 May 2011 06:10:38 +0000 (08:10 +0200)]
merge 11164

13 years agoStop trying to use _xmlplus in the xml module. Closes #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.

13 years agoThe option is actually --no-as-needed.
Martin v. Löwis [Mon, 9 May 2011 05:42:28 +0000 (07:42 +0200)]
The option is actually --no-as-needed.

13 years agoUse --as-needed when linking libpython3.so. Closes #11347.
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.

13 years ago#11910: merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 04:27:20 +0000 (07:27 +0300)]
#11910: merge with 3.1.

13 years agoSome tests were incorrectly marked as C specific.
Ezio Melotti [Mon, 9 May 2011 04:20:47 +0000 (07:20 +0300)]
Some tests were incorrectly marked as C specific.

13 years ago#11910: Fix test_heapq to skip the C tests when _heapq is missing.
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.

13 years ago#11910: merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 03:43:14 +0000 (06:43 +0300)]
#11910: merge with 3.1.

13 years ago#11910: change import_fresh_module to return None when one of the "fresh" modules...
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.

13 years agoMerge with 3.1.
Ezio Melotti [Mon, 9 May 2011 01:00:06 +0000 (04:00 +0300)]
Merge with 3.1.

13 years agoAdd a note to the str.find doc to suggest the use of the "in" operator.
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.

13 years agomerge 3.1
Benjamin Peterson [Sun, 8 May 2011 20:34:24 +0000 (15:34 -0500)]
merge 3.1

13 years agoput import_fresh_module in __all__
Benjamin Peterson [Sun, 8 May 2011 20:32:46 +0000 (15:32 -0500)]
put import_fresh_module in __all__

13 years agoMerge with 3.1.
Ezio Melotti [Sun, 8 May 2011 17:00:03 +0000 (20:00 +0300)]
Merge with 3.1.

13 years agoAdd back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
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.

13 years agoAdded tag v3.2.1b1 for changeset 8ffac2337a33
Georg Brandl [Sun, 8 May 2011 07:32:00 +0000 (09:32 +0200)]
Added tag v3.2.1b1 for changeset 8ffac2337a33

13 years agoUpdate suspicious ignore file. v3.2.1b1
Georg Brandl [Sun, 8 May 2011 07:10:29 +0000 (09:10 +0200)]
Update suspicious ignore file.

13 years agoBump to 3.2.1b1.
Georg Brandl [Sun, 8 May 2011 07:03:36 +0000 (09:03 +0200)]
Bump to 3.2.1b1.

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:47:47 +0000 (19:47 +0200)]
Merge

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:47:24 +0000 (19:47 +0200)]
Merge

13 years agoMerge
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge

13 years agoMerge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
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.

13 years agoIssue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun...
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.

13 years agomerge
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge