Andrew Svetlov
0c68c5ddb2
Update docs for string.zfill
2012-09-28 16:32:27 +03:00
Andrew Svetlov
9ac20231e0
Update documentation for string.replace. Thanks to docs@
2012-09-28 16:31:06 +03:00
Michael Foord
bf2ad34650
Pass on parameters in unittest.TextTestResult.__init__ super call
2012-09-28 12:54:56 +01:00
Petri Lehtinen
fb2e8a7c01
#15222 : Fix a test failure on Windows
2012-09-26 07:42:18 +03:00
Raymond Hettinger
1b43274d12
Show how to close a connection
2012-09-25 19:57:50 -04:00
Petri Lehtinen
a4fd0dc574
#15222 : Insert blank line after each message in mbox mailboxes
2012-09-25 22:01:23 +03:00
Petri Lehtinen
ec2807c435
#15222 : test_mailbox: End message template in a newline
2012-09-25 21:49:46 +03:00
Benjamin Peterson
ba66c2280f
switch assertion to an explicit ValueError
2012-09-25 11:48:50 -04:00
Barry Warsaw
0dea936e78
- Issue #15935 : Clarification of argparse docs, re: add_argument() type and
...
default arguments. Patch contributed by Chris Jerdonek.
2012-09-25 10:32:53 -04:00
Christian Heimes
671138f27d
Issue #16037 : Limit httplib's _read_status() function to work around broken
...
HTTP servers and reduce memory usage. It's actually a backport of a Python
3.2 fix. Thanks to Adrien Kunysz.
2012-09-25 13:29:30 +02:00
Senthil Kumaran
d41dc7ce46
2.7 : Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:48:21 -07:00
Chris Jerdonek
3dec449a7c
Issue #16015 : Fix NameError doctest example in tutorial introduction.
2012-09-24 19:33:32 -07:00
Mark Dickinson
5a53a41bbc
Issue #14167 : restore statement about breaks in finally clauses; remove statement about exception chaining.
2012-09-24 20:25:24 +01:00
Ezio Melotti
9c1c52b777
#16019 , #16020 : fix syntax highlight.
2012-09-24 17:30:39 +03:00
Ezio Melotti
4baf480088
#16017 : capitalize URLs.
2012-09-24 17:06:11 +03:00
Ezio Melotti
fe11e81136
#16014 : fix broken link.
2012-09-24 16:56:59 +03:00
Christian Heimes
8112ea2360
Issue #16012 : Fix a regression in pyexpat. The parser's UseForeignDTD()
...
method doesn't require an argument again.
2012-09-24 13:17:08 +02:00
Ezio Melotti
cadff70ba5
#15421 : fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier.
2012-09-21 17:26:35 +03:00
Ezio Melotti
003014bf1e
#15980 : properly escape newlines in docstrings. Patch by Serhiy Storchaka.
2012-09-21 16:27:45 +03:00
doko@ubuntu.com
3d2fc15f82
- Issue #11715 : Fix multiarch detection without having Debian development
...
tools (dpkg-dev) installed.
2012-09-21 13:51:40 +02:00
Benjamin Peterson
fb2f409b90
remove gdb noise about linux-vdso
2012-09-20 23:48:23 -04:00
Mark Dickinson
39e0fb01ef
Issue 15985: fix round argument names in documentation. Thanks Chris Jerdonek.
2012-09-20 20:57:37 +01:00
Ezio Melotti
a8e49638d1
Fix a few quotes/backslashes.
2012-09-20 09:48:07 +03:00
Ezio Melotti
aea83f53ee
Fix rst markup in timeit docs.
2012-09-20 06:02:50 +03:00
Ezio Melotti
6d6fb3aa9f
#15970 : xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param".
2012-09-19 08:11:03 +03:00
Ezio Melotti
ba372a59d1
#15796 : Fix \n in readline docstring.
2012-09-18 07:17:49 +03:00
Ezio Melotti
b3b32fbd69
#11643 : fix rst markup error in site.rst.
2012-09-17 08:59:36 +02:00
Ezio Melotti
0b6f255e4b
#15920 : fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek.
2012-09-17 05:36:56 +03:00
Ezio Melotti
eab4df5830
#15789 : mention shell-like parts of the stdlib in the subprocess docs. Patch by Chris Rebert.
2012-09-15 08:33:12 +03:00
Ezio Melotti
a733d814be
#15932 : use with statement in csv doc examples.
2012-09-15 05:46:24 +03:00
Ezio Melotti
714e64ebd1
#15831 : avoid using 3.x syntax for keyword-only args.
2012-09-15 04:45:57 +03:00
Ezio Melotti
ed3f5900d4
#15831 : document multiple signatures on different lines. Patch by Chris Jerdonek.
2012-09-14 06:48:32 +03:00
Ezio Melotti
7d85760c02
#15437 , #15439 : merge Doc/ACKS.txt with Misc/ACKS and modify Doc/about.rst accordingly.
2012-09-14 01:58:33 +03:00
Barry Warsaw
03937a8755
A follow up for issue #15906 : change the test for calling the type conversion
...
on the action's default, reverting it back to previous behavior. Conversion
is only done on string defaults.
Add a test for this and another test that ensures such type conversions are
only called once.
2012-09-12 14:34:50 -04:00
Christian Heimes
dfaf90da9c
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
2012-09-12 17:58:10 +02:00
Christian Heimes
65a0141e14
Partly revert ad3824a90261 and add comment about reference ownership
2012-09-12 17:52:46 +02:00
Senthil Kumaran
9f2cc6c390
Automated merge with file:///home/vagrant/3.2
2012-09-11 22:16:58 -07:00
Senthil Kumaran
769798363d
Fix issue #15899 - howto/unicode.rst doctest corrections for 2.7 branch.
2012-09-11 22:14:23 -07:00
Barry Warsaw
03fcfbef0a
- Issue #15906 : Fix a regression in argparse caused by the preceding change,
...
when action='append', type='str' and default=[].
2012-09-11 21:06:29 -04:00
Jesus Cea
a8a5b397c1
Closes #15793 : Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any issue about this, but add a test just to be sure
2012-09-11 01:55:04 +02:00
Jesus Cea
8e03b4cae0
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete (fix 2)
2012-09-10 22:57:34 +02:00
Jesus Cea
20f0ea1f61
#15676 : mmap: add empty file check prior to offset check <- Previous patch was incomplete
2012-09-10 22:45:47 +02:00
Jesus Cea
3fb774ec5f
Closes #15910 : MD5 and SHA1 crash when "updated" with strings bigger than 2**32 bytes
2012-09-10 21:39:07 +02:00
Jesus Cea
03a9d2a20b
Closes #15908 : SHA1 crashes in 64 bits when the string to hash is bigger than 2**32 bytes
2012-09-10 21:04:42 +02:00
Jesus Cea
dc0170a84a
#15676 : Proper attribution in Misc/ACKS
2012-09-10 20:18:43 +02:00
R David Murray
4709ac14ff
#14649 : add sample files omitted from previous checkin.
2012-09-10 11:20:47 -04:00
Christian Heimes
f6cdd35bc7
merge
2012-09-10 17:01:21 +02:00
Christian Heimes
47770ed914
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
2012-09-10 16:57:36 +02:00
R David Murray
8d580539f0
#14649 : clarify DocTestSuite error when there are no docstrings.
...
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
2012-09-10 10:17:13 -04:00
doko@ubuntu.com
7a8634d8d8
backport from the trunk, to fix test_tools with srcdir != builddir
...
changeset: 77827:c23b442b5d5e
user: Antoine Pitrou <solipsis@pitrou.net>
date: Thu Jun 28 01:20:26 2012 +0200
summary: Avoid using scrdir, it's broken.
changeset: 77826:f0e58e778215
user: Neil Schemenauer <nas@arctrix.com>
date: Wed Jun 27 15:58:37 2012 -0600
summary: Fix bug in test_tools that prevented building is separate directory.
2012-09-10 14:34:42 +02:00