]> granicus.if.org Git - python/log
python
10 years agoWhat's New in Python 3.4: Security improvements
Victor Stinner [Tue, 11 Mar 2014 12:17:30 +0000 (13:17 +0100)]
What's New in Python 3.4: Security improvements

10 years agoIssue #20888: improve "Pretty Top" example of tracemalloc, use linecache
Victor Stinner [Tue, 11 Mar 2014 07:12:48 +0000 (08:12 +0100)]
Issue #20888: improve "Pretty Top" example of tracemalloc, use linecache

10 years agowhatsnew: remove XXXs.
R David Murray [Tue, 11 Mar 2014 01:38:37 +0000 (21:38 -0400)]
whatsnew: remove XXXs.

Can't figure out what the other issue was for the importlib
changes.  Did find a small typo in the reload doc, though.

10 years agowhatsnew: take credit.
R David Murray [Mon, 10 Mar 2014 22:15:09 +0000 (18:15 -0400)]
whatsnew: take credit.

They aren't all my words, but most of them are :).

10 years agowhatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*.
R David Murray [Mon, 10 Mar 2014 22:09:54 +0000 (18:09 -0400)]
whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*.

#17741

10 years agowhatsnew: urllib Request objects are now reusable.
R David Murray [Mon, 10 Mar 2014 21:06:00 +0000 (17:06 -0400)]
whatsnew: urllib Request objects are now reusable.

#16464, #17485, #17272.

