]> granicus.if.org Git - python/log
python
10 years agoAdded Doc/tools/ subdirs to .hgignore.
Vinay Sajip [Fri, 14 Mar 2014 14:20:09 +0000 (14:20 +0000)]
Added Doc/tools/ subdirs to .hgignore.

10 years agoIssue #20884: whatsnew: Frozen modules don't set __file__ anymore.
Brett Cannon [Fri, 14 Mar 2014 13:46:28 +0000 (09:46 -0400)]
Issue #20884: whatsnew: Frozen modules don't set __file__ anymore.

10 years agoCloses #20918: Added handling for exceptions during fallback output of logging except...
Vinay Sajip [Fri, 14 Mar 2014 13:42:19 +0000 (13:42 +0000)]
Closes #20918: Added handling for exceptions during fallback output of logging exceptions.

10 years agowhatsnew: link from module_spec section to Deprecation, for replacements.
R David Murray [Fri, 14 Mar 2014 02:17:28 +0000 (22:17 -0400)]
whatsnew: link from module_spec section to Deprecation, for replacements.

10 years agowhatsnew: difflib.isbjunk &c were removed, not deprecated.
R David Murray [Fri, 14 Mar 2014 01:34:54 +0000 (21:34 -0400)]
whatsnew: difflib.isbjunk &c were removed, not deprecated.

Also move NEWS item to correct position (it was in 3.3).

10 years agowhatsnew: small tweaks to codecs entry.
R David Murray [Fri, 14 Mar 2014 00:56:27 +0000 (20:56 -0400)]
whatsnew: small tweaks to codecs entry.

10 years agoMerge #7475: Remove references to '.transform' from transform codec docstrings.
R David Murray [Fri, 14 Mar 2014 00:55:09 +0000 (20:55 -0400)]
Merge #7475: Remove references to '.transform' from transform codec docstrings.

10 years ago#7475: Remove references to '.transform' from transform codec docstrings.
R David Murray [Fri, 14 Mar 2014 00:54:30 +0000 (20:54 -0400)]
#7475: Remove references to '.transform' from transform codec docstrings.

10 years agowhatsnew: linkify some pip things, and explain why non-inheriting is good.
R David Murray [Thu, 13 Mar 2014 23:53:38 +0000 (19:53 -0400)]
whatsnew: linkify some pip things, and explain why non-inheriting is good.

10 years agoRemove references to make targets deleted in eef7899ea7ab
Éric Araujo [Thu, 13 Mar 2014 23:30:43 +0000 (19:30 -0400)]
Remove references to make targets deleted in eef7899ea7ab

