]> granicus.if.org Git - python/log
python
11 years agomerge with 3.3
Georg Brandl [Sun, 12 Jan 2014 07:10:52 +0000 (08:10 +0100)]
merge with 3.3

11 years agomerge heads
Georg Brandl [Sun, 12 Jan 2014 07:10:39 +0000 (08:10 +0100)]
merge heads

11 years agoDoc: update Sphinx toolchain also in make.bat
Georg Brandl [Sun, 12 Jan 2014 07:09:01 +0000 (08:09 +0100)]
Doc: update Sphinx toolchain also in make.bat

11 years agomerge from 3.3
Senthil Kumaran [Sun, 12 Jan 2014 06:22:21 +0000 (22:22 -0800)]
merge from 3.3

Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.

11 years agoIssue #19092 - Raise a correct exception when cgi.FieldStorage is given an
Senthil Kumaran [Sun, 12 Jan 2014 06:20:16 +0000 (22:20 -0800)]
Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.

11 years agoMerge with 3.3
Georg Brandl [Sat, 11 Jan 2014 19:04:29 +0000 (20:04 +0100)]
Merge with 3.3

11 years agoUpdate Sphinx toolchain.
Georg Brandl [Sat, 11 Jan 2014 19:04:19 +0000 (20:04 +0100)]
Update Sphinx toolchain.

11 years agoFix minor markup bug: sub-toctrees should not have :numbered:
Georg Brandl [Sat, 11 Jan 2014 18:52:17 +0000 (19:52 +0100)]
Fix minor markup bug: sub-toctrees should not have :numbered:

11 years agotkinter.Text.debug() now always returns 0/1.
Serhiy Storchaka [Sat, 11 Jan 2014 11:15:39 +0000 (13:15 +0200)]
tkinter.Text.debug() now always returns 0/1.
Fixed a regression inroduced in issue #6157.

11 years agotkinter.Text.debug() now always returns 0/1.
Serhiy Storchaka [Sat, 11 Jan 2014 11:13:46 +0000 (13:13 +0200)]
tkinter.Text.debug() now always returns 0/1.
Fixed a regression inroduced in issue #6157.

11 years agoFixed the serve.py script.
Serhiy Storchaka [Sat, 11 Jan 2014 09:53:13 +0000 (11:53 +0200)]
Fixed the serve.py script.
The application object must return an iterable yielding bytestrings.

11 years agoFixed the serve.py script.
Serhiy Storchaka [Sat, 11 Jan 2014 09:52:20 +0000 (11:52 +0200)]
Fixed the serve.py script.
The application object must return an iterable yielding bytestrings.

11 years agoFix ResourceWarning in test_asyncio.test_windows_events:
Victor Stinner [Fri, 10 Jan 2014 23:16:50 +0000 (00:16 +0100)]
Fix ResourceWarning in test_asyncio.test_windows_events:
close the write end of the socket pair

11 years agoCleanup properly proactor event loop
Victor Stinner [Fri, 10 Jan 2014 23:03:21 +0000 (00:03 +0100)]
Cleanup properly proactor event loop

* store the "self reading" future when the "self pipe" is closed (when the
  event loop is closed)
* store "accept" futures to cancel them when we stop serving
* close the "accept socket" if the "accept future" is cancelled

Fix many warnings which can be seen when unit tests are run in verbose mode.

11 years agoTry to fix some ttk tests. Error messages were changed in 8.6b3.
Serhiy Storchaka [Fri, 10 Jan 2014 22:10:56 +0000 (00:10 +0200)]
Try to fix some ttk tests.  Error messages were changed in 8.6b3.

11 years agoTry to fix some ttk tests. Error messages were changed in 8.6b3.
Serhiy Storchaka [Fri, 10 Jan 2014 22:10:04 +0000 (00:10 +0200)]
Try to fix some ttk tests.  Error messages were changed in 8.6b3.

11 years agoasyncio: Minimal pty support in UNIX read pipe, by Jonathan Slenders.
Guido van Rossum [Fri, 10 Jan 2014 21:30:04 +0000 (13:30 -0800)]
asyncio: Minimal pty support in UNIX read pipe, by Jonathan Slenders.

