]> granicus.if.org Git - python/log
python
12 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:16:58 +0000 (00:16 -0700)]
merge heads

12 years agomerge heads
Senthil Kumaran [Tue, 13 Mar 2012 07:14:59 +0000 (00:14 -0700)]
merge heads

12 years agoFix unittest test discovery for Jython
Michael Foord [Tue, 13 Mar 2012 07:09:54 +0000 (00:09 -0700)]
Fix unittest test discovery for Jython

12 years ago#14179: add tests for re.compile. Patch by Florian Mladitsch.
Ezio Melotti [Mon, 12 Mar 2012 23:29:48 +0000 (01:29 +0200)]
#14179: add tests for re.compile.  Patch by Florian Mladitsch.

12 years agoMerge heads.
Eric V. Smith [Mon, 12 Mar 2012 22:18:30 +0000 (15:18 -0700)]
Merge heads.

12 years agostr.format_map tests don't do what they say: fix to actually implement the intent...
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.

12 years ago#13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk.
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.

12 years agokill this disabled code
Benjamin Peterson [Mon, 12 Mar 2012 18:15:48 +0000 (11:15 -0700)]
kill this disabled code

12 years agouse correct naming convention
Benjamin Peterson [Mon, 12 Mar 2012 18:00:41 +0000 (11:00 -0700)]
use correct naming convention

12 years agocloses issue14257 - Grammatical fix
Senthil Kumaran [Mon, 12 Mar 2012 17:05:34 +0000 (10:05 -0700)]
closes issue14257 - Grammatical fix

12 years agoallow AST objects to be like its subclasses
Benjamin Peterson [Mon, 12 Mar 2012 16:43:09 +0000 (09:43 -0700)]
allow AST objects to be like its subclasses

12 years agomerge heads
Benjamin Peterson [Mon, 12 Mar 2012 16:28:26 +0000 (09:28 -0700)]
merge heads

12 years agoevery other ast object has a dict, so I think AST should, too
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

12 years agocloses issue14257 - 3.2 minor error in glossary wording regarding __hash__
Senthil Kumaran [Mon, 12 Mar 2012 04:04:56 +0000 (21:04 -0700)]
closes issue14257 - 3.2 minor error in glossary wording regarding __hash__

12 years agoIssue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows...
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.

12 years agoCloses #9574: Note that complex constructor doesn't allow whitespace around central...
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.

12 years agoCloses #14244: add info about capturing groups and maxsplit to the docstring of re...
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().

12 years agoCloses #14186: add link to PEP 3107 (function annotations) to the function definition...
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.

12 years agoFix closes Issue: 14217 - 3.2 branch
Senthil Kumaran [Fri, 9 Mar 2012 04:56:52 +0000 (20:56 -0800)]
Fix closes Issue: 14217 - 3.2 branch

12 years agothis stuff will actually be new in 3.2.4
Benjamin Peterson [Thu, 8 Mar 2012 00:49:43 +0000 (18:49 -0600)]
this stuff will actually be new in 3.2.4

12 years agoallow cycles throught the __dict__ slot to be cleared (closes #1469629)
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.

12 years agomerge heads
Benjamin Peterson [Wed, 7 Mar 2012 20:50:35 +0000 (14:50 -0600)]
merge heads

12 years agokeep the buffer object around while we're using it (closes #14212)
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)

12 years agoBackout buggy patch committed for #13719
Éric Araujo [Wed, 7 Mar 2012 19:48:55 +0000 (20:48 +0100)]
Backout buggy patch committed for #13719

12 years agoUse PEP-8 style in logging example
Jason R. Coombs [Wed, 7 Mar 2012 15:26:08 +0000 (10:26 -0500)]
Use PEP-8 style in logging example

12 years agoFix NameError from #13719 fix
Éric Araujo [Mon, 5 Mar 2012 16:02:31 +0000 (17:02 +0100)]
Fix NameError from #13719 fix

12 years agoBackport minidom attribute tests from default (73c76466cf44).
É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.

