]> granicus.if.org Git - python/log
python
11 years ago#18714: add attribution.
Georg Brandl [Sun, 13 Oct 2013 18:56:25 +0000 (20:56 +0200)]
#18714: add attribution.

11 years agopdb: modernize find_function() and add tests for it.
Georg Brandl [Sun, 13 Oct 2013 18:51:47 +0000 (20:51 +0200)]
pdb: modernize find_function() and add tests for it.

Closes #18714.

11 years agoIssue #19197: Improved cross-references in the shlex module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 18:20:30 +0000 (21:20 +0300)]
Issue #19197: Improved cross-references in the shlex module documentation.

11 years agoIssue #19197: Improved cross-references in the shlex module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 18:19:00 +0000 (21:19 +0300)]
Issue #19197: Improved cross-references in the shlex module documentation.

11 years agoIssue19030: commit tests for DynamicClassAttribute
Ethan Furman [Sun, 13 Oct 2013 17:52:10 +0000 (10:52 -0700)]
Issue19030: commit tests for DynamicClassAttribute

11 years agoIssue #19207: Improved cross-references in the os, os.path, and posix modules
Serhiy Storchaka [Sun, 13 Oct 2013 17:13:37 +0000 (20:13 +0300)]
Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.

11 years agoIssue #19207: Improved cross-references in the os, os.path, and posix modules
Serhiy Storchaka [Sun, 13 Oct 2013 17:12:43 +0000 (20:12 +0300)]
Issue #19207: Improved cross-references in the os, os.path, and posix modules
documentation.

11 years agoImprove #19204: Improved cross-references in the urllib package documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 17:07:51 +0000 (20:07 +0300)]
Improve #19204: Improved cross-references in the urllib package documentation.

11 years agoImprove #19204: Improved cross-references in the urllib package documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 17:06:50 +0000 (20:06 +0300)]
Improve #19204: Improved cross-references in the urllib package documentation.

11 years agomerge with 3.3
Georg Brandl [Sun, 13 Oct 2013 16:38:53 +0000 (18:38 +0200)]
merge with 3.3

11 years agoRefer to strftime(3) manpage for platform specific format codes.
Georg Brandl [Sun, 13 Oct 2013 16:28:25 +0000 (18:28 +0200)]
Refer to strftime(3) manpage for platform specific format codes.

Suggested by Skip Montanaro on docs@.

11 years agoIssue #19203: Improved cross-references in the curses howto.
Serhiy Storchaka [Sun, 13 Oct 2013 16:24:30 +0000 (19:24 +0300)]
Issue #19203: Improved cross-references in the curses howto.

11 years agoMerge heads
Serhiy Storchaka [Sun, 13 Oct 2013 16:17:46 +0000 (19:17 +0300)]
Merge heads

11 years agoIssue #19203: Improved cross-references in the curses howto.
Serhiy Storchaka [Sun, 13 Oct 2013 15:51:59 +0000 (18:51 +0300)]
Issue #19203: Improved cross-references in the curses howto.

11 years agoIssue #19198: Improved cross-references in the cgi module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 15:29:08 +0000 (18:29 +0300)]
Issue #19198: Improved cross-references in the cgi module documentation.

11 years agoIssue #19198: Improved cross-references in the cgi module documentation.
Serhiy Storchaka [Sun, 13 Oct 2013 15:28:26 +0000 (18:28 +0300)]
Issue #19198: Improved cross-references in the cgi module documentation.

11 years agoCatch a few extra error cases in marshal.c
Kristján Valur Jónsson [Sun, 13 Oct 2013 15:19:56 +0000 (15:19 +0000)]
Catch a few extra error cases in marshal.c

11 years agoNull merge
Serhiy Storchaka [Sun, 13 Oct 2013 15:12:22 +0000 (18:12 +0300)]
Null merge

11 years agoMerge heads
Serhiy Storchaka [Sun, 13 Oct 2013 15:11:11 +0000 (18:11 +0300)]
Merge heads

11 years agoMerge heads
Serhiy Storchaka [Sun, 13 Oct 2013 15:11:05 +0000 (18:11 +0300)]
Merge heads

