Commit graph

68809 commits

Author SHA1 Message Date
R David Murray
e67c6c545b #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 16:38:03 -05:00
Ezio Melotti
697e7bacbc Fix typo in Misc/NEWS entry. 2013-03-07 19:53:19 +02:00
Ezio Melotti
1f38621a33 #11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes. 2013-03-07 18:44:29 +02:00
Eli Bendersky
f9164e13fc Fix doc grammar and line width 2013-03-06 06:48:57 -08:00
Ezio Melotti
33e20d1954 #17364: remove documentation for a function that does not exist. 2013-03-06 03:20:27 +02:00
Senthil Kumaran
1e7551dc87 Reverting the changeset 5126e62c60af made for Issue #12921 2013-03-05 02:25:58 -08:00
Senthil Kumaran
3fb066d286 Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.
2013-03-05 01:22:57 -08:00
Antoine Pitrou
44d5214927 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Ezio Melotti
aaef34483c #17346: make sure pickle tests are run against all protocols. Initial patch by Marius Gedminas. 2013-03-04 15:17:56 +02:00
Nadeem Vawda
7b39b9b51b Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:31:21 +01:00
Ezio Melotti
fed69ba63c Fix markup in unittest doc. 2013-03-01 21:26:04 +02:00
Ezio Melotti
136726c59f #17315: unlink a file that test_posixpath was leaving around. 2013-03-01 20:59:17 +02:00
Ezio Melotti
c6641dbf58 Add a link to the demo dir. 2013-02-28 18:02:28 +02:00
Ezio Melotti
4d6cb0fcf9 Fix markup in unittest docs. 2013-02-28 08:28:11 +02:00
Chris Jerdonek
13fb979638 Issue #16406: Combine the doc pages for uploading and registering to PyPI. 2013-02-27 10:00:20 -08:00
R David Murray
1cb0cb2fcd #17296: backport fix for issue 1692335, naive exception pickling. 2013-02-27 08:57:09 -05:00
Petri Lehtinen
5f79409889 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:38:17 +02:00
Richard Oudkerk
7aaa1ef858 Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. 2013-02-26 12:39:57 +00:00
Senthil Kumaran
8fd366978d Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior 2013-02-26 01:02:58 -08:00
Serhiy Storchaka
a5f13d2a5f Issue #1470548: Add test for fragment producing with XMLGenerator. 2013-02-25 13:46:10 +02: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
0362b54fd9 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:03 +01:00
Petri Lehtinen
7a05113ccf Issue #16121: Fix line number accounting in shlex 2013-02-23 22:08:07 +01:00
Petri Lehtinen
905b648754 Issue #16403: Document how distutils uses the maintainer field in PKG-INFO 2013-02-23 21:06:16 +01:00
Petri Lehtinen
ee4a20bad6 Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:53:27 +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
8b945148e3 Issue #14720: sqlite3: Convert datetime microseconds correctly
Patch by Lowe Thiderman
2013-02-23 19:05:56 +01:00
Petri Lehtinen
ed909bcbdd Issue #5033: Fix building of the sqlite3 extension module 2013-02-23 17:16:20 +01:00
Ezio Melotti
507eb09ad6 #17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only. 2013-02-23 07:53:56 +02:00
Ezio Melotti
1ca8794f10 #17249: check for the availability of the thread module. 2013-02-23 06:42:19 +02:00
Ezio Melotti
29267c81ce #17249: convert a test in test_capi to use unittest and reap threads. 2013-02-23 05:52:46 +02:00
Ezio Melotti
739d5497c0 #15438: add a note to math.pow() that suggests using **/pow() for integers. Patch by Mark Dickinson. 2013-02-23 04:53:44 +02:00
Ezio Melotti
ad17bc0bf9 #17271: update example in tempfile docs. 2013-02-22 08:28:14 +02:00
Ezio Melotti
a19ebdb44a #17256: fix syntax highlight in embedding example. Patch by Kushal Das. 2013-02-22 07:46:22 +02:00
Chris Jerdonek
d69ad55220 Issue #17203: add long option names to unittest discovery docs. 2013-02-21 18:54:43 -08:00
Ezio Melotti
0f4377c100 #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. 2013-02-21 23:15:40 +02:00
Serhiy Storchaka
c510a048ba Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
2013-02-21 20:19:16 +02:00
Serhiy Storchaka
a2964b3175 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:34:36 +02:00
Ezio Melotti
bcbc5678d5 #17265: fix highlight in template example. Initial patch by Berker Peksag. 2013-02-21 12:30:32 +02:00
Serhiy Storchaka
b3d62cefc7 Issue #17248: Fix os.*chown() testing when user has group root. 2013-02-20 19:48:22 +02:00
Serhiy Storchaka
54db2fd5d0 Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. 2013-02-20 19:40:25 +02:00
R David Murray
774a39f26e #13700: Make imap.authenticate with authobject work.
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.

Original patch by Erno Tukia.
2013-02-19 12:17:31 -05:00
R David Murray
6b30759022 #7963: fix error message when 'object' called with arguments.
Patch by Alexander Belopolsky.
2013-02-18 21:20:08 -05:00
Serhiy Storchaka
1548ed6698 Disable posixpath.realpath() tests on Windows (fix for issue #6975). 2013-02-18 13:32:30 +02:00
Serhiy Storchaka
59f5dee3d6 Issue #13153: Tkinter functions now raise TclError instead of ValueError when
a string argument contains non-BMP character.
2013-02-18 13:01:52 +02:00
Serhiy Storchaka
467393dff5 Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:21:04 +02:00
Serhiy Storchaka
9acb9bc659 Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
Serhiy Storchaka
fa46816915 Issue #9669: Protect re against infinite loops on zero-width matching in
non-greedy repeat.  Patch by Matthew Barnett.
2013-02-16 21:23:53 +02:00
Serhiy Storchaka
70ca0210e8 Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on
64-bit).
2013-02-16 16:47:47 +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