]>
granicus.if.org Git - python/log
Georg Brandl [Sat, 17 Mar 2012 16:25:47 +0000 (17:25 +0100)]
Closes #14342: remove out-of-date section about avoiding recursion errors.
Georg Brandl [Sat, 17 Mar 2012 15:58:05 +0000 (16:58 +0100)]
Closes #14306: clarify expensiveness of try-except and update code snippet
Senthil Kumaran [Sat, 17 Mar 2012 07:40:34 +0000 (00:40 -0700)]
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
R David Murray [Sat, 17 Mar 2012 02:49:54 +0000 (22:49 -0400)]
#11686: news entry.
R David Murray [Sat, 17 Mar 2012 02:43:05 +0000 (22:43 -0400)]
#11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
R David Murray [Sat, 17 Mar 2012 02:10:00 +0000 (22:10 -0400)]
#11780: s/throw/raise/
R David Murray [Sat, 17 Mar 2012 02:03:17 +0000 (22:03 -0400)]
#11780: document that email.encoders throw TypeError on multipart messages.
Eli Bendersky [Fri, 16 Mar 2012 14:49:58 +0000 (16:49 +0200)]
Issue #14202: some additional doc fixes
Benjamin Peterson [Fri, 16 Mar 2012 14:32:59 +0000 (09:32 -0500)]
check to make sure the attribute is a string (#14334)
Eli Bendersky [Fri, 16 Mar 2012 12:37:14 +0000 (14:37 +0200)]
Issue #14202: Greatly enhance the documentation of xml.dom.pulldom.
Patch by Florian Mladitsch
Senthil Kumaran [Fri, 16 Mar 2012 08:13:50 +0000 (01:13 -0700)]
closes issue10484 - Fix the http.server's cgi PATH_INFO handling problem
Eli Bendersky [Fri, 16 Mar 2012 06:41:30 +0000 (08:41 +0200)]
Issue #9257: clarify the events iterparse accepts
Senthil Kumaran [Fri, 16 Mar 2012 01:11:16 +0000 (18:11 -0700)]
Explain the use of charset parameter with Content-Type header. Issue11082
Senthil Kumaran [Thu, 15 Mar 2012 20:26:12 +0000 (13:26 -0700)]
closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.
R David Murray [Thu, 15 Mar 2012 07:06:15 +0000 (03:06 -0400)]
#12758: removing confusing mention of UTC from time.time description
Patch by Dylan Sarber.
Gregory P. Smith [Thu, 15 Mar 2012 01:14:26 +0000 (18:14 -0700)]
merge heads
Gregory P. Smith [Thu, 15 Mar 2012 01:10:37 +0000 (18:10 -0700)]
Fixes Issue 14234: fix for the previous commit, keep compilation when
using --with-system-expat working when the system expat does not have
salted hash support.
Senthil Kumaran [Thu, 15 Mar 2012 01:08:13 +0000 (18:08 -0700)]
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
Matthias Klose [Wed, 14 Mar 2012 22:26:07 +0000 (23:26 +0100)]
merge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:24:32 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:24:11 +0000 (23:24 +0100)]
merge heads
Matthias Klose [Wed, 14 Mar 2012 22:14:35 +0000 (23:14 +0100)]
merge 3.1
Matthias Klose [Wed, 14 Mar 2012 22:10:15 +0000 (23:10 +0100)]
- rename configure.in to configure.ac
- change references from configure.in to configure.ac
Gregory P. Smith [Wed, 14 Mar 2012 22:03:40 +0000 (15:03 -0700)]
merge heads
Gregory P. Smith [Wed, 14 Mar 2012 21:58:50 +0000 (14:58 -0700)]
merge (no change needed in 3.2)
Gregory P. Smith [Wed, 14 Mar 2012 21:58:22 +0000 (14:58 -0700)]
move the Misc/NEWS entry to the right section.
Gregory P. Smith [Wed, 14 Mar 2012 21:41:00 +0000 (14:41 -0700)]
Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
Georg Brandl [Wed, 14 Mar 2012 21:40:08 +0000 (22:40 +0100)]
Closes #14305: fix typo.
Gregory P. Smith [Wed, 14 Mar 2012 21:26:55 +0000 (14:26 -0700)]
Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributes
in the hash table internal to the pyexpat module's copy of the expat
library to avoid a denial of service due to hash collisions.
Patch by David Malcolm with some modifications by the expat project.
R David Murray [Wed, 14 Mar 2012 18:05:03 +0000 (14:05 -0400)]
#14062: fix BytesParser handling of linesep for Header objects
This also affected smtplib.SMTP.send_message, which calls BytesParser.
Georg Brandl [Wed, 14 Mar 2012 07:18:47 +0000 (08:18 +0100)]
Closes #14289: put a link to the CHM download page on the docs download page.
Georg Brandl [Wed, 14 Mar 2012 07:02:43 +0000 (08:02 +0100)]
Closes #14283: match() and search() are regex methods, not match methods.
R David Murray [Wed, 14 Mar 2012 06:59:51 +0000 (02:59 -0400)]
#14291: if a header has non-ascii unicode, default to CTE using utf-8
In Python2, if a unicode string was assigned as the value of a header,
email would automatically CTE encode it using the UTF8 charset.
This capability was lost in the Python3 translation, and this patch
restores it.
Patch by Ali Ikinci, assisted by R. David Murray.
I also added a fix for the mailbox test that was depending (with a comment
that it was a bad idea to so depend) on non-ASCII causing message_from_string
to raise an error. It now uses support.patch to induce an error during
message serialization.
Senthil Kumaran [Wed, 14 Mar 2012 02:47:51 +0000 (19:47 -0700)]
closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen
Benjamin Peterson [Tue, 13 Mar 2012 21:46:35 +0000 (16:46 -0500)]
merge heads
Martin v. Löwis [Tue, 13 Mar 2012 21:32:29 +0000 (14:32 -0700)]
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
Benjamin Peterson [Tue, 13 Mar 2012 21:13:21 +0000 (16:13 -0500)]
merge heads
Benjamin Peterson [Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)]
fix indentation
Ned Deily [Tue, 13 Mar 2012 18:18:18 +0000 (11:18 -0700)]
Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to prevent interpreter crashes when compiled on 10.7.
Vinay Sajip [Tue, 13 Mar 2012 12:18:19 +0000 (12:18 +0000)]
Merged upstream change.
Vinay Sajip [Tue, 13 Mar 2012 12:10:33 +0000 (12:10 +0000)]
Closes #14267: Corrected computation of rollover filename.
Senthil Kumaran [Tue, 13 Mar 2012 08:50:27 +0000 (01:50 -0700)]
3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers
Senthil Kumaran [Tue, 13 Mar 2012 07:16:58 +0000 (00:16 -0700)]
merge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:14:59 +0000 (00:14 -0700)]
merge heads
Michael Foord [Tue, 13 Mar 2012 07:09:54 +0000 (00:09 -0700)]
Fix unittest test discovery for Jython
Ezio Melotti [Mon, 12 Mar 2012 23:29:48 +0000 (01:29 +0200)]
#14179: add tests for re.compile. Patch by Florian Mladitsch.
Eric V. Smith [Mon, 12 Mar 2012 22:18:30 +0000 (15:18 -0700)]
Merge heads.
Eric V. Smith [Mon, 12 Mar 2012 22:16:22 +0000 (15:16 -0700)]
str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450.
Ezio Melotti [Mon, 12 Mar 2012 21:52:40 +0000 (23:52 +0200)]
#13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.
Benjamin Peterson [Mon, 12 Mar 2012 18:15:48 +0000 (11:15 -0700)]
kill this disabled code
Benjamin Peterson [Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)]
use correct naming convention
Senthil Kumaran [Mon, 12 Mar 2012 17:05:34 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix
Benjamin Peterson [Mon, 12 Mar 2012 16:43:09 +0000 (09:43 -0700)]
allow AST objects to be like its subclasses
Benjamin Peterson [Mon, 12 Mar 2012 16:28:26 +0000 (09:28 -0700)]
merge heads
Benjamin Peterson [Mon, 12 Mar 2012 16:27:36 +0000 (09:27 -0700)]
every other ast object has a dict, so I think AST should, too
Senthil Kumaran [Mon, 12 Mar 2012 04:04:56 +0000 (21:04 -0700)]
closes issue14257 - 3.2 minor error in glossary wording regarding __hash__
Antoine Pitrou [Sun, 11 Mar 2012 18:29:12 +0000 (19:29 +0100)]
Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
Mark Dickinson [Sat, 10 Mar 2012 16:09:35 +0000 (16:09 +0000)]
Closes #9574: Note that complex constructor doesn't allow whitespace around central operator.
Georg Brandl [Sat, 10 Mar 2012 08:26:53 +0000 (09:26 +0100)]
Closes #14244: add info about capturing groups and maxsplit to the docstring of re.split().
Georg Brandl [Sat, 10 Mar 2012 08:22:47 +0000 (09:22 +0100)]
Closes #14186: add link to PEP 3107 (function annotations) to the function definition section.
Senthil Kumaran [Fri, 9 Mar 2012 04:56:52 +0000 (20:56 -0800)]
Fix closes Issue: 14217 - 3.2 branch
Benjamin Peterson [Thu, 8 Mar 2012 00:49:43 +0000 (18:49 -0600)]
this stuff will actually be new in 3.2.4
Benjamin Peterson [Thu, 8 Mar 2012 00:41:11 +0000 (18:41 -0600)]
allow cycles throught the __dict__ slot to be cleared (closes #
1469629 )
Patch from Armin, test from me.
Benjamin Peterson [Wed, 7 Mar 2012 20:50:35 +0000 (14:50 -0600)]
merge heads
Benjamin Peterson [Wed, 7 Mar 2012 20:50:25 +0000 (14:50 -0600)]
keep the buffer object around while we're using it (closes #14212)
Éric Araujo [Wed, 7 Mar 2012 19:48:55 +0000 (20:48 +0100)]
Backout buggy patch committed for #13719
Jason R. Coombs [Wed, 7 Mar 2012 15:26:08 +0000 (10:26 -0500)]
Use PEP-8 style in logging example
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix
Éric Araujo [Mon, 5 Mar 2012 15:11:41 +0000 (16:11 +0100)]
Backport minidom attribute tests from default (
73c76466cf44 ).
Some minidom code changed between 3.2 and 3.3, so to be sure to avoid
differenced in behavior I’m backporting these tests added by MvL.
Éric Araujo [Mon, 5 Mar 2012 15:09:29 +0000 (16:09 +0100)]
Make distutils’ upload command work with bdist_msi products (#13719).
Patch by Ralf Schmitt.
Éric Araujo [Mon, 5 Mar 2012 15:01:41 +0000 (16:01 +0100)]
Move xml.etree higher and xml.parsers.expat lower in the markup ToC.
I assume that most users looking at this page are looking for a library
to process XML, not a low-level parser. First proposed in #11379.
Éric Araujo [Mon, 5 Mar 2012 14:50:37 +0000 (15:50 +0100)]
Use source reST role instead of file where it makes sense.
source generates a nifty link to the Mercurial web viewer.
Éric Araujo [Mon, 5 Mar 2012 14:47:32 +0000 (15:47 +0100)]
Remove mention of defunct file.
Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash
Meador Inge [Mon, 5 Mar 2012 04:15:38 +0000 (22:15 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sat, 3 Mar 2012 01:35:32 +0000 (02:35 +0100)]
Issue #14177: marshal.loads() now raises TypeError when given an unicode string.
Patch by Guilherme Gonçalves.
Antoine Pitrou [Fri, 2 Mar 2012 17:12:43 +0000 (18:12 +0100)]
Issue #14172: Fix reference leak when marshalling a buffer-like object (other than a bytes object).
Eli Bendersky [Fri, 2 Mar 2012 05:43:08 +0000 (07:43 +0200)]
merge 3.2 heads
Eli Bendersky [Fri, 2 Mar 2012 05:37:13 +0000 (07:37 +0200)]
Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
Vinay Sajip [Fri, 2 Mar 2012 01:01:13 +0000 (01:01 +0000)]
Closes #14158: improved resilience to test files left behind.
Petri Lehtinen [Thu, 1 Mar 2012 19:18:34 +0000 (21:18 +0200)]
sqlite3: Port documentation changes from the 2.7 branch
Issue #13491.
Antoine Pitrou [Thu, 1 Mar 2012 15:26:35 +0000 (16:26 +0100)]
Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying.
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
Stefan Krah [Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)]
Issue #14152: Restore the Include/*.h dependencies for extension builds.
Ezio Melotti [Wed, 29 Feb 2012 12:05:53 +0000 (14:05 +0200)]
#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Wed, 29 Feb 2012 11:39:05 +0000 (13:39 +0200)]
#14155: remove duplication about search vs match in re doc.
Ezio Melotti [Wed, 29 Feb 2012 09:48:44 +0000 (11:48 +0200)]
#10713: Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool.
Larry Hastings [Wed, 29 Feb 2012 00:21:47 +0000 (16:21 -0800)]
Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)
Nadeem Vawda [Tue, 28 Feb 2012 22:22:09 +0000 (00:22 +0200)]
Give better failure messages in test_strptime (cf. issue #14113).
Sandro Tosi [Tue, 28 Feb 2012 21:28:28 +0000 (22:28 +0100)]
s/div/truediv/; thanks to Félix-Antoine Fortin from docs@
Vinay Sajip [Tue, 28 Feb 2012 08:05:23 +0000 (08:05 +0000)]
Improved logging cookbook example.
Georg Brandl [Tue, 28 Feb 2012 07:21:40 +0000 (08:21 +0100)]
Fix markup errors.
Antoine Pitrou [Mon, 27 Feb 2012 18:55:36 +0000 (19:55 +0100)]
Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
Patch by Mikhail Novikov.
Stefan Krah [Mon, 27 Feb 2012 16:34:17 +0000 (17:34 +0100)]
Issue #14125: backport refleak fix (
d4adbf908983 ).
Vinay Sajip [Mon, 27 Feb 2012 11:56:29 +0000 (11:56 +0000)]
Updated cookbook with information on customising LogRecords.
Vinay Sajip [Mon, 27 Feb 2012 11:02:45 +0000 (11:02 +0000)]
Updated logging cookbook with info on alternative format styles.
Antoine Pitrou [Mon, 27 Feb 2012 00:01:44 +0000 (01:01 +0100)]
Merge
Antoine Pitrou [Sun, 26 Feb 2012 23:45:12 +0000 (00:45 +0100)]
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip Gruszczyński.
Nadeem Vawda [Sun, 26 Feb 2012 22:42:58 +0000 (00:42 +0200)]
Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.