11 years agoIssue #18919: Unified and extended tests for audio modules: aifc, sunau and
Serhiy Storchaka [Sun, 13 Oct 2013 15:06:45 +0000 (18:06 +0300)]
Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
wave.

11 years agoIssue #17827: document codecs.encode and codecs.decode
Nick Coghlan [Sun, 13 Oct 2013 14:55:46 +0000 (00:55 +1000)]
Issue #17827: document codecs.encode and codecs.decode

- Merge from 3.3
- Added to What's New since these are more important in 3.x,
  as the bytes<->bytes and str<->str codecs don't fit the
  text model convenience methods in 3.x the way they did the
  basestring<->basestring methods in the 2.x text model
- Included under Library in Misc/NEWS for the same reason

11 years agoIssue #18919: Unified and extended tests for audio modules: aifc, sunau and
Serhiy Storchaka [Sun, 13 Oct 2013 14:55:07 +0000 (17:55 +0300)]
Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
wave.

11 years agoIssue #17827: Document codecs.encode and codecs.decode
Nick Coghlan [Sun, 13 Oct 2013 14:22:13 +0000 (00:22 +1000)]
Issue #17827: Document codecs.encode and codecs.decode

11 years agoIssue #19219 Remove a lot of "retval = NULL" statements, now that retval
Kristján Valur Jónsson [Sun, 13 Oct 2013 13:41:59 +0000 (13:41 +0000)]
Issue #19219 Remove a lot of "retval = NULL" statements, now that retval
is pre-initialized to that value.  Test show a 5% speedup as a bonus.

11 years agoDocs tweaks for contextlib additions
Nick Coghlan [Sun, 13 Oct 2013 13:23:08 +0000 (23:23 +1000)]
Docs tweaks for contextlib additions

11 years agoRemove failing checks for explicit error messages.
Mark Dickinson [Sun, 13 Oct 2013 10:34:01 +0000 (11:34 +0100)]
Remove failing checks for explicit error messages.

11 years agoIssue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok...
Mark Dickinson [Sun, 13 Oct 2013 10:04:36 +0000 (11:04 +0100)]
Issue #18659: fix test_format test that wasn't being executed.  Thanks Vajrasky Kok for the patch.

11 years agomerge with 3.3
Georg Brandl [Sun, 13 Oct 2013 08:49:47 +0000 (10:49 +0200)]
merge with 3.3

11 years agoCloses #13740: SND_NOWAIT seems to be ignored on modern Windows.
Georg Brandl [Sun, 13 Oct 2013 08:49:41 +0000 (10:49 +0200)]
Closes #13740: SND_NOWAIT seems to be ignored on modern Windows.

11 years agomerge with 3.3
Georg Brandl [Sun, 13 Oct 2013 08:44:04 +0000 (10:44 +0200)]
merge with 3.3

11 years agoCloses #17375: port new threading docstrings from 2.7.
Georg Brandl [Sun, 13 Oct 2013 08:43:59 +0000 (10:43 +0200)]
Closes #17375: port new threading docstrings from 2.7.

11 years agomerge with 3.3
Georg Brandl [Sun, 13 Oct 2013 07:56:24 +0000 (09:56 +0200)]
merge with 3.3

11 years agoFix a small CSS glitch with deprecated blocks and Sphinx 1.2.
Georg Brandl [Sun, 13 Oct 2013 07:56:20 +0000 (09:56 +0200)]
Fix a small CSS glitch with deprecated blocks and Sphinx 1.2.

11 years agoBack out accidentally pushed changeset b51218966201.
Georg Brandl [Sun, 13 Oct 2013 07:32:59 +0000 (09:32 +0200)]
Back out accidentally pushed changeset b51218966201.

11 years agomerge with 3.3
Georg Brandl [Sun, 13 Oct 2013 07:32:00 +0000 (09:32 +0200)]
merge with 3.3

11 years agoFix display of deprecated blocks with Sphinx 1.2.
Georg Brandl [Sun, 13 Oct 2013 07:31:42 +0000 (09:31 +0200)]
Fix display of deprecated blocks with Sphinx 1.2.

11 years agoAdd re.fullmatch() function and regex.fullmatch() method, which anchor the
Georg Brandl [Sun, 13 Oct 2013 07:18:45 +0000 (09:18 +0200)]
Add re.fullmatch() function and regex.fullmatch() method, which anchor the
pattern at both ends of the string to match.

