Senthil Kumaran
011525ee92
Fix closes issue10761: tarfile.extractall failure when symlinked files are present.
2011-04-28 15:30:31 +08:00
Ezio Melotti
bdfa2e69e2
Backport test from #11926 .
2011-04-28 07:59:33 +03:00
Raymond Hettinger
bd0933a687
Issue #11940 : Update external link.
2011-04-27 16:34:07 -07:00
Ezio Melotti
cd12746ce9
#11942 : Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
2011-04-28 00:48:46 +03:00
Antoine Pitrou
1f9eb155b4
Move NEWS entry to the right section.
2011-04-27 19:26:06 +02:00
Antoine Pitrou
4394e0db24
Issue #10517 : After fork(), reinitialize the TLS used by the PyGILState_*
...
APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch
by Charles-François Natali.
2011-04-27 19:20:48 +02:00
Ezio Melotti
34b32d62f8
#11763 : don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.
2011-04-27 09:45:46 +03:00
Senthil Kumaran
5dc6868f25
Update NEWS for Issue11236.
2011-04-26 21:17:45 +08:00
Senthil Kumaran
83627ed6d5
issue11236 getpass.getpass to respond ctrl-c or ctrl-z
2011-04-26 21:02:26 +08:00
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