R David Murray
b9a428d57d
#9557 : eliminate 3 seconds of static overhead from test_mailbox.
...
This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.
2011-03-25 16:03:47 -04:00
Éric Araujo
4dcf50250c
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
2011-03-25 20:31:50 +01:00
Ezio Melotti
ebbf1e67a8
#2650 : Refactor re.escape to use enumerate().
2011-03-25 14:19:30 +02:00
Ezio Melotti
7b9e97b487
#2650 : Add tests with non-ascii chars for re.escape.
2011-03-25 14:09:33 +02:00
Ezio Melotti
d2114ebd97
#2650 : Refactor the tests for re.escape.
2011-03-25 14:08:44 +02:00
Kurt B. Kaiser
5cf7878fda
Merge 3.1
2011-03-24 13:19:35 -04:00
R David Murray
b938c8c253
#11606 : improved body_encode algorithm, no longer produces overlong lines
...
Algorithm and initial patch by Michael Henry.
2011-03-24 12:19:26 -04:00
Kurt B. Kaiser
f9439914c8
Merge 3.1
2011-03-24 12:03:36 -04:00
Victor Stinner
29943aa120
test_multiprocessing: use assertLess() to see the timeout on error
2011-03-24 16:24:07 +01:00
R David Murray
cafd79d904
#11590 : fix quoprimime decode handling of empty strings and line endings.
2011-03-23 15:25:55 -04:00
R David Murray
ec1b5b88ee
#11589 : add additional tests for the email quoprimime module.
...
Patch by Michael Henry.
2011-03-23 14:19:05 -04:00
Éric Araujo
48049911d6
Fix obscure set crashers ( #8420 ). Backport of d56b3cafb1e6, reviewed by Raymond.
2011-03-23 02:08:07 +01:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
a8e4d6eb6e
Issue 10787: Document the probability density function for random.gammavariate.
2011-03-22 15:55:51 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00
Georg Brandl
82d8ec5eef
Fix duplicate word.
2011-03-21 08:55:16 +01:00
Kurt B. Kaiser
75fc566d0f
<Home> toggle non-functional when NumLock set
...
on Windows. Issue3851.
2011-03-21 02:13:42 -04:00
Victor Stinner
451385d8f8
Issue #8651 : PyArg_Parse*() functions raise an OverflowError if the file
...
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
2011-03-21 03:22:50 +01:00
Éric Araujo
e788ace5ab
Fix some issue references in NEWS
2011-03-21 00:01:23 +01:00
Victor Stinner
628225c0d1
Issue #5537 : Fix time2isoz() and time2netscape() functions of httplib.cookiejar
...
for expiration year greater than 2038 on 32-bit systems.
2011-03-21 02:38:51 +01:00
Éric Araujo
09eb980e3e
Fix typo in class name
2011-03-20 18:30:37 +01:00
Antoine Pitrou
8189ab85e3
Call reap_children() where appropriate
2011-03-20 17:35:32 +01:00
R David Murray
9c0d5eaa70
Markup fixes for #7198 patch.
2011-03-20 11:18:21 -04:00
R David Murray
f453debb45
#7198 : really add newline='' to csv.writer docs.
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Senthil Kumaran
1b407fe658
Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML.
2011-03-20 10:44:30 +08:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Antoine Pitrou
5e98141f9f
Issue #5421 : Fix misleading error message when one of socket.sendto()'s
...
arguments has the wrong type. Patch by Nikita Vetoshkin.
2011-03-17 22:38:37 +01:00
Senthil Kumaran
9f9193ec37
Error message in http.server code. Missed to update in 3.1 branch initially.
2011-03-17 17:01:45 +08:00
R David Murray
de91276a5c
#11401 : handle headers with no value.
2011-03-16 18:26:23 -04:00
R David Murray
6d94bd470e
#9298 : restore proper folding of base64 encoded bodies.
...
Patch by Yves Dorfsman.
2011-03-16 15:52:22 -04:00
Jesus Cea
d3b7a55f54
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS
2011-03-16 20:37:54 +01:00
Ronald Oussoren
0b8753d24b
Issue #11569 : use absolute path to the sysctl command in multiprocessing to
...
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
2011-03-16 09:41:32 -04:00
Ezio Melotti
9465d424ec
Revert typo fixes in zlib/*
2011-03-16 12:48:54 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
R David Murray
e3d09ff269
#11216 : document all possible set_charset execution paths.
2011-03-15 17:41:13 -04:00
Antoine Pitrou
126848a2d8
Fix whitespace in test_subprocess
2011-03-15 21:17:10 +01:00
Antoine Pitrou
87541aa296
Merge
2011-03-15 21:11:04 +01:00
Benjamin Peterson
ec4b44b2da
make this subversion artifact empty
2011-03-15 15:03:13 -05:00
Antoine Pitrou
2c50a09ac4
On behalf of Tarek: Issue #11501 : disutils.archive_utils.make_zipfile no
...
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.
2011-03-15 21:02:59 +01:00
R David Murray
7dedcb4644
#11555 : update doc for 3.x change to as_string mangle_from default.
2011-03-15 14:01:18 -04:00
Ezio Melotti
8beaa6c2ec
Revert typo fixes in _cytpes/libffi*
2011-03-15 19:10:51 +02:00
Gregory P. Smith
81ce68597c
Fix the @test_NNNN_tmp file terds being left in whatever your $PWD was
...
when test_subprocess was run.
2011-03-15 02:04:11 -04:00
Ezio Melotti
42da663e6f
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 05:18:48 +02:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04:00
Ronald Oussoren
e72e161851
Issue #11500 : Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list
...
Patch by Scott Wilson.
2011-03-14 18:15:25 -04:00
briancurtin
94eceeb89c
Fix #11491 . When dbm.open was called with a file which already exists and
...
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
2011-03-14 15:35:35 -04:00
Ronald Oussoren
250324952e
Fixes #1099 : Mac compile fails with pydebug and framework enabled
...
Without this patch "./configure --with-pydebug --enable-framework CC=gcc-4.0" fails on MacOSX
2011-03-14 10:11:59 -04:00
R David Murray
d89ee79d19
#11488 : Add tests for writelines method of SpooledTemporaryFile.
...
Patch by Evan Dandrea.
2011-03-14 09:55:46 -04:00