10 years agoClarify distutils’ clean command (ref #6142)
Éric Araujo [Thu, 13 Mar 2014 22:32:18 +0000 (18:32 -0400)]
Clarify distutils’ clean command (ref #6142)

10 years agoClarify distutils’ clean command (ref #6142)
Éric Araujo [Thu, 13 Mar 2014 20:17:11 +0000 (16:17 -0400)]
Clarify distutils’ clean command (ref #6142)

10 years agoIssue #19407: Fix typos in new distribution & installation guides.
Ned Deily [Thu, 13 Mar 2014 19:42:36 +0000 (12:42 -0700)]
Issue #19407: Fix typos in new distribution & installation guides.
Also applies to cherry pick Issue #20909.

10 years agowhatsnew: remove 'draft' note, tidy up summary, collect SSLContext stuff.
R David Murray [Thu, 13 Mar 2014 18:36:09 +0000 (14:36 -0400)]
whatsnew: remove 'draft' note, tidy up summary, collect SSLContext stuff.

Since Victor linked to it in a block, it seems to make sense to have
all the SSLContext changes next to each other.  I also sorted all the
SSL security enhancements next to each other in the security
enhancements summary.

10 years agoIssue #20908: PyMem_Malloc() must be used with PyMem_Free(), not with free()
Victor Stinner [Thu, 13 Mar 2014 18:08:10 +0000 (19:08 +0100)]
Issue #20908: PyMem_Malloc() must be used with PyMem_Free(), not with free()

10 years agoMERGE: Closes #20908: Memory leak in Reg2Py()
Jesus Cea [Thu, 13 Mar 2014 16:38:20 +0000 (17:38 +0100)]
MERGE: Closes #20908: Memory leak in Reg2Py()

10 years agoCloses #20908: Memory leak in Reg2Py()
Jesus Cea [Thu, 13 Mar 2014 16:35:32 +0000 (17:35 +0100)]
Closes #20908: Memory leak in Reg2Py()

10 years agowhatsnew: collections no longer implicitly imports 'abc' (#20784).
R David Murray [Thu, 13 Mar 2014 16:00:17 +0000 (12:00 -0400)]
whatsnew: collections no longer implicitly imports 'abc' (#20784).

10 years agowhatsnew: HTTPError.headers (#15701).
R David Murray [Thu, 13 Mar 2014 15:33:29 +0000 (11:33 -0400)]
whatsnew: HTTPError.headers (#15701).

10 years agowhatsnew: make it clear I'm the editor, not author of all text.
R David Murray [Thu, 13 Mar 2014 15:10:01 +0000 (11:10 -0400)]
whatsnew: make it clear I'm the editor, not author of all text.

10 years agoMake distutils error messages more helpful (#11599).
Éric Araujo [Thu, 13 Mar 2014 08:55:35 +0000 (04:55 -0400)]
Make distutils error messages more helpful (#11599).

When running external programs such as a C compiler and getting an
error code, distutils only prints the program name.  With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.

This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.

10 years agoweaken callback count inequality (closes #20901)
Benjamin Peterson [Thu, 13 Mar 2014 02:51:52 +0000 (21:51 -0500)]
weaken callback count inequality (closes #20901)

10 years agoremove unnecessary word (closes #19060)
Benjamin Peterson [Thu, 13 Mar 2014 02:41:35 +0000 (21:41 -0500)]
remove unnecessary word (closes #19060)

Patch by Anastasia Filatova.

10 years agoFix note markup (#16805).
Éric Araujo [Wed, 12 Mar 2014 23:51:00 +0000 (19:51 -0400)]
Fix note markup (#16805).

Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.

10 years agomerge 3.2 (#20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:10:47 +0000 (18:10 -0500)]
merge 3.2 (#20896)

10 years agouse ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:05:53 +0000 (18:05 -0500)]
use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)

10 years agoadd Sean Rodman
Benjamin Peterson [Wed, 12 Mar 2014 20:08:43 +0000 (15:08 -0500)]
add Sean Rodman

10 years agouse support.rmtree instead of shutil (closes #19614)
Benjamin Peterson [Wed, 12 Mar 2014 20:07:01 +0000 (15:07 -0500)]
use support.rmtree instead of shutil (closes #19614)

Patch by Sean Rodman.

10 years agowhatsnew: fix unittest subtest example.
R David Murray [Wed, 12 Mar 2014 13:31:50 +0000 (09:31 -0400)]
whatsnew: fix unittest subtest example.

10 years agoWhat's New in Python 3.4: more security changes
Victor Stinner [Thu, 13 Mar 2014 13:54:46 +0000 (14:54 +0100)]
What's New in Python 3.4: more security changes

10 years agoIssue #19407: fix link
Nick Coghlan [Thu, 13 Mar 2014 12:33:33 +0000 (22:33 +1000)]
Issue #19407: fix link

10 years agoClose #19407: New installation & distribution guides
Nick Coghlan [Thu, 13 Mar 2014 12:13:45 +0000 (22:13 +1000)]
Close #19407: New installation & distribution guides

- based on pip and other PyPA tools
- includes references to the new Python Packaging User Guide
  where appropriate (and the relevant section is at least
  partially filled in)
- started new FAQ sections
- both guides aim to introduce users to basic open source
  concepts if they aren't aware of them
- existing guides have been relocated (now linked from the
  distutils docs) rather then removed, since there is
  some needed material that has yet to be relocated to the
  distutils docs as a reference for the legacy formats

10 years agoMerge heads
Éric Araujo [Thu, 13 Mar 2014 10:02:15 +0000 (06:02 -0400)]
Merge heads

10 years agoMerge 3.3 (#11599)
Éric Araujo [Thu, 13 Mar 2014 09:59:31 +0000 (05:59 -0400)]
Merge 3.3 (#11599)

10 years agoasyncio doc: functions are coroutine, they don't return a coroutine
Victor Stinner [Thu, 13 Mar 2014 09:58:03 +0000 (10:58 +0100)]
asyncio doc: functions are coroutine, they don't return a coroutine

It's not exact, but easier to understand.

10 years agoClose #20889: asyncio doc: Document acquire(), locked() and release() method of
Victor Stinner [Thu, 13 Mar 2014 09:54:18 +0000 (10:54 +0100)]
Close #20889: asyncio doc: Document acquire(), locked() and release() method of
Condition

10 years agoClose #20787: asyncio doc: fix typo. Patch written by akira.
Victor Stinner [Thu, 13 Mar 2014 09:50:01 +0000 (10:50 +0100)]
Close #20787: asyncio doc: fix typo. Patch written by akira.

10 years agomerge 3.3 (#20901)
Benjamin Peterson [Thu, 13 Mar 2014 02:52:19 +0000 (21:52 -0500)]
merge 3.3 (#20901)

10 years agomerge 3.3 (#19060)
Benjamin Peterson [Thu, 13 Mar 2014 02:42:04 +0000 (21:42 -0500)]
merge 3.3 (#19060)

10 years agoMerge 3.3 (#16805)
Éric Araujo [Wed, 12 Mar 2014 23:51:50 +0000 (19:51 -0400)]
Merge 3.3 (#16805)

10 years agomerge 3.3 (#20896)
Benjamin Peterson [Wed, 12 Mar 2014 23:10:57 +0000 (18:10 -0500)]
merge 3.3 (#20896)

10 years agomerge 3.3
Benjamin Peterson [Wed, 12 Mar 2014 20:09:00 +0000 (15:09 -0500)]
merge 3.3

10 years agomerge 3.3 (#19614)
Benjamin Peterson [Wed, 12 Mar 2014 20:07:22 +0000 (15:07 -0500)]
merge 3.3 (#19614)

10 years agoBacked out changeset c13398566409
Benjamin Peterson [Wed, 12 Mar 2014 18:14:19 +0000 (13:14 -0500)]
Backed out changeset c13398566409

10 years agoIssue #20896: Workaround the bug temporarely to fix buildbots
Victor Stinner [Wed, 12 Mar 2014 11:41:44 +0000 (12:41 +0100)]
Issue #20896: Workaround the bug temporarely to fix buildbots

10 years agoMerge 3.3 (#4931)
Éric Araujo [Wed, 12 Mar 2014 08:10:51 +0000 (04:10 -0400)]
Merge 3.3 (#4931)

10 years agoAvoid “error: None” messages from distutils (#4931).
Éric Araujo [Wed, 12 Mar 2014 07:34:02 +0000 (03:34 -0400)]
Avoid “error: None” messages from distutils (#4931).

Thanks to Amaury Forgeot d’Arc and Philip J. Eby.

10 years agowhatsnew: spelling errors.
R David Murray [Wed, 12 Mar 2014 01:58:54 +0000 (21:58 -0400)]
whatsnew: spelling errors.

Corrections from Jim Jewett in #19861.

10 years agoMerge #20030: doc that TestLoader.discover returns a TestSuite.
R David Murray [Tue, 11 Mar 2014 22:46:37 +0000 (18:46 -0400)]
Merge #20030: doc that TestLoader.discover returns a TestSuite.

10 years ago#20030: doc that TestLoader.discover returns a TestSuite.
R David Murray [Tue, 11 Mar 2014 22:46:00 +0000 (18:46 -0400)]
#20030: doc that TestLoader.discover returns a TestSuite.

Patch by Lita Cho.

10 years agomerge 3.3
Benjamin Peterson [Tue, 11 Mar 2014 19:26:21 +0000 (14:26 -0500)]
merge 3.3

10 years agoimprove algorithms_* documentation
Benjamin Peterson [Tue, 11 Mar 2014 19:26:12 +0000 (14:26 -0500)]
improve algorithms_* documentation

10 years agowhatsnew: doctest finds tests in extension modules (#3158)
R David Murray [Tue, 11 Mar 2014 19:10:53 +0000 (15:10 -0400)]
whatsnew: doctest finds tests in extension modules (#3158)

#19861 msg213159

10 years agomerge 3.3 (closes #20892)
Benjamin Peterson [Tue, 11 Mar 2014 18:59:48 +0000 (13:59 -0500)]
merge 3.3 (closes #20892)

10 years agofix typo (closes #20892)
Benjamin Peterson [Tue, 11 Mar 2014 18:59:37 +0000 (13:59 -0500)]
fix typo (closes #20892)

10 years agowhatsnew: mention that upgrading PIP means it doesn't get unistalled.
R David Murray [Tue, 11 Mar 2014 18:57:30 +0000 (14:57 -0400)]
whatsnew: mention that upgrading PIP means it doesn't get unistalled.

#19861 msg213156.

10 years agowhatsnew: summary section tweaks.
R David Murray [Tue, 11 Mar 2014 18:03:24 +0000 (14:03 -0400)]
whatsnew: summary section tweaks.

Removed an entry made redundant by the new security section,
Moved 'marshal' to the section on features other platforms
will need to support, and mention that 'help' is improved
by the inspect/pydoc changes (#19561 msg213153).

10 years agoIssue #19157: Include the broadcast address in the usuable hosts for IPv6
Peter Moody [Tue, 11 Mar 2014 16:55:46 +0000 (09:55 -0700)]
Issue #19157: Include the broadcast address in the usuable hosts for IPv6
in ipaddress.

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 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 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 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.