11 years agoasyncio: Fix race in subprocess transport, by Victor Stinner.
Guido van Rossum [Fri, 10 Jan 2014 21:28:59 +0000 (13:28 -0800)]
asyncio: Fix race in subprocess transport, by Victor Stinner.

11 years agoasyncio: Tiny cleanup in streams.py.
Guido van Rossum [Fri, 10 Jan 2014 21:26:38 +0000 (13:26 -0800)]
asyncio: Tiny cleanup in streams.py.

11 years agoasyncio: Don't special-case GeneratorExit in Condition.wait().
Guido van Rossum [Fri, 10 Jan 2014 21:25:38 +0000 (13:25 -0800)]
asyncio: Don't special-case GeneratorExit in Condition.wait().

11 years agonull merge from 3.3
Benjamin Peterson [Fri, 10 Jan 2014 15:24:59 +0000 (09:24 -0600)]
null merge from 3.3

11 years agofix build when SCHED_SPORADIC is defined (closes #20217)
Benjamin Peterson [Fri, 10 Jan 2014 15:22:40 +0000 (09:22 -0600)]
fix build when SCHED_SPORADIC is defined (closes #20217)

11 years agoIssue #19804: The test_find_mac test in test_uuid is now skipped if the
Serhiy Storchaka [Fri, 10 Jan 2014 13:08:07 +0000 (15:08 +0200)]
Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.

11 years agoIssue #19804: The test_find_mac test in test_uuid is now skipped if the
Serhiy Storchaka [Fri, 10 Jan 2014 13:06:59 +0000 (15:06 +0200)]
Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.

11 years agoRemove an unneeded cast.
Brett Cannon [Fri, 10 Jan 2014 12:43:55 +0000 (07:43 -0500)]
Remove an unneeded cast.

11 years agoIssue #19886: Use better estimated memory requirements for bigmem tests.
Serhiy Storchaka [Fri, 10 Jan 2014 11:39:27 +0000 (13:39 +0200)]
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.

11 years agoIssue #19886: Use better estimated memory requirements for bigmem tests.
Serhiy Storchaka [Fri, 10 Jan 2014 11:37:54 +0000 (13:37 +0200)]
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.

11 years agoCloses #20200: Argument Clinic custom converter example should be in a
Zachary Ware [Fri, 10 Jan 2014 03:41:23 +0000 (21:41 -0600)]
Closes #20200: Argument Clinic custom converter example should be in a
'python' clinic block, not a 'clinic' clinic block.  Patch written by
Ryan Smith-Roberts.

11 years agoIssue #20152: import.c now uses Argument Clinic.
Brett Cannon [Fri, 10 Jan 2014 00:03:32 +0000 (19:03 -0500)]
Issue #20152: import.c now uses Argument Clinic.

11 years agoassertEquals is deprecated, use assertEqual instead.
Antoine Pitrou [Thu, 9 Jan 2014 23:02:38 +0000 (00:02 +0100)]
assertEquals is deprecated, use assertEqual instead.

11 years agoIssue #13107: argparse and optparse no longer raises an exception when output
Serhiy Storchaka [Thu, 9 Jan 2014 21:18:41 +0000 (23:18 +0200)]
Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.

11 years agoIssue #13107: argparse and optparse no longer raises an exception when output
Serhiy Storchaka [Thu, 9 Jan 2014 21:14:27 +0000 (23:14 +0200)]
Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.

11 years agoTry to fix test_ssl failures on some buildbots
Antoine Pitrou [Thu, 9 Jan 2014 20:30:17 +0000 (21:30 +0100)]
Try to fix test_ssl failures on some buildbots

11 years agoTry to fix test_ssl failures on some buildbots
Antoine Pitrou [Thu, 9 Jan 2014 20:28:48 +0000 (21:28 +0100)]
Try to fix test_ssl failures on some buildbots

11 years agoIssue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked...
Antoine Pitrou [Thu, 9 Jan 2014 19:09:03 +0000 (20:09 +0100)]
Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.

11 years agoRemove conditional: it is useless at this point (OpenSSL headers are not yet included)
Antoine Pitrou [Thu, 9 Jan 2014 19:07:41 +0000 (20:07 +0100)]
Remove conditional: it is useless at this point (OpenSSL headers are not yet included)

11 years agoIssue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked...
Antoine Pitrou [Thu, 9 Jan 2014 19:02:20 +0000 (20:02 +0100)]
Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.

11 years agoDo not reset the line number because we already set file position to correct
Serhiy Storchaka [Thu, 9 Jan 2014 18:13:52 +0000 (20:13 +0200)]
Do not reset the line number because we already set file position to correct
value.

(fixes error in patch for issue #18960)

11 years agoDo not reset the line number because we already set file position to correct
Serhiy Storchaka [Thu, 9 Jan 2014 18:12:49 +0000 (20:12 +0200)]
Do not reset the line number because we already set file position to correct
value.

(fixes error in patch for issue #18960)

11 years agomerge 3.3
Benjamin Peterson [Thu, 9 Jan 2014 17:12:31 +0000 (11:12 -0600)]
merge 3.3

11 years agoclear zip stat cache after each ref leak run
Benjamin Peterson [Thu, 9 Jan 2014 17:10:30 +0000 (11:10 -0600)]
clear zip stat cache after each ref leak run

11 years agoIssue #18960: Fix bugs with Python source code encoding in the second line.
Serhiy Storchaka [Thu, 9 Jan 2014 16:41:59 +0000 (18:41 +0200)]
Issue #18960: Fix bugs with Python source code encoding in the second line.

* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.

11 years agoIssue #18960: Fix bugs with Python source code encoding in the second line.
Serhiy Storchaka [Thu, 9 Jan 2014 16:36:09 +0000 (18:36 +0200)]
Issue #18960: Fix bugs with Python source code encoding in the second line.

* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.

11 years agomerge 3.3
Benjamin Peterson [Thu, 9 Jan 2014 15:36:23 +0000 (09:36 -0600)]
merge 3.3

11 years agofix zipimport ref leak
Benjamin Peterson [Thu, 9 Jan 2014 15:36:10 +0000 (09:36 -0600)]
fix zipimport ref leak

11 years agoIssue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
Serhiy Storchaka [Thu, 9 Jan 2014 12:53:41 +0000 (14:53 +0200)]
Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
consumption.

11 years agoIssue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
Serhiy Storchaka [Thu, 9 Jan 2014 12:50:20 +0000 (14:50 +0200)]
Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
consumption.

11 years agowhatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.
R David Murray [Wed, 8 Jan 2014 23:16:02 +0000 (18:16 -0500)]
whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.

And a news item rephrase.

11 years agoMerge: Fix verb tense in base64 docs, and the phrasing of a news entry.
R David Murray [Wed, 8 Jan 2014 23:14:20 +0000 (18:14 -0500)]
Merge: Fix verb tense in base64 docs, and the phrasing of a news entry.

11 years agoFix verb tense in base64 docs, and the phrasing of a news entry.
R David Murray [Wed, 8 Jan 2014 23:09:29 +0000 (18:09 -0500)]
Fix verb tense in base64 docs, and the phrasing of a news entry.

11 years agowhatsnew: FileIO.readall performance, os.cpu_count.
R David Murray [Wed, 8 Jan 2014 22:21:22 +0000 (17:21 -0500)]
whatsnew: FileIO.readall performance, os.cpu_count.

And more news item tweaks.

11 years ago(Merge 3.3) Issue #20113: Fix test_posix on OpenIndiana
Victor Stinner [Wed, 8 Jan 2014 15:01:42 +0000 (16:01 +0100)]
(Merge 3.3) Issue #20113: Fix test_posix on OpenIndiana

11 years agoIssue #20113: Fix test_posix on OpenIndiana
Victor Stinner [Wed, 8 Jan 2014 15:01:31 +0000 (16:01 +0100)]
Issue #20113: Fix test_posix on OpenIndiana

11 years ago(Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError
Victor Stinner [Wed, 8 Jan 2014 14:26:12 +0000 (15:26 +0100)]
(Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError
exception on error instead of returning -1.

11 years agoIssue #20113: os.readv() and os.writev() now raise an OSError exception on
Victor Stinner [Wed, 8 Jan 2014 14:21:28 +0000 (15:21 +0100)]
Issue #20113: os.readv() and os.writev() now raise an OSError exception on
error instead of returning -1.

11 years agoIssue 19713: Remove PEP 451-related code that should have been factored out.
Eric Snow [Wed, 8 Jan 2014 06:29:19 +0000 (23:29 -0700)]
Issue 19713: Remove PEP 451-related code that should have been factored out.

This code was an artifact of issuing a DeprecationWarning for the lack
of loader.exec_module().  However, we have deferred such warnings to
later Python versions.

11 years agoFixes issue #19081: When a zipimport .zip file in sys.path being imported from
Gregory P. Smith [Wed, 8 Jan 2014 02:34:23 +0000 (18:34 -0800)]
Fixes issue #19081: When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).

11 years agoFixes Issue #19081: When a zipimport .zip file in sys.path being imported from
Gregory P. Smith [Wed, 8 Jan 2014 02:30:07 +0000 (18:30 -0800)]
Fixes Issue #19081: When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).

11 years agoFix typo in asyncio/streams.py.
Guido van Rossum [Wed, 8 Jan 2014 01:03:26 +0000 (17:03 -0800)]
Fix typo in asyncio/streams.py.

11 years agoIssue #19723: Missed one conversion to the new Argument Clinic syntax.
Larry Hastings [Tue, 7 Jan 2014 22:25:26 +0000 (14:25 -0800)]
Issue #19723: Missed one conversion to the new Argument Clinic syntax.

11 years agoIssue #19723: Fix issue number typo in Misc/NEWS
Zachary Ware [Tue, 7 Jan 2014 22:01:28 +0000 (16:01 -0600)]
Issue #19723: Fix issue number typo in Misc/NEWS

11 years agoIssue #12837: Silence a Clang compiler warning on OS X.
Brett Cannon [Tue, 7 Jan 2014 22:01:01 +0000 (17:01 -0500)]
Issue #12837: Silence a Clang compiler warning on OS X.

Now makes CPython build without warnings on OS X under Clang with
-Wno-unused-value -Wno-empty-body -Qunused-arguments
-Wno-deprecated-declarations.

Thanks to David Watson for taking an initial stab at a solution.

11 years agoIssue #19719: Update various finder and loader ABCs such that their
Brett Cannon [Tue, 7 Jan 2014 20:52:42 +0000 (15:52 -0500)]
Issue #19719: Update various finder and loader ABCs such that their
old methods now provide implementations when PEP 451 APIs are present.

This should help with backwards-compatibility with code which has not
been updated to work with PEP 451.

11 years agoIssue #19273: The marker comments Argument Clinic uses have been changed
Larry Hastings [Tue, 7 Jan 2014 20:41:53 +0000 (12:41 -0800)]
Issue #19273: The marker comments Argument Clinic uses have been changed
to improve readability.

11 years agoIssue #20157: When Argument Clinic renames a parameter because its name
Larry Hastings [Tue, 7 Jan 2014 20:21:08 +0000 (12:21 -0800)]
Issue #20157: When Argument Clinic renames a parameter because its name
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.

11 years agoIssue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!"
Larry Hastings [Tue, 7 Jan 2014 20:13:13 +0000 (12:13 -0800)]
Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!"
format unit.

11 years agoIssue #20144: Argument Clinic now supports simple constants as parameter
Larry Hastings [Tue, 7 Jan 2014 19:53:01 +0000 (11:53 -0800)]
Issue #20144: Argument Clinic now supports simple constants as parameter
default values.  inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.

11 years agowhatsnew: expand 'dis' entry.
R David Murray [Tue, 7 Jan 2014 19:30:17 +0000 (14:30 -0500)]
whatsnew: expand 'dis' entry.

Also add one missing versionadded.

11 years agoIssue #20072: Fixed multiple errors in tkinter with wantobjects is False.
Serhiy Storchaka [Tue, 7 Jan 2014 17:30:36 +0000 (19:30 +0200)]
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.

* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
  LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.

11 years agoIssue #20072: Fixed multiple errors in tkinter with wantobjects is False.
Serhiy Storchaka [Tue, 7 Jan 2014 17:27:42 +0000 (19:27 +0200)]
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.

* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
  LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.

11 years agoIssue #20096: Update the Python 2/3 porting HOWTO to focus on
Brett Cannon [Tue, 7 Jan 2014 16:52:04 +0000 (11:52 -0500)]
Issue #20096: Update the Python 2/3 porting HOWTO to focus on
source-compatibility instead of 2to3.

11 years agoIssue #20162: test_hash_distribution() uses subTest() to mention the prefix in
Victor Stinner [Tue, 7 Jan 2014 13:40:51 +0000 (14:40 +0100)]
Issue #20162: test_hash_distribution() uses subTest() to mention the prefix in
the error message.

11 years agoIssue 19713: Add PEP 451-related deprecations.
Eric Snow [Tue, 7 Jan 2014 03:49:04 +0000 (20:49 -0700)]
Issue 19713: Add PEP 451-related deprecations.

11 years agoRemove more usage of APIs deprecated by PEP 451.
Eric Snow [Tue, 7 Jan 2014 03:42:59 +0000 (20:42 -0700)]
Remove more usage of APIs deprecated by PEP 451.

11 years agoIssue #19703: Update pydoc to use the new importer APIs.
Eric Snow [Tue, 7 Jan 2014 03:42:59 +0000 (20:42 -0700)]
Issue #19703: Update pydoc to use the new importer APIs.

11 years agoRemove dead PEP 451 code.
Eric Snow [Tue, 7 Jan 2014 03:38:16 +0000 (20:38 -0700)]
Remove dead PEP 451 code.

11 years agoasyncio: Fix deadlock in readexactly(). Fixes issue #20154.
Guido van Rossum [Tue, 7 Jan 2014 00:09:18 +0000 (16:09 -0800)]
asyncio: Fix deadlock in readexactly(). Fixes issue #20154.

11 years agowhatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
R David Murray [Mon, 6 Jan 2014 21:32:05 +0000 (16:32 -0500)]
whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.

Also add a missing word to gc entry, and delete a now-obsolete doc note
in the weakref __callback__ docs.  (Opened an issue for rewriting
the section that compares finalizers and __del__ method.)

11 years agowhatsnew: pydoc.Scanner removal, check_output input parm, operator.py.
R David Murray [Mon, 6 Jan 2014 01:52:06 +0000 (20:52 -0500)]
whatsnew: pydoc.Scanner removal, check_output input parm, operator.py.

Also fleshed out the entry on struct.iter_unpack.

11 years agoIssue #20143: The line numbers reported in Argument Clinic errors are
Larry Hastings [Mon, 6 Jan 2014 19:10:08 +0000 (11:10 -0800)]
Issue #20143: The line numbers reported in Argument Clinic errors are
now more accurate.

11 years agoIssue #20142: Py_buffer variables generated by Argument Clinic are now
Larry Hastings [Mon, 6 Jan 2014 18:34:00 +0000 (10:34 -0800)]
Issue #20142: Py_buffer variables generated by Argument Clinic are now
initialized with a default value.

11 years agoMerge 3.4.0b2 release revisions back into mainline.
Larry Hastings [Mon, 6 Jan 2014 15:24:19 +0000 (07:24 -0800)]
Merge 3.4.0b2 release revisions back into mainline.

11 years agoPost-release engineering; updated NEWS and version string.
Larry Hastings [Mon, 6 Jan 2014 15:17:47 +0000 (07:17 -0800)]
Post-release engineering; updated NEWS and version string.

11 years agoAdd comments to frozenset_hash().
Raymond Hettinger [Sun, 5 Jan 2014 20:00:31 +0000 (12:00 -0800)]
Add comments to frozenset_hash().

Also, provide a minor hint to the compiler on how to group the xors.

11 years agoIssue19995: %o, %x, %X now only accept ints
Ethan Furman [Sun, 5 Jan 2014 14:50:30 +0000 (06:50 -0800)]
Issue19995: %o, %x, %X now only accept ints

11 years agoAdded tag v3.4.0b2 for changeset ba32913eb13e
Larry Hastings [Sun, 5 Jan 2014 12:43:31 +0000 (04:43 -0800)]
Added tag v3.4.0b2 for changeset ba32913eb13e

11 years agoBump version number for 3.4.0b2. v3.4.0b2
Larry Hastings [Sun, 5 Jan 2014 12:40:25 +0000 (04:40 -0800)]
Bump version number for 3.4.0b2.

11 years agoRegenerated pydoc/topics.py, and fix a "suspicious" doc error.
Larry Hastings [Sun, 5 Jan 2014 12:35:56 +0000 (04:35 -0800)]
Regenerated pydoc/topics.py, and fix a "suspicious" doc error.

11 years agoArgument Clinic: fixed test suite, improved howto.
Larry Hastings [Sun, 5 Jan 2014 10:50:45 +0000 (02:50 -0800)]
Argument Clinic: fixed test suite, improved howto.

11 years agoIssue 20123: Disable a problematic test.
Eric Snow [Sun, 5 Jan 2014 06:04:27 +0000 (23:04 -0700)]
Issue 20123: Disable a problematic test.

11 years agoFix news entry to use updated name for XMLPullParser.
R David Murray [Sun, 5 Jan 2014 05:30:03 +0000 (00:30 -0500)]
Fix news entry to use updated name for XMLPullParser.

11 years agoIssue 20123: try using a different builtin module in a pydoc test.
Eric Snow [Sun, 5 Jan 2014 04:56:07 +0000 (21:56 -0700)]
Issue 20123: try using a different builtin module in a pydoc test.

The test is failing on one of the stable FreeBSD buildbots.  It seems
unlikely that the gc module would not be available, so switching to
_imp may not fix the problem.

11 years agowhatsnew: XMLPullParser, plus some doc updates.
R David Murray [Sun, 5 Jan 2014 04:52:50 +0000 (23:52 -0500)]
whatsnew: XMLPullParser, plus some doc updates.

I was confused by the text saying that read_events "iterated", since it
actually returns an iterator (that's what a generator does) that the
caller must then iterate.  So I tidied up the language.  I'm not sure
what the sentence "Events provided in a previous call to read_events()
will not be yielded again." is trying to convey, so I didn't try to fix that.

Also fixed a couple more news items.

11 years agoIssue 20123: Fix pydoc.synopsis() for "binary" modules.
Eric Snow [Sun, 5 Jan 2014 03:38:11 +0000 (20:38 -0700)]
Issue 20123: Fix pydoc.synopsis() for "binary" modules.

Also add missing tests to test_pydoc.

11 years agowhatsnew: removal of TYPE_INT64 from marshal.
R David Murray [Sun, 5 Jan 2014 02:17:52 +0000 (21:17 -0500)]
whatsnew: removal of TYPE_INT64 from marshal.

Also update news entry for SMTPException; when I changed it from
IOError to OSError I forgot to update the news item.

11 years agowhatsnew: logging TimedRotatingFileHandler atTime parameter.
R David Murray [Sat, 4 Jan 2014 23:55:01 +0000 (18:55 -0500)]
whatsnew: logging TimedRotatingFileHandler atTime parameter.

11 years agowhatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.
R David Murray [Sat, 4 Jan 2014 23:07:20 +0000 (18:07 -0500)]
whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.

And more news entry clarifications.

11 years agowhatsnew: ppring string wrapping, string pickling optimization.
R David Murray [Sat, 4 Jan 2014 22:11:23 +0000 (17:11 -0500)]
whatsnew: ppring string wrapping, string pickling optimization.

Also clarify some NEWS entries.

11 years agoWhitespace.
Stefan Krah [Sat, 4 Jan 2014 12:03:48 +0000 (13:03 +0100)]
Whitespace.

11 years agoRegenerate python34stub.def.
Martin v. Löwis [Sat, 4 Jan 2014 10:20:45 +0000 (11:20 +0100)]
Regenerate python34stub.def.