Commit Graph

1055 Commits

Author SHA1 Message Date
Brian Curtin 2502ebf9c9 Add Nick Sloan for his contribution to #17732 2013-05-16 11:59:29 -05:00
Serhiy Storchaka 3eab6b363a Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:31:16 +03:00
Ezio Melotti 173d4109b5 #17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl. 2013-05-10 05:21:35 +03:00
Ezio Melotti ce82d57c74 #17809: fix a test failure in test_expanduser when $HOME has a trailing /. Patch by Kubilay Kocak. 2013-05-09 15:19:45 +03:00
Serhiy Storchaka 263fab94ee Issue #16601: Restarting iteration over tarfile no more continues from where
it left off.  Patch by Michael Birtwell.
2013-05-09 14:22:26 +03:00
Ezio Melotti 9c939bceeb #17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari. 2013-05-07 09:46:30 +03:00
Ezio Melotti 28faf03d44 #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland. 2013-05-04 17:46:23 +03:00
Raymond Hettinger b98dcc1f53 Issue #15535: Fix pickling of named tuples. 2013-05-03 02:24:15 -07:00
R David Murray 5aea37ad1d #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:07:16 -04:00
Serhiy Storchaka 81a5855a27 Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable.  Original patch by Thomas Rachel.
2013-04-22 22:51:43 +03:00
Eli Bendersky d4cb4b7451 Issue #17736: fix misleading comment in _elementtree.c
Patch by Jonas Wagner
2013-04-22 05:25:25 -07:00
R David Murray 3583761bcd #17413: make sure settrace funcs get passed exception instances for 'value'.
Patch by Ingrid Cheung and Brendan McLoughlin.
2013-04-19 12:56:57 -04:00
Ezio Melotti ed3cd7e445 #13510: clarify that f.readlines() is note necessary to iterate over a file. Patch by Dan Riti. 2013-04-15 19:08:31 +03:00
R David Murray 26dfaac9ac #17341: Include name in re error message about invalid group name.
Patch by Jason Michalski.
2013-04-14 13:00:54 -04:00
Serhiy Storchaka 4bb17348f5 Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.
2013-04-13 21:15:47 +03:00
Andrew Svetlov b4fd468f12 Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:00:04 +03:00
Andrew Svetlov a2dfc35a13 Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:21:01 +03:00
Ezio Melotti 075d87cf05 #6696: add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney. 2013-04-12 15:42:06 +03:00
Ezio Melotti cd514cf175 #12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell. 2013-04-10 19:30:11 +03:00
Andrew Svetlov 5b6e1cad37 Update argparse docs to follow order of ArgumentParser() arguments. 2013-04-07 14:43:17 +03:00
Ezio Melotti 09f0ddec21 #8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki Partanen. 2013-04-04 09:16:15 +03:00
R David Murray 7889944b83 Merge: #17443: Fix buffering in IMAP4_stream.
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering.  In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered.  This
patch uses the default buffer size from the io module to get buffered streams
from Popen.

Much debugging work and patch by Diane Trout.

The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:56:01 -04:00
R David Murray fcb6d6a3b3 #17443: Fix buffering in IMAP4_stream.
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering.  In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered.  This
patch uses the default buffer size from the io module to get buffered streams
from Popen.

Much debugging work and patch by Diane Trout.

The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
2013-03-19 13:52:33 -04:00
R David Murray f3a1b6efe0 Merge #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
2013-03-18 00:20:43 -04:00
R David Murray a846f5ace8 #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
2013-03-18 00:18:12 -04:00
R David Murray 8093d6f822 Merge: #17431: Fix missing import of BytesFeedParser in email.parser. 2013-03-15 20:42:29 -04:00
R David Murray 612528d95d #17431: Fix missing import of BytesFeedParser in email.parser.
Initial patch contributed by Edmond Burnett.
2013-03-15 20:38:15 -04:00
Eli Bendersky 72cdb5c39e Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:04:33 -07:00
Eli Bendersky 7343cb0790 Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:01:22 -07:00
Ezio Melotti c9cfcf1e6c #17351: merge with 3.2. 2013-03-11 09:42:40 +02:00
Ezio Melotti af8838f443 #17351: remove "object" inheritance from docs. Patch by Phil Elson. 2013-03-11 09:30:21 +02:00
Terry Jan Reedy adecf3f66f Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte
2013-03-09 02:14:27 -05:00
Terry Jan Reedy b6f1d6419d Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:39:30 -05:00
Terry Jan Reedy 9cbcc2f1c0 Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:35:15 -05:00
R David Murray 9f10f56d13 Merge #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.

Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray 67bfe80758 #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.

Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen e766c742c1 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
Petri Lehtinen 0362b54fd9 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:03 +01:00
Petri Lehtinen 6d61eaa0d0 Issue #16121: Fix line number accounting in shlex 2013-02-23 22:09:51 +01:00
Petri Lehtinen 7a05113ccf Issue #16121: Fix line number accounting in shlex 2013-02-23 22:08:07 +01:00
Petri Lehtinen 3c75a48c86 Issue #8890: Stop advertising an insecure use of /tmp in docs 2013-02-23 19:34:44 +01:00
Petri Lehtinen 9f74c6cf7d Issue #8890: Stop advertising an insecure use of /tmp in docs 2013-02-23 19:27:49 +01:00
Petri Lehtinen f484efdb60 Issue #14720: sqlite3: Convert datetime microseconds correctly 2013-02-23 19:09:45 +01:00
Petri Lehtinen 8b945148e3 Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
2013-02-23 19:05:56 +01:00
Petri Lehtinen d2132144a4 Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:24:00 +01:00
Petri Lehtinen ed909bcbdd Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:16:20 +01:00
Ezio Melotti 600b71167e #17255: merge with 3.2. 2013-02-21 23:17:08 +02:00
Ezio Melotti 0f4377c100 #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. 2013-02-21 23:15:40 +02:00
Ezio Melotti 293ab9728a #17178: merge with 3.2. 2013-02-15 23:38:05 +02:00
Ezio Melotti b19ed57d8d #17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan. 2013-02-15 23:35:14 +02:00