]> granicus.if.org Git - python/log
python
14 years agoRe-enabled time test in test_logging.
Vinay Sajip [Wed, 27 Apr 2011 07:30:30 +0000 (08:30 +0100)]
Re-enabled time test in test_logging.

14 years ago#11763: merge with 3.2.
Ezio Melotti [Wed, 27 Apr 2011 07:21:51 +0000 (10:21 +0300)]
#11763: merge with 3.2.

14 years ago#11763: merge with 3.1.
Ezio Melotti [Wed, 27 Apr 2011 07:20:38 +0000 (10:20 +0300)]
#11763: merge with 3.1.

14 years ago#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too...
Ezio Melotti [Wed, 27 Apr 2011 07:17:34 +0000 (10:17 +0300)]
#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.

14 years agoIssue #10914: Initialize correctly the filesystem codec when creating a new
Victor Stinner [Tue, 26 Apr 2011 22:24:21 +0000 (00:24 +0200)]
Issue #10914: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.

Add fscodec_initialized attribute to the PyInterpreterState structure.

14 years agoIssue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
Victor Stinner [Tue, 26 Apr 2011 22:20:27 +0000 (00:20 +0200)]
Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)

... instead of PyErr_Print() because we don't need to set sys attributes,
the sys module is destroyed just after printing the error.

14 years agoFix compilation of _testembed.c without threads
Victor Stinner [Tue, 26 Apr 2011 21:37:02 +0000 (23:37 +0200)]
Fix compilation of _testembed.c without threads

14 years agoPyGILState_Ensure(), PyGILState_Release(), PyGILState_GetThisThreadState() are
Victor Stinner [Tue, 26 Apr 2011 21:34:58 +0000 (23:34 +0200)]
PyGILState_Ensure(), PyGILState_Release(), PyGILState_GetThisThreadState() are
not available if Python is compiled without threads.

14 years agomerge
Raymond Hettinger [Tue, 26 Apr 2011 20:59:59 +0000 (13:59 -0700)]
merge

14 years agoIssue 11929: Minor whitespace clean-ups.
Raymond Hettinger [Tue, 26 Apr 2011 20:56:29 +0000 (13:56 -0700)]
Issue 11929: Minor whitespace clean-ups.

14 years agoIssue 11929: Minor whitespace clean-ups.
Raymond Hettinger [Tue, 26 Apr 2011 20:55:55 +0000 (13:55 -0700)]
Issue 11929: Minor whitespace clean-ups.

14 years agoIssue #11918: OS/2 and VMS are no more supported because of the lack of
Victor Stinner [Tue, 26 Apr 2011 20:48:24 +0000 (22:48 +0200)]
Issue #11918: OS/2 and VMS are no more supported because of the lack of
maintainer.

14 years agoDisabled test failing on buildbots.
Vinay Sajip [Tue, 26 Apr 2011 19:51:07 +0000 (20:51 +0100)]
Disabled test failing on buildbots.

14 years agoRefined time test in test_logging.
Vinay Sajip [Tue, 26 Apr 2011 19:26:41 +0000 (20:26 +0100)]
Refined time test in test_logging.

14 years agoYet more test_logging coverage improvements.
Vinay Sajip [Tue, 26 Apr 2011 19:05:24 +0000 (20:05 +0100)]
Yet more test_logging coverage improvements.

14 years agoMore test_logging coverage improvements.
Vinay Sajip [Tue, 26 Apr 2011 18:34:04 +0000 (19:34 +0100)]
More test_logging coverage improvements.

14 years agotest_logging coverage improvements.
Vinay Sajip [Tue, 26 Apr 2011 17:43:05 +0000 (18:43 +0100)]
test_logging coverage improvements.

14 years agoI think this should be "versionchanged", not "versionadded"
Antoine Pitrou [Tue, 26 Apr 2011 16:53:42 +0000 (18:53 +0200)]
I think this should be "versionchanged", not "versionadded"

14 years agomerge from 3.2
Senthil Kumaran [Tue, 26 Apr 2011 13:14:26 +0000 (21:14 +0800)]
merge from 3.2

14 years agomerge from 2.7
Senthil Kumaran [Tue, 26 Apr 2011 13:12:48 +0000 (21:12 +0800)]
merge from 2.7

14 years agomerge from 3.1
Senthil Kumaran [Tue, 26 Apr 2011 13:10:23 +0000 (21:10 +0800)]
merge from 3.1

14 years agoUpdate News entry for Issue11236
Senthil Kumaran [Tue, 26 Apr 2011 13:09:49 +0000 (21:09 +0800)]
Update News entry for Issue11236

