Commit Graph

49691 Commits

Author SHA1 Message Date
Ezio Melotti e3685f6b1b #6780: fix starts/endswith error message to mention that tuples are accepted too. 2011-04-26 05:12:51 +03:00
R David Murray a0895db2e1 #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:10:18 -04:00
Jesus Cea f93bb262eb pybench prep_times calculation error (closes #11895) 2011-04-25 03:20:54 +02:00
Raymond Hettinger 3f2b18495b Other minor clean-ups. 2011-04-24 12:55:28 -07:00
Raymond Hettinger c646743d02 Remove unused branch in the clear() method. Minor comment edits. 2011-04-24 12:30:39 -07:00
Raymond Hettinger 536999c697 Minor code clean-up. 2011-04-23 20:11:50 -07:00
Raymond Hettinger b36f747464 Remove unused imports 2011-04-23 18:37:37 -07:00
Raymond Hettinger 43a5641c0b Minor code simplification. 2011-04-23 15:51:38 -07:00
Raymond Hettinger 0b795e5b36 Minor code simplification. 2011-04-23 15:41:38 -07:00
Raymond Hettinger 7ce6d9763c Cleanups to remove dependencies and add docstrings. 2011-04-22 18:49:53 -07:00
Ezio Melotti c69313a7ab Fix some more markup glitches in argparse doc. 2011-04-22 01:29:13 +03:00
Ezio Melotti 569083adbf The \ is not supported in Sphinx 0.6. 2011-04-21 23:30:27 +03:00
Ezio Melotti d281f1439d #11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:09:27 +03:00
Ezio Melotti 310619c80f #11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:06:48 +03:00
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