Patch by Matthew Barnett.
Closes #16203.

11 years agoGrammar fix.
Eric V. Smith [Sun, 13 Oct 2013 04:36:08 +0000 (00:36 -0400)]
Grammar fix.

11 years agoClose #18281: superfluous stat constants removed from tarfile
Ethan Furman [Sun, 13 Oct 2013 01:13:02 +0000 (18:13 -0700)]
Close #18281: superfluous stat constants removed from tarfile

11 years agoDocument speedup in whatsnew
Christian Heimes [Sun, 13 Oct 2013 01:10:06 +0000 (03:10 +0200)]
Document speedup in whatsnew

11 years agoIssue #19219: retval may be used uninitialized value
Christian Heimes [Sun, 13 Oct 2013 00:29:06 +0000 (02:29 +0200)]
Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)

11 years agowhitespace cleanup
Christian Heimes [Sun, 13 Oct 2013 00:27:22 +0000 (02:27 +0200)]
whitespace cleanup

11 years agomerge
Christian Heimes [Sun, 13 Oct 2013 00:22:10 +0000 (02:22 +0200)]
merge

11 years agoIssue #19218: set __name__ of _collections_abc to collections.abc in order to fix...
Christian Heimes [Sun, 13 Oct 2013 00:21:33 +0000 (02:21 +0200)]
Issue #19218: set __name__ of _collections_abc to collections.abc in order to fix tests and keep beautiful qualified names.

11 years agoIssue #19218: Add facade collections.abc
Christian Heimes [Sun, 13 Oct 2013 00:04:50 +0000 (02:04 +0200)]
Issue #19218: Add facade collections.abc

11 years agoIssue #19218: Rename collections.abc to _collections_abc in order to speed up interpr...
Christian Heimes [Sun, 13 Oct 2013 00:04:20 +0000 (02:04 +0200)]
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start

11 years agoRemove import functools from re module. The re module imports functools but never...
Christian Heimes [Sun, 13 Oct 2013 00:00:09 +0000 (02:00 +0200)]
Remove import functools from re module. The re module imports functools but never uses it.

11 years agoMerge.
Richard Oudkerk [Sat, 12 Oct 2013 23:52:21 +0000 (00:52 +0100)]
Merge.

11 years agoMake test_terminate() succeed or fail quickly.
Richard Oudkerk [Sat, 12 Oct 2013 23:49:27 +0000 (00:49 +0100)]
Make test_terminate() succeed or fail quickly.

This does not fix #19227, but should stop the Gentoo buildbot from hanging.

11 years agomerge
Raymond Hettinger [Sat, 12 Oct 2013 23:04:39 +0000 (16:04 -0700)]
merge

11 years agoIssue #19202: Add cross-reference and a rough code equivalent
Raymond Hettinger [Sat, 12 Oct 2013 23:04:17 +0000 (16:04 -0700)]
Issue #19202:  Add cross-reference and a rough code equivalent

11 years agoIssue #18458: merge comments from 3.3
Ned Deily [Sat, 12 Oct 2013 22:57:04 +0000 (15:57 -0700)]
Issue #18458: merge comments from 3.3

11 years agoIssue #18582: Add 'pbkdf2_hmac' to the hashlib module.
Christian Heimes [Sat, 12 Oct 2013 22:52:43 +0000 (00:52 +0200)]
Issue #18582: Add 'pbkdf2_hmac' to the hashlib module.

11 years agoIssue #18458: Prevent crashes with newer versions of libedit. Its readline
Ned Deily [Sat, 12 Oct 2013 22:47:58 +0000 (15:47 -0700)]
Issue #18458: Prevent crashes with newer versions of libedit.  Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.

11 years agoMerge
Antoine Pitrou [Sat, 12 Oct 2013 21:16:32 +0000 (23:16 +0200)]
Merge

11 years agoTry to fix weird assertion error on the Fedora buildbot.
Antoine Pitrou [Sat, 12 Oct 2013 21:14:47 +0000 (23:14 +0200)]
Try to fix weird assertion error on the Fedora buildbot.