12 years agoMake distutils’ upload command work with bdist_msi products (#13719).
É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.

12 years agoMove xml.etree higher and xml.parsers.expat lower in the markup ToC.
É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.

12 years agoUse source reST role instead of file where it makes sense.
É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.

12 years agoRemove mention of defunct file.
É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.

12 years agoUse raw string for a docstring that uses a backslash
Éric Araujo [Mon, 5 Mar 2012 14:45:08 +0000 (15:45 +0100)]
Use raw string for a docstring that uses a backslash

12 years agoIssue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
Meador Inge [Mon, 5 Mar 2012 04:15:38 +0000 (22:15 -0600)]
Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.

12 years agoFix some set algebra methods of WeakSet objects.
Antoine Pitrou [Sun, 4 Mar 2012 19:47:05 +0000 (20:47 +0100)]
Fix some set algebra methods of WeakSet objects.

12 years agoPort 2.7 fix for sporadic failure in test_weakset.
Antoine Pitrou [Sun, 4 Mar 2012 19:20:34 +0000 (20:20 +0100)]
Port 2.7 fix for sporadic failure in test_weakset.

12 years agoIssue #14177: marshal.loads() now raises TypeError when given an unicode string.
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.

12 years agoIssue #14172: Fix reference leak when marshalling a buffer-like object (other than...
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).

12 years agomerge 3.2 heads
Eli Bendersky [Fri, 2 Mar 2012 05:43:08 +0000 (07:43 +0200)]
merge 3.2 heads

12 years agoIssue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
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

12 years agoCloses #14158: improved resilience to test files left behind.
Vinay Sajip [Fri, 2 Mar 2012 01:01:13 +0000 (01:01 +0000)]
Closes #14158: improved resilience to test files left behind.

12 years agosqlite3: Port documentation changes from the 2.7 branch
Petri Lehtinen [Thu, 1 Mar 2012 19:18:34 +0000 (21:18 +0200)]
sqlite3: Port documentation changes from the 2.7 branch

Issue #13491.

12 years agoIssue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValue...
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.

12 years agoIssue #14152: Restore the Include/*.h dependencies for extension builds.
Stefan Krah [Wed, 29 Feb 2012 13:10:53 +0000 (14:10 +0100)]
Issue #14152: Restore the Include/*.h dependencies for extension builds.

12 years ago#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Wed, 29 Feb 2012 12:05:53 +0000 (14:05 +0200)]
#14089: increase coverage of the fractions module.  Patch by Oleg Plakhotnyuk.

12 years ago#14155: remove duplication about search vs match in re doc.
Ezio Melotti [Wed, 29 Feb 2012 11:39:05 +0000 (13:39 +0200)]
#14155: remove duplication about search vs match in re doc.

12 years ago#10713: Improve documentation for \b and \B and add a few tests. Initial patch and...
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.

12 years agoPropagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)
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.)

