Commit Graph

49561 Commits

Author SHA1 Message Date
Victor Stinner e363ec1057 (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
2011-05-01 23:43:37 +02:00
Georg Brandl 12b8fcfc45 Split combined code/doctest code blocks in two blocks, to enable proper highlighting. 2011-05-01 22:36:31 +02:00
R David Murray f9860c8298 #11971: fix man page; it's -OO not -O0
Patch by Lars Michelsen.
2011-05-01 11:12:35 -04:00
R David Murray dd6ab85384 #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:26:02 -04:00
R David Murray dcaacbf1ef #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:34:35 -04:00
Benjamin Peterson 2a7a3ee39a fix function name in example (closes #11966) 2011-04-30 13:14:56 -05:00
Eli Bendersky b22f39cb94 fix formatting, :c:func: --> :cfunc: 2011-04-30 09:02:12 +03:00
Eli Bendersky 11d1171ecf Issue #10912: add clarification for PyObject_RichCompareBool comparing identical objects 2011-04-30 08:51:55 +03:00
Brian Curtin bb23bd69b9 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:23:46 -05:00
Brian Curtin 20de4586e6 whitespace fix 2011-04-29 16:28:52 -05:00
Brian Curtin 77b75910b7 merge 2011-04-29 16:21:51 -05:00
Ezio Melotti 6940e61225 #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03:00
Łukasz Langa 9d68ad862a Merged solution for #11786 from 2.6 2011-04-28 17:40:19 +02:00
Łukasz Langa 22108f1bb0 Closes #11786: ConfigParser.[Raw]ConfigParser optionxform(). 2011-04-28 17:27:59 +02:00
Senthil Kumaran f3eb7d3454 skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:00:19 +08:00
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