11 years agomerge
Georg Brandl [Sat, 12 Oct 2013 20:57:30 +0000 (22:57 +0200)]
merge

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 20:56:37 +0000 (22:56 +0200)]
merge with 3.3

11 years agoInvert logic of new limited-API annotation and call it "stable ABI".
Georg Brandl [Sat, 12 Oct 2013 20:55:34 +0000 (22:55 +0200)]
Invert logic of new limited-API annotation and call it "stable ABI".

11 years agoIssue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".
Antoine Pitrou [Sat, 12 Oct 2013 20:52:43 +0000 (22:52 +0200)]
Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".
("make smelly" now clean)

11 years agoDon't export internal symbols ("make smelly")
Antoine Pitrou [Sat, 12 Oct 2013 20:41:17 +0000 (22:41 +0200)]
Don't export internal symbols ("make smelly")

11 years agoForgot NEWS entry for previous commit.
Antoine Pitrou [Sat, 12 Oct 2013 20:26:28 +0000 (22:26 +0200)]
Forgot NEWS entry for previous commit.

11 years agoIssue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.
Antoine Pitrou [Sat, 12 Oct 2013 20:25:39 +0000 (22:25 +0200)]
Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.

11 years agomerge 3.3
Benjamin Peterson [Sat, 12 Oct 2013 19:55:33 +0000 (15:55 -0400)]
merge 3.3

11 years agobackport media types from default
Benjamin Peterson [Sat, 12 Oct 2013 19:54:05 +0000 (15:54 -0400)]
backport media types from default

11 years agoadd aifc
Benjamin Peterson [Sat, 12 Oct 2013 19:28:10 +0000 (15:28 -0400)]
add aifc

11 years agoadd some audio formats
Benjamin Peterson [Sat, 12 Oct 2013 19:24:15 +0000 (15:24 -0400)]
add some audio formats

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 18:53:53 +0000 (20:53 +0200)]
merge with 3.3

11 years agoFix compatibility with upcoming Sphinx 1.2.
Georg Brandl [Sat, 12 Oct 2013 18:50:21 +0000 (20:50 +0200)]
Fix compatibility with upcoming Sphinx 1.2.

11 years agoNull merge
Serhiy Storchaka [Sat, 12 Oct 2013 18:38:14 +0000 (21:38 +0300)]
Null merge

11 years agoIssue #18919: If the close() method of a writer in the sunau or wave module
Serhiy Storchaka [Sat, 12 Oct 2013 18:36:10 +0000 (21:36 +0300)]
Issue #18919: If the close() method of a writer in the sunau or wave module
failed, second invocation of close() and destructor no more raise an
exception.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 18:01:14 +0000 (20:01 +0200)]
merge with 3.3

11 years agoIntroduce support for documenting which C API elements are not part of the stable...
Georg Brandl [Sat, 12 Oct 2013 17:54:30 +0000 (19:54 +0200)]
Introduce support for documenting which C API elements are not part of the stable/limited API.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 17:13:38 +0000 (19:13 +0200)]
merge with 3.3

11 years agoCloses #13915: update tutorial with respect to .pyc files (__pycache__ / PEP 3147).
Georg Brandl [Sat, 12 Oct 2013 17:13:23 +0000 (19:13 +0200)]
Closes #13915: update tutorial with respect to .pyc files (__pycache__ / PEP 3147).

Initial wording proposed by John Roth.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 17:03:47 +0000 (19:03 +0200)]
merge with 3.3

11 years agoCloses #13833: document PyStructSequence C-API functions.
Georg Brandl [Sat, 12 Oct 2013 17:03:43 +0000 (19:03 +0200)]
Closes #13833: document PyStructSequence C-API functions.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 16:41:23 +0000 (18:41 +0200)]
merge with 3.3

11 years agoCloses #13026: fix documentation of MAKE_FUNCTION for 3.x.
Georg Brandl [Sat, 12 Oct 2013 16:41:18 +0000 (18:41 +0200)]
Closes #13026: fix documentation of MAKE_FUNCTION for 3.x.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 16:19:48 +0000 (18:19 +0200)]
merge with 3.3

11 years agoCloses #19179: make table of XML vulnerabilities clearer by using "everyday" booleans...
Georg Brandl [Sat, 12 Oct 2013 16:19:33 +0000 (18:19 +0200)]
Closes #19179: make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand.