12 years agoGive better failure messages in test_strptime (cf. issue #14113).
Nadeem Vawda [Tue, 28 Feb 2012 22:22:09 +0000 (00:22 +0200)]
Give better failure messages in test_strptime (cf. issue #14113).

12 years agos/div/truediv/; thanks to Félix-Antoine Fortin from docs@
Sandro Tosi [Tue, 28 Feb 2012 21:28:28 +0000 (22:28 +0100)]
s/div/truediv/; thanks to Félix-Antoine Fortin from docs@

12 years agoImproved logging cookbook example.
Vinay Sajip [Tue, 28 Feb 2012 08:05:23 +0000 (08:05 +0000)]
Improved logging cookbook example.

12 years agoFix markup errors.
Georg Brandl [Tue, 28 Feb 2012 07:21:40 +0000 (08:21 +0100)]
Fix markup errors.

12 years agoIssue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.
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.

12 years agoIssue #14125: backport refleak fix (d4adbf908983).
Stefan Krah [Mon, 27 Feb 2012 16:34:17 +0000 (17:34 +0100)]
Issue #14125: backport refleak fix (d4adbf908983).

12 years agoUpdated cookbook with information on customising LogRecords.
Vinay Sajip [Mon, 27 Feb 2012 11:56:29 +0000 (11:56 +0000)]
Updated cookbook with information on customising LogRecords.

12 years agoUpdated logging cookbook with info on alternative format styles.
Vinay Sajip [Mon, 27 Feb 2012 11:02:45 +0000 (11:02 +0000)]
Updated logging cookbook with info on alternative format styles.

12 years agoMerge
Antoine Pitrou [Mon, 27 Feb 2012 00:01:44 +0000 (01:01 +0100)]
Merge

12 years agoIssue #13521: dict.setdefault() now does only one lookup for the given key, making...
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.

12 years agoIssue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.
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.

12 years agoIssue #14123: Explicitly mention that old style % string formatting has caveats
Gregory P. Smith [Sun, 26 Feb 2012 09:54:07 +0000 (01:54 -0800)]
Issue #14123: Explicitly mention that old style % string formatting has caveats
but is not going away any time soon.

12 years agoBranch merge
Éric Araujo [Sun, 26 Feb 2012 03:00:43 +0000 (04:00 +0100)]
Branch merge

12 years agoSet archive format explicitly in one distutils test
Éric Araujo [Sun, 26 Feb 2012 01:14:33 +0000 (02:14 +0100)]
Set archive format explicitly in one distutils test

12 years agoFix typo in “seperat{or,ion}”
Éric Araujo [Sun, 26 Feb 2012 01:14:08 +0000 (02:14 +0100)]
Fix typo in “seperat{or,ion}”

12 years agoUse const markup instead of a misleading string literal
Éric Araujo [Sun, 26 Feb 2012 01:13:30 +0000 (02:13 +0100)]
Use const markup instead of a misleading string literal

12 years ago#14114: don't include copybutton.js in the htmlhelp output.
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.

12 years agoAdd news entry for previous commit
Éric Araujo [Sat, 25 Feb 2012 15:57:39 +0000 (16:57 +0100)]
Add news entry for previous commit

12 years agoAdd test file for scripts in Tools (#13447).
Éric Araujo [Sat, 25 Feb 2012 15:57:04 +0000 (16:57 +0100)]
Add test file for scripts in Tools (#13447).

When people find bugs in scripts such as reindent.py, msgfmt.py or
pygettext.py, we have to try to reproduce the bug manually, apply a fix
and test manually again.  The alternative is to only read the code and
trust that it works.  This test file is a way to stop that
unsatisfactory state of things and write proper unit tests instead.

12 years agoFix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
Éric Araujo [Sat, 25 Feb 2012 15:28:05 +0000 (16:28 +0100)]
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).

These regex changes fix a number of issues for distutils on Windows:
- #6884: impossible to include a file starting with 'build'
- #9691 and #14004: sdist includes too many files
- #13193: test_filelist failures

This commit replaces the incorrect changes done in 0a94e2f807c7 and
90b30d62caf2 to fix #13193; we were too eager to fix the test failures
and I did not study the code enough before greenlighting patches.  This
time we have unit tests from the problems reported by users to be sure
we have the right fix.

Thanks to Nadeem Vawda for his help.

12 years agoPackage mime.types
Martin v. Löwis [Sat, 25 Feb 2012 09:40:13 +0000 (10:40 +0100)]
Package mime.types

12 years agomerge 3.2.2 release branch for rc
Benjamin Peterson [Fri, 24 Feb 2012 16:47:29 +0000 (11:47 -0500)]
merge 3.2.2 release branch for rc

12 years agoMerged upstream changes.
Vinay Sajip [Thu, 23 Feb 2012 20:53:40 +0000 (20:53 +0000)]
Merged upstream changes.

12 years agoFix added for recent changes in non-threading environments.
Vinay Sajip [Thu, 23 Feb 2012 20:49:08 +0000 (20:49 +0000)]
Fix added for recent changes in non-threading environments.

12 years agoAdded tag v3.2.3rc1 for changeset 7085403daf43
Georg Brandl [Thu, 23 Feb 2012 20:19:41 +0000 (21:19 +0100)]
Added tag v3.2.3rc1 for changeset 7085403daf43

12 years agoUpdate copyright year. v3.2.3rc1
Georg Brandl [Thu, 23 Feb 2012 20:19:25 +0000 (21:19 +0100)]
Update copyright year.

12 years agoAdd 3.2.3 to license.
Georg Brandl [Thu, 23 Feb 2012 20:19:18 +0000 (21:19 +0100)]
Add 3.2.3 to license.

12 years agomerge heads
Georg Brandl [Thu, 23 Feb 2012 20:16:49 +0000 (21:16 +0100)]
merge heads

12 years agoBump version to 3.2.3rc1.
Georg Brandl [Thu, 23 Feb 2012 20:14:12 +0000 (21:14 +0100)]
Bump version to 3.2.3rc1.

12 years agoUpdate pydoc topics.
Georg Brandl [Thu, 23 Feb 2012 20:12:41 +0000 (21:12 +0100)]
Update pydoc topics.

12 years agoFix markup errors.
Georg Brandl [Thu, 23 Feb 2012 20:12:39 +0000 (21:12 +0100)]
Fix markup errors.

12 years agologging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf...
Vinay Sajip [Thu, 23 Feb 2012 19:45:52 +0000 (19:45 +0000)]
logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion.

12 years agomerge 3.1
Benjamin Peterson [Thu, 23 Feb 2012 15:54:28 +0000 (10:54 -0500)]
merge 3.1

12 years agoupdate copyright year
Benjamin Peterson [Thu, 23 Feb 2012 15:53:44 +0000 (10:53 -0500)]
update copyright year

12 years agomerge 3.1 (with 3.1.5rc1 release tag)
Benjamin Peterson [Thu, 23 Feb 2012 15:48:03 +0000 (10:48 -0500)]
merge 3.1 (with 3.1.5rc1 release tag)

12 years agoAdded tag v3.1.5rc1 for changeset ee26aca3219c
Benjamin Peterson [Thu, 23 Feb 2012 15:46:00 +0000 (10:46 -0500)]
Added tag v3.1.5rc1 for changeset ee26aca3219c

12 years agoversion now 3.1.5rc1 v3.1.5rc1
Benjamin Peterson [Thu, 23 Feb 2012 15:45:48 +0000 (10:45 -0500)]
version now 3.1.5rc1

12 years agoFix (presumably) test_hash under big-endian systems (PPC).
Antoine Pitrou [Wed, 22 Feb 2012 02:33:56 +0000 (03:33 +0100)]
Fix (presumably) test_hash under big-endian systems (PPC).

12 years agoIssue #14084: Fix a file descriptor leak when importing a module with a bad encoding.
Antoine Pitrou [Wed, 22 Feb 2012 17:05:43 +0000 (18:05 +0100)]
Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.

12 years agoIn find_module(), do not silence fileno() and dup() errors.
Antoine Pitrou [Wed, 22 Feb 2012 17:03:04 +0000 (18:03 +0100)]
In find_module(), do not silence fileno() and dup() errors.

12 years agoIssue #14053: Fix "make patchcheck" to work with MQ.
Nadeem Vawda [Wed, 22 Feb 2012 09:46:41 +0000 (11:46 +0200)]
Issue #14053: Fix "make patchcheck" to work with MQ.

Patch by Francisco Martín Brugué

12 years agomerge with 3.2
Georg Brandl [Tue, 21 Feb 2012 21:36:37 +0000 (22:36 +0100)]
merge with 3.2

12 years agoRemove reST markup from --help output. Also: O(n**2) is dict construction, not singl...
Georg Brandl [Tue, 21 Feb 2012 21:36:27 +0000 (22:36 +0100)]
Remove reST markup from --help output.  Also: O(n**2) is dict construction, not single insertion.

12 years agoFix test failure in test_cmd_line by initializing the hash secret at the earliest...
Antoine Pitrou [Tue, 21 Feb 2012 18:03:47 +0000 (19:03 +0100)]
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.

12 years agoIssue #6807: Run msisupport.mak earlier.
Martin v. Löwis [Tue, 21 Feb 2012 17:06:22 +0000 (18:06 +0100)]
Issue #6807: Run msisupport.mak earlier.

12 years agoIssue #10580: Minor grammar change in Windows installer.
Martin v. Löwis [Tue, 21 Feb 2012 16:23:55 +0000 (17:23 +0100)]
Issue #10580: Minor grammar change in Windows installer.

12 years agomerge 3.2
Benjamin Peterson [Tue, 21 Feb 2012 16:09:13 +0000 (11:09 -0500)]
merge 3.2

12 years agoensure no one tries to hash things before the random seed is found
Benjamin Peterson [Tue, 21 Feb 2012 16:08:50 +0000 (11:08 -0500)]
ensure no one tries to hash things before the random seed is found

12 years agosqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Petri Lehtinen [Sun, 19 Feb 2012 19:38:00 +0000 (21:38 +0200)]
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures

Closes #8033.

12 years agoHTMLParser is now able to handle slashes in the start tag.
Ezio Melotti [Tue, 21 Feb 2012 07:25:00 +0000 (09:25 +0200)]
HTMLParser is now able to handle slashes in the start tag.

12 years agoDisable an inspect test: it depends on dict ordering which parameter is reported...
Georg Brandl [Mon, 20 Feb 2012 23:32:36 +0000 (00:32 +0100)]
Disable an inspect test: it depends on dict ordering which parameter is reported as duplicate.

12 years agoDelete the iterator, which could accidentally keep a temporary reference to the yield...
Antoine Pitrou [Mon, 20 Feb 2012 23:00:06 +0000 (00:00 +0100)]
Delete the iterator, which could accidentally keep a temporary reference to the yielded element.

12 years agoMerge
Antoine Pitrou [Mon, 20 Feb 2012 22:51:50 +0000 (23:51 +0100)]
Merge