Commit graph

82468 commits

Author SHA1 Message Date
Georg Brandl
4300019e1a 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.
2013-10-13 09:18:45 +02:00
Eric V. Smith
57841ddb5c Grammar fix. 2013-10-13 00:36:08 -04:00
Ethan Furman
da14920247 Close #18281: superfluous stat constants removed from tarfile 2013-10-12 18:13:02 -07:00
Christian Heimes
17ecd1d384 Document speedup in whatsnew 2013-10-13 03:10:06 +02:00
Christian Heimes
3572842c19 Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
2013-10-13 02:29:06 +02:00
Christian Heimes
5703cd58ca whitespace cleanup 2013-10-13 02:27:22 +02:00
Christian Heimes
06239f62b0 merge 2013-10-13 02:22:10 +02:00
Christian Heimes
bf235bd212 Issue #19218: set __name__ of _collections_abc to collections.abc in order to fix tests and keep beautiful qualified names. 2013-10-13 02:21:33 +02:00
Christian Heimes
52c5e57dbc Issue #19218: Add facade collections.abc 2013-10-13 02:04:50 +02:00
Christian Heimes
f1dc3ee16d Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start 2013-10-13 02:04:20 +02:00
Christian Heimes
ad9c9bb5a9 Remove import functools from re module. The re module imports functools but never uses it. 2013-10-13 02:00:09 +02:00
Richard Oudkerk
7b4a36194a Merge. 2013-10-13 00:52:21 +01:00
Richard Oudkerk
4f35079858 Make test_terminate() succeed or fail quickly.
This does not fix #19227, but should stop the Gentoo buildbot from hanging.
2013-10-13 00:49:27 +01:00
Raymond Hettinger
84fc7081f5 merge 2013-10-12 16:04:39 -07:00
Raymond Hettinger
64801680d3 Issue #19202: Add cross-reference and a rough code equivalent 2013-10-12 16:04:17 -07:00
Ned Deily
9809ca9d9e Issue #18458: merge comments from 3.3 2013-10-12 15:57:04 -07:00
Christian Heimes
e92ef13b0a Issue #18582: Add 'pbkdf2_hmac' to the hashlib module. 2013-10-13 00:52:43 +02:00
Ned Deily
5d4121a631 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.
2013-10-12 15:47:58 -07:00
Antoine Pitrou
3892419a7a Merge 2013-10-12 23:16:32 +02:00
Antoine Pitrou
b30f271299 Try to fix weird assertion error on the Fedora buildbot. 2013-10-12 23:14:47 +02:00
Georg Brandl
32a1466228 merge 2013-10-12 22:57:30 +02:00
Georg Brandl
793d8478ee merge with 3.3 2013-10-12 22:56:37 +02:00
Georg Brandl
a14034872b Invert logic of new limited-API annotation and call it "stable ABI". 2013-10-12 22:55:34 +02:00
Antoine Pitrou
d01d396e7f Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".
("make smelly" now clean)
2013-10-12 22:52:43 +02:00
Antoine Pitrou
409b53840b Don't export internal symbols ("make smelly") 2013-10-12 22:41:17 +02:00
Antoine Pitrou
3974d6abb2 Forgot NEWS entry for previous commit. 2013-10-12 22:26:28 +02:00
Antoine Pitrou
1164dfcb86 Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller. 2013-10-12 22:25:39 +02:00
Benjamin Peterson
4c6ed25b96 merge 3.3 2013-10-12 15:55:33 -04:00
Benjamin Peterson
f54ab1f5b1 backport media types from default 2013-10-12 15:54:05 -04:00
Benjamin Peterson
7b48a4dd3b add aifc 2013-10-12 15:28:10 -04:00
Benjamin Peterson
3ddc0cbd9f add some audio formats 2013-10-12 15:24:15 -04:00
Georg Brandl
e9bd31f98f merge with 3.3 2013-10-12 20:53:53 +02:00
Georg Brandl
239990daec Fix compatibility with upcoming Sphinx 1.2. 2013-10-12 20:50:21 +02:00
Serhiy Storchaka
5a5d73a395 Null merge 2013-10-12 21:38:14 +03:00
Serhiy Storchaka
e23b2d06c7 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.
2013-10-12 21:36:10 +03:00
Georg Brandl
7c11e52f7e merge with 3.3 2013-10-12 20:01:14 +02:00
Georg Brandl
5c01d99c12 Introduce support for documenting which C API elements are not part of the stable/limited API. 2013-10-12 19:54:30 +02:00
Georg Brandl
b9e8712a54 merge with 3.3 2013-10-12 19:13:38 +02:00
Georg Brandl
5db7c54f96 Closes #13915: update tutorial with respect to .pyc files (__pycache__ / PEP 3147).
Initial wording proposed by John Roth.
2013-10-12 19:13:23 +02:00
Georg Brandl
a636c8e150 merge with 3.3 2013-10-12 19:03:47 +02:00
Georg Brandl
ae30a813a9 Closes #13833: document PyStructSequence C-API functions. 2013-10-12 19:03:43 +02:00
Georg Brandl
3cb26b77b6 merge with 3.3 2013-10-12 18:41:23 +02:00
Georg Brandl
c96ef1f0ed Closes #13026: fix documentation of MAKE_FUNCTION for 3.x. 2013-10-12 18:41:18 +02:00
Georg Brandl
32b2c62db4 merge with 3.3 2013-10-12 18:19:48 +02:00
Georg Brandl
57f936ecde Closes #19179: make table of XML vulnerabilities clearer by using "everyday" booleans and explaining the table beforehand. 2013-10-12 18:19:33 +02:00
Georg Brandl
42840f017d merge with 3.3 2013-10-12 18:15:21 +02:00
Georg Brandl
d8ede4fddd Closes #13203: add a FAQ section about seemingly duplicate id()s. 2013-10-12 18:14:25 +02:00
Serhiy Storchaka
4ae423ded4 Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:23:21 +03:00
Serhiy Storchaka
4b5325963b Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:33 +03:00
Ezio Melotti
34808e2237 #19221: update whatsnew entry about UCD version. 2013-10-12 16:36:13 +03:00