11 years agomerge with 3.3
Georg Brandl [Sat, 12 Oct 2013 16:15:21 +0000 (18:15 +0200)]
merge with 3.3

11 years agoCloses #13203: add a FAQ section about seemingly duplicate id()s.
Georg Brandl [Sat, 12 Oct 2013 16:14:25 +0000 (18:14 +0200)]
Closes #13203: add a FAQ section about seemingly duplicate id()s.

11 years agoIssue #19131: The aifc module now correctly reads and writes sampwidth of
Serhiy Storchaka [Sat, 12 Oct 2013 15:23:21 +0000 (18:23 +0300)]
Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.

11 years agoIssue #19131: The aifc module now correctly reads and writes sampwidth of
Serhiy Storchaka [Sat, 12 Oct 2013 15:21:33 +0000 (18:21 +0300)]
Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.

11 years ago#19221: update whatsnew entry about UCD version.
Ezio Melotti [Sat, 12 Oct 2013 13:36:13 +0000 (16:36 +0300)]
#19221: update whatsnew entry about UCD version.

11 years agoIssue #19205: _osx_support uses the re module all over the place. Omit the test for nw.
Christian Heimes [Sat, 12 Oct 2013 13:08:42 +0000 (15:08 +0200)]
Issue #19205: _osx_support uses the re module all over the place. Omit the test for nw.

11 years agoFix wrong exception in _bootlocale (apparently this error condition is never triggered)
Antoine Pitrou [Sat, 12 Oct 2013 13:00:44 +0000 (15:00 +0200)]
Fix wrong exception in _bootlocale (apparently this error condition is never triggered)

11 years agoClose #18754: Run Python child processes in isolated more in the test suite.
Victor Stinner [Sat, 12 Oct 2013 12:44:01 +0000 (14:44 +0200)]
Close #18754: Run Python child processes in isolated more in the test suite.

11 years agoMarkup fix.
Georg Brandl [Sat, 12 Oct 2013 11:24:55 +0000 (13:24 +0200)]
Markup fix.

11 years agoIssue #19205: add debugging output for failing test on Snow Leopard
Christian Heimes [Sat, 12 Oct 2013 10:32:21 +0000 (12:32 +0200)]
Issue #19205: add debugging output for failing test on Snow Leopard

11 years agomerge
Christian Heimes [Fri, 11 Oct 2013 23:41:49 +0000 (01:41 +0200)]
merge

11 years agoIssue #19209: fix structseq test
Christian Heimes [Fri, 11 Oct 2013 23:38:52 +0000 (01:38 +0200)]
Issue #19209: fix structseq test

11 years agotest_os: report tests as skipped when os.statvfs() fails with ENOSYS
Victor Stinner [Fri, 11 Oct 2013 23:33:54 +0000 (01:33 +0200)]
test_os: report tests as skipped when os.statvfs() fails with ENOSYS

11 years agoIssue #19209: Remove import of copyreg from the os module to speed up
Christian Heimes [Fri, 11 Oct 2013 23:27:08 +0000 (01:27 +0200)]
Issue #19209: Remove import of copyreg from the os module to speed up
interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.
The patch is based on Victor Stinner's patch.

11 years agoAlso test that the locale module isn't loaded during normal startup
Christian Heimes [Fri, 11 Oct 2013 23:00:51 +0000 (01:00 +0200)]
Also test that the locale module isn't loaded during normal startup

11 years agoIssue #19205 fix 406529adf156
Christian Heimes [Fri, 11 Oct 2013 22:28:17 +0000 (00:28 +0200)]
Issue #19205 fix 406529adf156
I forgot to hit save.

11 years agoIssue #19205: Don't import the 're' module in site and sysconfig module to
Christian Heimes [Fri, 11 Oct 2013 22:24:55 +0000 (00:24 +0200)]
Issue #19205: Don't import the 're' module in site and sysconfig module to
to speed up interpreter start.

11 years agoIssue #9548: Add a minimal "_bootlocale" module that is imported by the _io module...
Antoine Pitrou [Fri, 11 Oct 2013 22:13:50 +0000 (00:13 +0200)]
Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io module instead of the full locale module.