14 years agomerge from 3.1 codeline.
Senthil Kumaran [Tue, 26 Apr 2011 13:00:27 +0000 (21:00 +0800)]
merge from 3.1 codeline.

14 years agoFix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Senthil Kumaran [Tue, 26 Apr 2011 12:59:46 +0000 (20:59 +0800)]
Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z

14 years ago#6780: merge with 3.2.
Ezio Melotti [Tue, 26 Apr 2011 03:45:24 +0000 (06:45 +0300)]
#6780: merge with 3.2.

14 years ago#6780: merge with 3.1.
Ezio Melotti [Tue, 26 Apr 2011 03:40:59 +0000 (06:40 +0300)]
#6780: merge with 3.1.

14 years ago#6780: fix starts/endswith error message to mention that tuples are accepted too.
Ezio Melotti [Tue, 26 Apr 2011 03:09:45 +0000 (06:09 +0300)]
#6780: fix starts/endswith error message to mention that tuples are accepted too.

14 years agoMerge #11901: add description of how bitfields are laid out to hexversion docs
R David Murray [Mon, 25 Apr 2011 20:14:26 +0000 (16:14 -0400)]
Merge #11901: add description of how bitfields are laid out to hexversion docs

Patch by Sijin Joseph.

14 years agoMerge #11901: add description of how bitfields are laid out to hexversion docs
R David Murray [Mon, 25 Apr 2011 20:13:54 +0000 (16:13 -0400)]
Merge #11901: add description of how bitfields are laid out to hexversion docs

Patch by Sijin Joseph.

14 years ago#11901: add description of how bitfields are laid out to hexversion docs
R David Murray [Mon, 25 Apr 2011 20:12:26 +0000 (16:12 -0400)]
#11901: add description of how bitfields are laid out to hexversion docs

Patch by Sijin Joseph.

14 years agoIssue #11919: try to fix test_imp failure on some buildbots.
Antoine Pitrou [Mon, 25 Apr 2011 19:46:04 +0000 (21:46 +0200)]
Issue #11919: try to fix test_imp failure on some buildbots.

14 years agoIssue #11919: try to fix test_imp failure on some buildbots.
Antoine Pitrou [Mon, 25 Apr 2011 19:39:49 +0000 (21:39 +0200)]
Issue #11919: try to fix test_imp failure on some buildbots.

14 years agoIssue #10914: Add a minimal embedding test to test_capi.
Antoine Pitrou [Mon, 25 Apr 2011 19:23:26 +0000 (21:23 +0200)]
Issue #10914: Add a minimal embedding test to test_capi.

14 years agoIssue #10914: add NEWS item.
Antoine Pitrou [Mon, 25 Apr 2011 19:22:04 +0000 (21:22 +0200)]
Issue #10914: add NEWS item.

14 years agoIssue #10914: Add a minimal embedding test to test_capi.
Antoine Pitrou [Mon, 25 Apr 2011 19:21:07 +0000 (21:21 +0200)]
Issue #10914: Add a minimal embedding test to test_capi.

14 years agoIssue #11856: Speed up parsing of JSON numbers.
Antoine Pitrou [Mon, 25 Apr 2011 17:16:06 +0000 (19:16 +0200)]
Issue #11856: Speed up parsing of JSON numbers.

14 years agoIssue #2736: Documented how to compute seconds since epoch.
Alexander Belopolsky [Mon, 25 Apr 2011 17:00:40 +0000 (13:00 -0400)]
Issue #2736: Documented how to compute seconds since epoch.

14 years agoRevert bb62908896fe, but keep the test
Jesus Cea [Mon, 25 Apr 2011 02:03:58 +0000 (04:03 +0200)]
Revert bb62908896fe, but keep the test

