Ezio Melotti
0a43ecc9df
#11902 : Fix typo in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 22:56:51 +03:00
Ezio Melotti
01b600c2a3
Add the :mod: role where it was missing.
2011-04-21 16:12:17 +03:00
Ezio Melotti
2eab88e834
#11885 : capitalize Python.
2011-04-21 15:26:46 +03:00
Raymond Hettinger
3674c8591f
Minor text rearrangement.
2011-04-20 13:11:38 -07:00
Ezio Melotti
ffdf94ae79
Fix wrong function name. Noticed by Clive Darke.
2011-04-20 21:29:31 +03:00
Jesus Cea
44e81687a2
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. ( closes #11828 )
2011-04-20 16:39:15 +02:00
Brian Curtin
0d65433568
Fix #8886 . Use context managers throughout zipfile tests.
...
This was fixed in py3k SVN. Consider this a backport.
2011-04-19 21:15:55 -05:00
Raymond Hettinger
c98556e72e
Issue #11875 : Alter the previous fix to work better with subclasses
2011-04-19 16:53:07 -07:00
Ezio Melotti
b4923786fa
Fix wrong number of functions noticed by Sandro Tosi.
2011-04-19 23:12:37 +03:00
Raymond Hettinger
7cb5ec0e60
Use a generic class lookup.
2011-04-19 09:52:21 -07:00
Raymond Hettinger
e0156c43da
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
2011-04-19 09:48:39 -07:00
Vinay Sajip
0513275b58
Updated documentation on fileConfig().
2011-04-19 13:47:23 +01:00
Nadeem Vawda
bafc6a9fca
Fix sporadic failure in test_startfile.
...
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:35:58 +02:00
Victor Stinner
059061a237
Issue #11768 : signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
...
Fix the documentation.
2011-04-18 16:34:31 +02:00
Victor Stinner
33feeab598
(Merge 3.1) Issue #11768 : The signal handler of the signal module only calls
...
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
2011-04-18 16:33:28 +02:00
Ezio Melotti
8e4eeef4ee
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Raymond Hettinger
efeb8bdaa2
Rework multiset methods to use less memory and to make fewer calls to __hash__.
2011-04-17 20:08:41 -07:00
Martin v. Löwis
c116da04a9
merge 11442 NEWS
2011-04-17 23:01:13 +02:00
Martin v. Löwis
31e1b1f69c
merge 11442 NEWS
2011-04-17 22:56:19 +02:00
Martin v. Löwis
2d253dd9ea
Issue 11442: Add NEWS entry for e9724d7abbc2
2011-04-17 22:29:40 +02:00
Éric Araujo
46c09da3ca
Advertise nesting directives for class/method and class/data combos.
...
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02:00
Ezio Melotti
12125823fa
Fix a few hyphens in argparse.rst.
2011-04-16 23:04:51 +03:00
Eli Bendersky
ad72bb1aa8
Issue #11855 : Apply missing formatting for urlretrieve
2011-04-16 15:28:42 +03:00
Raymond Hettinger
df453fbb5f
Add another example to the collections module docs.
2011-04-15 17:55:36 -07:00
Éric Araujo
b22e17b2d6
Fix double use of f.close().
...
The other one is in a finally block not seen in the diff, which I added
in 3bf86785cd9c (for #10252 ).
2011-04-16 00:13:39 +02:00
Éric Araujo
4800d6470c
Minor tweaks to a few comments in heapq
2011-04-15 23:34:31 +02:00
Raymond Hettinger
37c0fe56b9
Fix minor subclassing issue with collections.Counter
2011-04-15 13:12:21 -07:00
Ezio Melotti
65c620d0c7
#11843 : remove duplicate line from table in distutil doc.
2011-04-15 18:05:09 +03:00
Ezio Melotti
c283a85e12
Issue #5057 : fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).
2011-04-15 16:14:04 +03:00
Senthil Kumaran
ddaea1c38a
Issue #11467 : Fix urlparse behavior when handling urls which contains scheme
...
specific part only digits. Patch by Santoso Wijaya.
2011-04-15 18:07:33 +08:00
Ezio Melotti
1bb18cc39e
#11848 : replace dead link in random.betavariate comment.
2011-04-15 08:25:16 +03:00
Ezio Melotti
6033d26118
#4783 : document that is not possible to use json.dump twice on the same stream.
2011-04-15 07:37:00 +03:00
Eli Bendersky
929e276176
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:35:06 +03:00
Senthil Kumaran
e57666a990
merge the changes.
2011-04-14 12:58:32 +08:00
Senthil Kumaran
a99b761972
Fix Issue11474 - url2pathname() handling of '/C|/' on Windows
2011-04-14 12:54:35 +08:00
Ezio Melotti
020f6508c1
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:39:06 +03:00
Ezio Melotti
7f9d2ead34
#9101 : backport json reference in configparser doc.
2011-04-14 06:53:44 +03:00
Éric Araujo
e4f8d839a7
Fix improper tests in RegisterTestCase
2011-04-14 03:49:19 +02:00
R David Murray
a2472d28fd
Transplant: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:20:30 -04:00
Raymond Hettinger
9b342c6fd4
Issue 3051: make pure python code pass the same tests as the C version.
2011-04-13 11:15:58 -07:00
Ezio Melotti
2b96f0987a
#9233 : Fix json.loads({}) to return a dict (instead of a list), when _json is not available.
2011-04-13 05:37:29 +03:00
Raymond Hettinger
179816df59
Issue 11718: Teach IDLE's open module dialog to find packages.
2011-04-12 18:54:46 -07:00
Senthil Kumaran
0531d6fba5
update news in 2.7 for Issue #11703
2011-04-13 09:47:20 +08:00
R David Murray
ea8b6ef15f
#10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:00:26 -04:00
Senthil Kumaran
49c440877e
Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.
2011-04-13 07:31:45 +08:00
Raymond Hettinger
7c9d34722d
Issue 11747: Fix output format for context diffs.
2011-04-12 15:48:25 -07:00
Raymond Hettinger
d92232976e
Neaten-up the fix to issue 11830
2011-04-12 09:06:01 -07:00
Ezio Melotti
4ded0c0462
Remove unnecessary imports and use assertIs instead of assertTrue.
2011-04-12 16:06:43 +03:00
Ezio Melotti
1b93021214
#9233 : skip _json-specific tests when _json is not available.
2011-04-12 15:59:50 +03:00
Raymond Hettinger
9d2ad441b9
Use floor division operator instead of deprecated division operator.
2011-04-11 17:45:01 -07:00