10 years agowhatsnew: shutil copyfile SameFileError (#1492704)
R David Murray [Mon, 10 Mar 2014 20:12:10 +0000 (16:12 -0400)]
whatsnew: shutil copyfile SameFileError (#1492704)

10 years agowhatsnew: os.open O_PATH and O_TMPFILE.
R David Murray [Mon, 10 Mar 2014 19:48:22 +0000 (15:48 -0400)]
whatsnew: os.open O_PATH and O_TMPFILE.

10 years agowhatsnew: os.open O_TMPFILE (#18673).
R David Murray [Mon, 10 Mar 2014 19:41:59 +0000 (15:41 -0400)]
whatsnew: os.open O_TMPFILE (#18673).

10 years agowhatsnew: json dump-with-indent whitespace change (#16333).
R David Murray [Mon, 10 Mar 2014 19:41:28 +0000 (15:41 -0400)]
whatsnew: json dump-with-indent whitespace change (#16333).

10 years agowhatsnew: PEP 424 implementation.
R David Murray [Mon, 10 Mar 2014 19:00:33 +0000 (15:00 -0400)]
whatsnew: PEP 424 implementation.

10 years agowhatsnew: multiprocessing start methods and context (#8713 and #18999)
R David Murray [Mon, 10 Mar 2014 18:27:21 +0000 (14:27 -0400)]
whatsnew: multiprocessing start methods and context (#8713 and #18999)

Also tweaked the docs a bit to use our standard style for
versionadded/changed.  (I'm guessing there are other places
in the multiprocessing docs where similar tweaks should be made.)

10 years agowhatsnew: remove redundant entry.
R David Murray [Mon, 10 Mar 2014 17:21:09 +0000 (13:21 -0400)]
whatsnew: remove redundant entry.

10 years agowhatsnew: logging.config.listen *verify* (#15452).
R David Murray [Mon, 10 Mar 2014 16:03:01 +0000 (12:03 -0400)]
whatsnew: logging.config.listen *verify* (#15452).

10 years agowhatsnew: logging.fileConfig accepts ConfigParser instances. (#16110)
R David Murray [Mon, 10 Mar 2014 15:51:19 +0000 (11:51 -0400)]
whatsnew: logging.fileConfig accepts ConfigParser instances. (#16110)

And missing NEWS entry.

10 years agowhatsnew: total_ordering supports NotImplemented (#10042)
R David Murray [Mon, 10 Mar 2014 15:02:45 +0000 (11:02 -0400)]
whatsnew: total_ordering supports NotImplemented (#10042)

10 years agowhatsnew: filecmp.DEFAULT_IGNORES (#15442)
R David Murray [Mon, 10 Mar 2014 14:47:56 +0000 (10:47 -0400)]
whatsnew: filecmp.DEFAULT_IGNORES (#15442)

10 years agowhatsnew: Message.set_param *replace*, Policy.content_manager.
R David Murray [Mon, 10 Mar 2014 14:08:05 +0000 (10:08 -0400)]
whatsnew: Message.set_param *replace*, Policy.content_manager.

Also cleaned up the email section and fixed some markup bugs in the
email docs.

10 years agowhatsnew: ChainMap.new_child *m* argument.
R David Murray [Mon, 10 Mar 2014 13:49:19 +0000 (09:49 -0400)]
whatsnew: ChainMap.new_child *m* argument.

And NEWS entry.

10 years agoCloses #20090: update Doc/README.txt for the changes in the 3.4 branch.
Georg Brandl [Mon, 10 Mar 2014 18:31:52 +0000 (19:31 +0100)]
Closes #20090: update Doc/README.txt for the changes in the 3.4 branch.

10 years agoCloses #20090: update Doc/README and the error message in sphinx-build.py to make
Georg Brandl [Mon, 10 Mar 2014 18:26:57 +0000 (19:26 +0100)]
Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.

10 years agoRemove unused sphinx-build.py entry script.
Georg Brandl [Mon, 10 Mar 2014 18:10:29 +0000 (19:10 +0100)]
Remove unused sphinx-build.py entry script.

10 years agowhatsnew: add porting note for pyvenv --without-pip.
R David Murray [Mon, 10 Mar 2014 13:20:37 +0000 (09:20 -0400)]
whatsnew: add porting note for pyvenv --without-pip.

10 years agotracemalloc: filter_traces() raises a TypeError if filters is not an iterable
Victor Stinner [Mon, 10 Mar 2014 10:05:07 +0000 (11:05 +0100)]
tracemalloc: filter_traces() raises a TypeError if filters is not an iterable

10 years agouse assertEqual instead of the deprecated assertEquals (closes #20877)
Benjamin Peterson [Mon, 10 Mar 2014 01:59:24 +0000 (20:59 -0500)]
use assertEqual instead of the deprecated assertEquals (closes #20877)

10 years agowhatsnew: tarfile cli (#13477).
R David Murray [Mon, 10 Mar 2014 01:19:57 +0000 (21:19 -0400)]
whatsnew: tarfile cli (#13477).

10 years agowhatsnew: dis.stack_effect (#19722).
R David Murray [Mon, 10 Mar 2014 01:07:37 +0000 (21:07 -0400)]
whatsnew: dis.stack_effect (#19722).

10 years agowhatsnew: oops, create_default_context doesn't return what the stdlib uses.
R David Murray [Mon, 10 Mar 2014 01:00:14 +0000 (21:00 -0400)]
whatsnew: oops, create_default_context doesn't return what the stdlib uses.

10 years agowhatsnew: expand re.fullmatch entry with the motivation for the feature.
R David Murray [Mon, 10 Mar 2014 00:52:28 +0000 (20:52 -0400)]
whatsnew: expand re.fullmatch entry with the motivation for the feature.

10 years agowhatsnew: give Hugo credit for his preliminary work on regex patch.
R David Murray [Mon, 10 Mar 2014 00:46:32 +0000 (20:46 -0400)]
whatsnew: give Hugo credit for his preliminary work on regex patch.

10 years agowhatsnew: auidioop.byteswap (#16685).
R David Murray [Mon, 10 Mar 2014 00:42:49 +0000 (20:42 -0400)]
whatsnew: auidioop.byteswap (#16685).

10 years agowhatsnew: porting note for sysconfig 'SO' key deprecation.
R David Murray [Mon, 10 Mar 2014 00:39:52 +0000 (20:39 -0400)]
whatsnew: porting note for sysconfig 'SO' key deprecation.

10 years agowhatsnew: 'U' mode deprecation (#15204).
R David Murray [Mon, 10 Mar 2014 00:33:35 +0000 (20:33 -0400)]
whatsnew: 'U' mode deprecation (#15204).

10 years agowhatsnew: cp1125 codec (#19668).
R David Murray [Mon, 10 Mar 2014 00:13:16 +0000 (20:13 -0400)]
whatsnew: cp1125 codec (#19668).

10 years agowhatsnew: ssl.create_default_context (#19689).
R David Murray [Sun, 9 Mar 2014 23:58:17 +0000 (19:58 -0400)]
whatsnew: ssl.create_default_context (#19689).

10 years agowhatsnew: allowZip64 defaults to True (#17201).
R David Murray [Sun, 9 Mar 2014 23:57:19 +0000 (19:57 -0400)]
whatsnew: allowZip64 defaults to True (#17201).

10 years agowhatsnew: SSLContext.load_default_certs (#19292).
R David Murray [Sun, 9 Mar 2014 23:41:25 +0000 (19:41 -0400)]
whatsnew: SSLContext.load_default_certs (#19292).

10 years agowhatsnew: pdb works for debugging asyncio programs (#16596).
R David Murray [Sun, 9 Mar 2014 23:40:30 +0000 (19:40 -0400)]
whatsnew: pdb works for debugging asyncio programs (#16596).

10 years agoMerge #19953: Clarify the wording of the augmented assignment discussion.
R David Murray [Sun, 9 Mar 2014 22:51:35 +0000 (18:51 -0400)]
Merge #19953: Clarify the wording of the augmented assignment discussion.

10 years ago#19953: Clarify the wording of the augmented assignment discussion.
R David Murray [Sun, 9 Mar 2014 22:51:16 +0000 (18:51 -0400)]
#19953: Clarify the wording of the augmented assignment discussion.

Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.

10 years agowhatsnew: venv with_pip, pyvenv --without-pip (#19552)
R David Murray [Sun, 9 Mar 2014 22:09:51 +0000 (18:09 -0400)]
whatsnew: venv with_pip, pyvenv --without-pip (#19552)

10 years agoIssue #20875: Prevent possible gzip "'read' is not defined" NameError.
Ned Deily [Sun, 9 Mar 2014 21:44:34 +0000 (14:44 -0700)]
Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.

10 years agowhatsnew: more accurate deprecation section titles.
R David Murray [Sun, 9 Mar 2014 21:13:31 +0000 (17:13 -0400)]
whatsnew: more accurate deprecation section titles.

10 years agowhatsnew: deprecation of sysconfig SO key (#19555).
R David Murray [Sun, 9 Mar 2014 21:11:00 +0000 (17:11 -0400)]
whatsnew: deprecation of sysconfig SO key (#19555).

10 years agowhatsnew: SSLContext.verify_flags and constants. (#8813)
R David Murray [Sun, 9 Mar 2014 21:01:34 +0000 (17:01 -0400)]
whatsnew: SSLContext.verify_flags and constants. (#8813)

10 years agoIssue #20875: Merge from 3.3
Ned Deily [Sun, 9 Mar 2014 21:47:58 +0000 (14:47 -0700)]
Issue #20875: Merge from 3.3

10 years ago#20871: improve email policy test coverage.
R David Murray [Sun, 9 Mar 2014 19:29:24 +0000 (15:29 -0400)]
#20871: improve email policy test coverage.

More tests of the concrete policy methods would probably be
a good idea, but this is a start, and it brings line coverage
up to 100% for the policy module.

Patch by Milan Oberkirch.

10 years agowhatsnew: plistlib new api and deprecations (#14455)
R David Murray [Sun, 9 Mar 2014 19:09:04 +0000 (15:09 -0400)]
whatsnew: plistlib new api and deprecations (#14455)

Also fixed the versionchanged/deprecation tags in the docs.

10 years agowhatsnew: SSLSocket.getpeercert new values returned. (#18379)
R David Murray [Sun, 9 Mar 2014 16:55:58 +0000 (12:55 -0400)]
whatsnew: SSLSocket.getpeercert new values returned. (#18379)

10 years agowhatsnew: sys.__interactivehook__. (#5845)
R David Murray [Sun, 9 Mar 2014 16:03:30 +0000 (12:03 -0400)]
whatsnew: sys.__interactivehook__. (#5845)

I decided to leave the (slightly expanded) Other Improvements
entry as well, since someone looking for command line behavior
changes isn't going to look in the 'sys' module section.

10 years agomerge with 3.3.5 release repo
Georg Brandl [Sun, 9 Mar 2014 10:17:23 +0000 (11:17 +0100)]
merge with 3.3.5 release repo

10 years agoPost-release update.
Georg Brandl [Sun, 9 Mar 2014 10:01:14 +0000 (11:01 +0100)]
Post-release update.

10 years agohgtouch: remove meta-variable from option spec
Georg Brandl [Sun, 9 Mar 2014 09:22:10 +0000 (10:22 +0100)]
hgtouch: remove meta-variable from option spec

This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).

10 years agoAdded tag v3.3.5 for changeset 62cf4e77f785
Georg Brandl [Sun, 9 Mar 2014 08:37:32 +0000 (09:37 +0100)]
Added tag v3.3.5 for changeset 62cf4e77f785

10 years agoBump to 3.3.5 final. v3.3.5
Georg Brandl [Sun, 9 Mar 2014 08:37:14 +0000 (09:37 +0100)]
Bump to 3.3.5 final.

10 years agowhatsnew: SSLcontext.load_verify_locations cadata argument (#18138)
R David Murray [Sun, 9 Mar 2014 04:19:45 +0000 (23:19 -0500)]
whatsnew: SSLcontext.load_verify_locations cadata argument (#18138)

10 years agowhatsnew: hmac conforms to pep 247. (#18775)
R David Murray [Sun, 9 Mar 2014 04:18:09 +0000 (23:18 -0500)]
whatsnew: hmac conforms to pep 247. (#18775)

10 years agowhatsnew: hmac *digestmod* accepts strings, and default is deprecated. (#17276)
R David Murray [Sun, 9 Mar 2014 03:43:12 +0000 (22:43 -0500)]
whatsnew: hmac *digestmod* accepts strings, and default is deprecated. (#17276)

10 years agomerge with 3.3
Georg Brandl [Sun, 9 Mar 2014 10:18:16 +0000 (11:18 +0100)]
merge with 3.3

10 years agomerge with 3.3
Georg Brandl [Sun, 9 Mar 2014 09:22:46 +0000 (10:22 +0100)]
merge with 3.3

10 years agowhatsnew: tidy up html notes, add porting note for expand_charrefs.
R David Murray [Sun, 9 Mar 2014 02:40:29 +0000 (21:40 -0500)]
whatsnew: tidy up html notes, add porting note for expand_charrefs.

10 years agowhatsnew: glob.escape.
R David Murray [Sun, 9 Mar 2014 02:23:21 +0000 (21:23 -0500)]
whatsnew: glob.escape.

10 years agowhatsnew: base65 encodings. (#17618)
R David Murray [Sat, 8 Mar 2014 17:53:28 +0000 (12:53 -0500)]
whatsnew: base65 encodings. (#17618)

Also updated the base64 module title and introduction to adjust for
the fact that these new encodings are included.

Also adjusted the wording about the base64 alphabets (see
issue #20837).

10 years agowhatsnew: dbm.open is context manager. (#19282)
R David Murray [Sat, 8 Mar 2014 17:00:52 +0000 (12:00 -0500)]
whatsnew: dbm.open is context manager. (#19282)

10 years agowhatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)
R David Murray [Sat, 8 Mar 2014 16:46:05 +0000 (11:46 -0500)]
whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)

10 years agowhatsnew: Wave_write handles unseekable files. (#5202)
R David Murray [Sat, 8 Mar 2014 16:14:29 +0000 (11:14 -0500)]
whatsnew: Wave_write handles unseekable files. (#5202)

Also clarify the documentation of this feature.

10 years agoTweak NEWS so some additional issue numbers become links in html version.
R David Murray [Sat, 8 Mar 2014 15:06:04 +0000 (10:06 -0500)]
Tweak NEWS so some additional issue numbers become links in html version.

10 years agoImprove descriptions of introspection changes
Nick Coghlan [Sat, 8 Mar 2014 06:36:37 +0000 (16:36 +1000)]
Improve descriptions of introspection changes

Several of the introspection changes in Python 3.4 are indirect,
where inspect module changes affected pydoc, and those in turn
affected the help builtin. This update adds versionchanged
notes in the key locations, as well as more coverage in the
What's New document (in particular, a note in the porting
section regarding the expanded domain for inspect.getfullargspec).

10 years agowhatsnew: audioop accepts any bytes-like, rejects strings.
R David Murray [Sat, 8 Mar 2014 02:35:31 +0000 (21:35 -0500)]
whatsnew: audioop accepts any bytes-like, rejects strings.

10 years agowhatsnew: inet_pton/inet_ntop support windows (#7171).
R David Murray [Sat, 8 Mar 2014 02:22:39 +0000 (21:22 -0500)]
whatsnew: inet_pton/inet_ntop support windows (#7171).

Added versionchanged to docs.

10 years agowhatsnew: sunau supports 24 bit samples.
R David Murray [Sat, 8 Mar 2014 02:15:56 +0000 (21:15 -0500)]
whatsnew: sunau supports 24 bit samples.

10 years agowhatsnew: cp273 codec (#10907797)
R David Murray [Sat, 8 Mar 2014 02:00:34 +0000 (21:00 -0500)]
whatsnew: cp273 codec (#10907797)

Also updated the docs and added the aliases mentioned by the
references.

10 years agowhatsnew: get[status|output] works on windows.
R David Murray [Sat, 8 Mar 2014 01:06:24 +0000 (20:06 -0500)]
whatsnew: get[status|output] works on windows.

Since 3.3.4.... :(

10 years ago#10197: Update get[status]output versionchanged with actual version.
R David Murray [Sat, 8 Mar 2014 01:04:41 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.

This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only.  However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.

Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(

10 years ago#10197: Update get[status]output versionchanged with actual version.
R David Murray [Sat, 8 Mar 2014 01:04:17 +0000 (20:04 -0500)]
#10197: Update get[status]output versionchanged with actual version.

This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only.  However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.

Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(

10 years agonull merge for issue #20812
Brett Cannon [Fri, 7 Mar 2014 17:29:24 +0000 (12:29 -0500)]
null merge for issue #20812

10 years agoIssue #20813: Backport Python 2/3 HOWTO updates
Brett Cannon [Fri, 7 Mar 2014 17:28:35 +0000 (12:28 -0500)]
Issue #20813: Backport Python 2/3 HOWTO updates

10 years agoIssue #20812: Add a short opener to the Python 2/3 porting HOWTO.
Brett Cannon [Fri, 7 Mar 2014 17:27:10 +0000 (12:27 -0500)]
Issue #20812: Add a short opener to the Python 2/3 porting HOWTO.

Thanks to Nick Coghlan for the suggestion.

10 years agoMake pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
Zachary Ware [Thu, 6 Mar 2014 19:28:08 +0000 (13:28 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.

pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.

Merge with 3.3.

10 years agoMake pywlauncher.vcxproj depend on make_versioninfo.vcxproj.
Zachary Ware [Thu, 6 Mar 2014 19:21:45 +0000 (13:21 -0600)]
Make pywlauncher.vcxproj depend on make_versioninfo.vcxproj.

pylauncher.vcxproj already has the same dependency, and adding it to
the pywlauncher project eliminates the possibility of the pywlauncher
build failing when building the solution in parallel.  In particular,
pywlauncher may fail to build when doing a "Rebuild Solution" from the
VS Build menu.

10 years agowhatsnew: note in deprecation section about html.parser strict.
R David Murray [Thu, 6 Mar 2014 18:40:53 +0000 (13:40 -0500)]
whatsnew: note in deprecation section about html.parser strict.

10 years agoRemove redundant NEWS entry.
R David Murray [Thu, 6 Mar 2014 17:58:25 +0000 (12:58 -0500)]
Remove redundant NEWS entry.

10 years agowhatsnew: rewrite resource entry: prlimit and new constants.
R David Murray [Thu, 6 Mar 2014 17:47:31 +0000 (12:47 -0500)]
whatsnew: rewrite resource entry: prlimit and new constants.

10 years agowhatsnew: ipaddress is_global
R David Murray [Thu, 6 Mar 2014 16:51:37 +0000 (11:51 -0500)]
whatsnew: ipaddress is_global

Also tweaked the docs a bit and added the missing entry for
the ipv6 is_global.

10 years ago#11558: Better message if attach called on non-multipart.
R David Murray [Thu, 6 Mar 2014 16:44:17 +0000 (11:44 -0500)]
#11558: Better message if attach called on non-multipart.

Original patch by Varun Sharma.

10 years agotracemalloc.py: add comments to show the format of tuples
Victor Stinner [Thu, 6 Mar 2014 16:06:41 +0000 (17:06 +0100)]
tracemalloc.py: add comments to show the format of tuples

10 years agotracemalloc.py: fix indentation
Victor Stinner [Thu, 6 Mar 2014 16:06:04 +0000 (17:06 +0100)]
tracemalloc.py: fix indentation

10 years agoIssue #20283: RE pattern methods now accept the string keyword parameters
Serhiy Storchaka [Thu, 6 Mar 2014 09:28:32 +0000 (11:28 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.

10 years agowhatsnew: improve PyZipFile filterfuc entry, and its docs (#19274).
R David Murray [Wed, 5 Mar 2014 15:48:01 +0000 (10:48 -0500)]
whatsnew: improve PyZipFile filterfuc entry, and its docs (#19274).

10 years agoMake the various iterators' "setstate" sliently and consistently clip the
Kristján Valur Jónsson [Wed, 5 Mar 2014 13:47:57 +0000 (13:47 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index.  This avoids the possibility of setting an iterator to an invalid
state.

10 years agoFix pickling of rangeiter. rangeiter_setstate would not allow setting it
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:19:24 +0000 (23:19 +0000)]
Fix pickling of rangeiter.  rangeiter_setstate would not allow setting it
to the exhausted state.

10 years agoCorrect comments and improve failure reports in test_fileinput (closes #20501).
Serhiy Storchaka [Mon, 3 Mar 2014 19:17:17 +0000 (21:17 +0200)]
Correct comments and improve failure reports in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.

10 years agowhatsnew: tweak a couple importlib porting notes.
R David Murray [Mon, 3 Mar 2014 13:56:43 +0000 (08:56 -0500)]
whatsnew: tweak a couple importlib porting notes.

I had missed that there was already an entry for the Frozen package change, so
I combined mine with the existing one.  Also added the info about the reload
change to the entry for the other changes to reload, but I'm missing an issue
number for the rest of the attribute behavior changes so I left myself an
XXX as a reminder to find it.

10 years agowhatsnew: Windows build uses ASLR and DEP.
R David Murray [Mon, 3 Mar 2014 13:26:49 +0000 (08:26 -0500)]
whatsnew: Windows build uses ASLR and DEP.

10 years agoIssue #20283: RE pattern methods now accept the string keyword parameters
Serhiy Storchaka [Thu, 6 Mar 2014 09:36:15 +0000 (11:36 +0200)]
Issue #20283: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.

10 years agoasyncio, Tulip issue 157: Improve test_events.py, avoid run_briefly() which is
Victor Stinner [Thu, 6 Mar 2014 00:00:36 +0000 (01:00 +0100)]
asyncio, Tulip issue 157: Improve test_events.py, avoid run_briefly() which is
not reliable

10 years agoasyncio: Synchronize with Tulip
Victor Stinner [Wed, 5 Mar 2014 23:52:53 +0000 (00:52 +0100)]
asyncio: Synchronize with Tulip

* Issue #159: Fix windows_utils.socketpair()

  - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because
    "localhost" may be a different IP address
  - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and
    proto=0) are supported

* Reject add/remove reader/writer when event loop is closed.
* Fix ResourceWarning warnings

10 years agoMake the various iterators' "setstate" sliently and consistently clip the
Kristján Valur Jónsson [Wed, 5 Mar 2014 15:23:07 +0000 (15:23 +0000)]
Make the various iterators' "setstate" sliently and consistently clip the
index.  This avoids the possibility of setting an iterator to an invalid
state.

10 years agoMerge with 3.3
Kristján Valur Jónsson [Tue, 4 Mar 2014 23:22:15 +0000 (23:22 +0000)]
Merge with 3.3

10 years agoasyncio, Tulip issue 158: Task._step() now also sets self to None if an
Victor Stinner [Tue, 4 Mar 2014 22:07:08 +0000 (23:07 +0100)]
asyncio, Tulip issue 158: Task._step() now also sets self to None if an
exception is raised.  self is set to None to break a reference cycle.