14 years agopybench prep_times calculation error (closes #11895)
Jesus Cea [Mon, 25 Apr 2011 01:47:23 +0000 (03:47 +0200)]
pybench prep_times calculation error (closes #11895)

14 years agoCorrectly merging #9319 into 3.3?
Jesus Cea [Mon, 25 Apr 2011 01:46:43 +0000 (03:46 +0200)]
Correctly merging #9319 into 3.3?

14 years agopybench prep_times calculation error (closes #11895)
Jesus Cea [Mon, 25 Apr 2011 01:25:37 +0000 (03:25 +0200)]
pybench prep_times calculation error (closes #11895)

14 years agopybench prep_times calculation error (closes #11895)
Jesus Cea [Mon, 25 Apr 2011 01:24:08 +0000 (03:24 +0200)]
pybench prep_times calculation error (closes #11895)

14 years agoIssue #11005, issue #11915: fix issue number of commit 2c0da1c4f063.
Victor Stinner [Sun, 24 Apr 2011 21:45:23 +0000 (23:45 +0200)]
Issue #11005, issue #11915: fix issue number of commit 2c0da1c4f063.

14 years agoIssue #11915: threading.RLock()._release_save() raises a RuntimeError if the
Victor Stinner [Sun, 24 Apr 2011 21:41:33 +0000 (23:41 +0200)]
Issue #11915: threading.RLock()._release_save() raises a RuntimeError if the
lock was not acquired.

14 years agoMinor clean-ups to docstrings, comments, and var names.
Raymond Hettinger [Sun, 24 Apr 2011 21:34:26 +0000 (14:34 -0700)]
Minor clean-ups to docstrings, comments, and var names.

14 years agoMinor clean-ups to docstrings, comments, and var names.
Raymond Hettinger [Sun, 24 Apr 2011 21:26:08 +0000 (14:26 -0700)]
Minor clean-ups to docstrings, comments, and var names.

14 years agoRemove unused private function
Antoine Pitrou [Sat, 23 Apr 2011 15:56:06 +0000 (17:56 +0200)]
Remove unused private function

14 years agoIssue #11258: Speed up ctypes.util.find_library() under Linux by a factor
Antoine Pitrou [Sat, 23 Apr 2011 15:51:04 +0000 (17:51 +0200)]
Issue #11258: Speed up ctypes.util.find_library() under Linux by a factor
of 5 to 10.  Initial patch by Jonas H.

14 years agoIssue #11382: Trivial system calls, such as dup() or pipe(), needn't
Antoine Pitrou [Sat, 23 Apr 2011 15:21:13 +0000 (17:21 +0200)]
Issue #11382: Trivial system calls, such as dup() or pipe(), needn't
release the GIL.  Patch by Charles-François Natali.

14 years agoIssue #9319: Fix the unit test
Victor Stinner [Fri, 22 Apr 2011 23:24:11 +0000 (01:24 +0200)]
Issue #9319: Fix the unit test

14 years agoIssue #9319: Fix a crash on parsing a Python source code without encoding
Victor Stinner [Fri, 22 Apr 2011 22:41:19 +0000 (00:41 +0200)]
Issue #9319: Fix a crash on parsing a Python source code without encoding
cookie and not valid in UTF-8: use "<file>" as the filename instead of
reading from NULL.

14 years agoFixed bug in test_logging.
Vinay Sajip [Thu, 21 Apr 2011 23:17:46 +0000 (00:17 +0100)]
Fixed bug in test_logging.

14 years agoMerge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 22:57:47 +0000 (01:57 +0300)]
Merge with 3.2.

14 years agoFix some more markup glitches in argparse doc.
Ezio Melotti [Thu, 21 Apr 2011 22:42:10 +0000 (01:42 +0300)]
Fix some more markup glitches in argparse doc.

14 years ago#11904-#11905: Merge typo fixes with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 20:12:53 +0000 (23:12 +0300)]
#11904-#11905: Merge typo fixes with 3.2.

14 years ago#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:09:27 +0000 (23:09 +0300)]
#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.

14 years ago#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:06:48 +0000 (23:06 +0300)]
#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.

14 years ago#11902: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 19:58:40 +0000 (22:58 +0300)]
#11902: Merge with 3.2.

14 years ago#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 19:56:51 +0000 (22:56 +0300)]
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.

14 years agoAdd another example for accumulate().
Raymond Hettinger [Thu, 21 Apr 2011 18:09:28 +0000 (11:09 -0700)]
Add another example for accumulate().

14 years agoMerge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 13:13:44 +0000 (16:13 +0300)]
Merge with 3.2.

14 years agoAdd the :mod: role where it was missing.
Ezio Melotti [Thu, 21 Apr 2011 13:12:17 +0000 (16:12 +0300)]
Add the :mod: role where it was missing.

14 years ago#11885: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 12:29:04 +0000 (15:29 +0300)]
#11885: Merge with 3.2.

14 years ago#11885: capitalize Python.
Ezio Melotti [Thu, 21 Apr 2011 12:26:46 +0000 (15:26 +0300)]
#11885: capitalize Python.

14 years ago#11897: Merge with 3.2.
Ezio Melotti [Thu, 21 Apr 2011 11:49:56 +0000 (14:49 +0300)]
#11897: Merge with 3.2.

14 years ago#11897: Fix typo in porting howto. Patch by Marti Raudsepp.
Ezio Melotti [Thu, 21 Apr 2011 11:49:03 +0000 (14:49 +0300)]
#11897: Fix typo in porting howto. Patch by Marti Raudsepp.

14 years agosay struct sequence rather than structseq and link to glossary
Benjamin Peterson [Wed, 20 Apr 2011 23:31:22 +0000 (18:31 -0500)]
say struct sequence rather than structseq and link to glossary

14 years agoglossary entry for struct sequence
Benjamin Peterson [Wed, 20 Apr 2011 23:27:32 +0000 (18:27 -0500)]
glossary entry for struct sequence

14 years agoSimplify _count_elements() in _collections
Victor Stinner [Wed, 20 Apr 2011 21:23:52 +0000 (23:23 +0200)]
Simplify _count_elements() in _collections

PyIter_Next() cannot return a PyExc_StopIteration: it clears this exception.

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 20:41:39 +0000 (22:41 +0200)]
merge

14 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:41:21 +0000 (22:41 +0200)]
merge heads

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 20:40:48 +0000 (22:40 +0200)]
merge

14 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:39:29 +0000 (22:39 +0200)]
merge heads

14 years agomerge heads
Jesus Cea [Wed, 20 Apr 2011 20:38:26 +0000 (22:38 +0200)]
merge heads

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 20:32:19 +0000 (22:32 +0200)]
null merge

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 20:31:34 +0000 (22:31 +0200)]
null merge

14 years agoPort 5b607cd8c71b (closes #11892)
Jesus Cea [Wed, 20 Apr 2011 20:26:57 +0000 (22:26 +0200)]
Port 5b607cd8c71b (closes #11892)

14 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:09:46 +0000 (13:09 -0700)]
Minor text rearrangement.

14 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:08:40 +0000 (13:08 -0700)]
Minor text rearrangement.

14 years agoMinor text rearrangement.
Raymond Hettinger [Wed, 20 Apr 2011 20:03:49 +0000 (13:03 -0700)]
Minor text rearrangement.

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 19:13:36 +0000 (21:13 +0200)]
merge

14 years agoheads merging
Jesus Cea [Wed, 20 Apr 2011 19:11:52 +0000 (21:11 +0200)]
heads merging

14 years agoheads merging
Jesus Cea [Wed, 20 Apr 2011 19:10:20 +0000 (21:10 +0200)]
heads merging

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 19:01:45 +0000 (21:01 +0200)]
null merge

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 19:00:40 +0000 (21:00 +0200)]
null merge

14 years agoMerge with 3.2.
Ezio Melotti [Wed, 20 Apr 2011 18:59:06 +0000 (21:59 +0300)]
Merge with 3.2.

14 years agoUse non-deprecated method name.
Ezio Melotti [Wed, 20 Apr 2011 18:56:21 +0000 (21:56 +0300)]
Use non-deprecated method name.

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 18:54:05 +0000 (20:54 +0200)]
null merge

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 18:51:59 +0000 (20:51 +0200)]
merge

14 years agomerge
Jesus Cea [Wed, 20 Apr 2011 18:51:09 +0000 (20:51 +0200)]
merge

14 years agonull merge
Jesus Cea [Wed, 20 Apr 2011 18:49:06 +0000 (20:49 +0200)]
null merge

14 years agoMerge with 3.2.
Ezio Melotti [Wed, 20 Apr 2011 18:33:29 +0000 (21:33 +0300)]
Merge with 3.2.

14 years agoMERGE: Up-port changeset 5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 18:32:52 +0000 (20:32 +0200)]
MERGE: Up-port changeset 5cf8f6da8743 (closes #11890)

14 years agoMerge with 3.1.
Ezio Melotti [Wed, 20 Apr 2011 18:32:40 +0000 (21:32 +0300)]
Merge with 3.1.

14 years agoFix wrong function name. Noticed by Clive Darke.
Ezio Melotti [Wed, 20 Apr 2011 18:29:31 +0000 (21:29 +0300)]
Fix wrong function name. Noticed by Clive Darke.

14 years agoUp-port changeset 5cf8f6da8743 (closes #11890)
Jesus Cea [Wed, 20 Apr 2011 18:24:57 +0000 (20:24 +0200)]
Up-port changeset 5cf8f6da8743 (closes #11890)

14 years agoMERGE: startswith and endswith don't accept None as slice index. Patch by Torsten...
Jesus Cea [Wed, 20 Apr 2011 15:59:29 +0000 (17:59 +0200)]
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

14 years agoMERGE: startswith and endswith don't accept None as slice index. Patch by Torsten...
Jesus Cea [Wed, 20 Apr 2011 15:42:50 +0000 (17:42 +0200)]
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

14 years agostartswith and endswith don't accept None as slice index. Patch by Torsten Becker...
Jesus Cea [Wed, 20 Apr 2011 15:09:23 +0000 (17:09 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)

14 years agoTidied comments and docstrings.
Vinay Sajip [Wed, 20 Apr 2011 14:41:14 +0000 (15:41 +0100)]
Tidied comments and docstrings.