]>
granicus.if.org Git - python/log
Ezio Melotti [Mon, 12 Mar 2012 00:09:02 +0000 (02:09 +0200)]
#14161: fix test failures on Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:28:45 +0000 (01:28 +0200)]
#14161: fix compile error under Windows.
Ezio Melotti [Sun, 11 Mar 2012 23:17:02 +0000 (01:17 +0200)]
#14161: fix the __repr__ of file objects to escape the file name.
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.
Jason R. Coombs [Thu, 8 Mar 2012 23:28:08 +0000 (18:28 -0500)]
Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present).
Jason R. Coombs [Thu, 8 Mar 2012 15:31:29 +0000 (10:31 -0500)]
Improve the test case to avoid spurious errors about already existing symlinks.
Jason R. Coombs [Thu, 8 Mar 2012 14:56:00 +0000 (09:56 -0500)]
Test in
6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
Jason R. Coombs [Sun, 15 Jan 2012 16:45:27 +0000 (11:45 -0500)]
Adding regression test for issue6727
Jason R. Coombs [Fri, 13 Jan 2012 22:59:05 +0000 (17:59 -0500)]
Fix indentation
Jason R. Coombs [Fri, 13 Jan 2012 22:37:18 +0000 (17:37 -0500)]
Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727.
Jason R. Coombs [Fri, 13 Jan 2012 22:12:25 +0000 (17:12 -0500)]
Moved directory detection into an isdir function
Benjamin Peterson [Thu, 8 Mar 2012 01:17:57 +0000 (19:17 -0600)]
move notes for 2.7.4 to the right place
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.
Éric Araujo [Wed, 7 Mar 2012 20:00:44 +0000 (21:00 +0100)]
Backout buggy patch for #13719
Jason R. Coombs [Wed, 7 Mar 2012 15:24:04 +0000 (10:24 -0500)]
Use PEP-8 style in logging example
Vinay Sajip [Tue, 6 Mar 2012 20:07:15 +0000 (20:07 +0000)]
Closes #14158: We now track test_support.TESTFN cleanup, and test_mailbox uses shutil.rmtree for simpler code.
Éric Araujo [Mon, 5 Mar 2012 16:00:49 +0000 (17:00 +0100)]
Fix NameError
Éric Araujo [Mon, 5 Mar 2012 15:47:33 +0000 (16:47 +0100)]
Make distutils’ upload command work with bdist_msi products (#13719).
Patch by Ralf Schmitt.
Éric Araujo [Mon, 5 Mar 2012 15:44:49 +0000 (16:44 +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 15:43:41 +0000 (16:43 +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 15:30:46 +0000 (16:30 +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 15:29:30 +0000 (16:29 +0100)]
Use raw string for a docstring that uses a backslash
Meador Inge [Mon, 5 Mar 2012 04:02:17 +0000 (22:02 -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)]
Fix sporadic failure in test_weakset
Armin Rigo [Sun, 4 Mar 2012 17:56:23 +0000 (18:56 +0100)]
Add a crasher for the documented issue of calling "Py_DECREF(self->xxx)";
Georg Brandl [Sat, 3 Mar 2012 20:25:42 +0000 (21:25 +0100)]
Fix link to global module index.
Eli Bendersky [Fri, 2 Mar 2012 05:45:55 +0000 (07:45 +0200)]
Issue #11379: add a note in xml.dom.minidom suggesting to use etree in some cases
Petri Lehtinen [Thu, 1 Mar 2012 19:28:00 +0000 (21:28 +0200)]
sqlite3: Port relevant documentation changes from 3.2
Initial patch by Johannes Vogel. Issue #13491.
Antoine Pitrou [Thu, 1 Mar 2012 15:26:35 +0000 (16:26 +0100)]
Issue #14159: Fix the len() of weak sets 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:17:18 +0000 (14:17 +0100)]
Issue #14152: backport fix.
Ezio Melotti [Wed, 29 Feb 2012 12:04:02 +0000 (14:04 +0200)]
#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti [Wed, 29 Feb 2012 11:37:07 +0000 (13:37 +0200)]
#14155: remove duplication about search vs match in re doc.
Ezio Melotti [Wed, 29 Feb 2012 09:40:00 +0000 (11:40 +0200)]
#10713: Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool.
Larry Hastings [Tue, 28 Feb 2012 23:17:23 +0000 (15:17 -0800)]
Issue #13086: Update howto/cporting.rst to discuss "Python 3" instead of "3.0".
Nadeem Vawda [Tue, 28 Feb 2012 22:21:40 +0000 (00:21 +0200)]
Give better failure messages in test_strptime (cf. issue #14113).
Martin v. Löwis [Tue, 28 Feb 2012 08:31:41 +0000 (09:31 +0100)]
null-merge v2.6.8rc1 tag
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.
Éric Araujo [Sun, 26 Feb 2012 02:48:36 +0000 (03:48 +0100)]
Branch merge
Éric Araujo [Sun, 26 Feb 2012 01:03:39 +0000 (02:03 +0100)]
Add versionadded for sys.flags.hash_randomization variable
Éric Araujo [Sun, 26 Feb 2012 01:00:35 +0000 (02:00 +0100)]
Fix markup errors
Éric Araujo [Sun, 26 Feb 2012 00:53:53 +0000 (01:53 +0100)]
Synchronize some distutils tests with 3.2.
- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it looks like a disabled test
method instead of an helper method
- Fix some idioms (assertIn, addCleanup)
Éric Araujo [Sun, 26 Feb 2012 00:41:39 +0000 (01:41 +0100)]
Fix typo “seperator”
Éric Araujo [Sun, 26 Feb 2012 00:38:26 +0000 (01:38 +0100)]
State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B
Éric Araujo [Sun, 26 Feb 2012 00:37:47 +0000 (01:37 +0100)]
Update docstring with more useful text (from the PEP)
Éric Araujo [Sun, 26 Feb 2012 00:36:31 +0000 (01:36 +0100)]
Avoid relying on the default reST role in logging library doc
Éric Araujo [Sun, 26 Feb 2012 00:33:49 +0000 (01:33 +0100)]
Document that shutil.make_archive does not typecheck its logger argument
Éric Araujo [Sun, 26 Feb 2012 00:33:22 +0000 (01:33 +0100)]
Use raw strings for docstrings with backslashes in ASCII diagrams
Éric Araujo [Sun, 26 Feb 2012 00:29:09 +0000 (01:29 +0100)]
Fix typo (#13467)
Éric Araujo [Sun, 26 Feb 2012 00:28:34 +0000 (01:28 +0100)]
Update lingering references to ex-parrot. I mean ex-devguide.
Éric Araujo [Sun, 26 Feb 2012 00:26:09 +0000 (01:26 +0100)]
Fix instructions on how to rebuild some modules
Éric Araujo [Sun, 26 Feb 2012 00:25:11 +0000 (01:25 +0100)]
Mark up constants in socket doc as such
Éric Araujo [Sun, 26 Feb 2012 00:21:31 +0000 (01:21 +0100)]
Hide or remove user-visible XXX notes from distutils doc (#13716).
Requested by Florent Xicluna with the rationale that they make the docs
look unfinished. When I get to replace the XXX notes with the real info
for packaging, I’ll backport it.
Also removed a few XXX notes that were not visible in the HTML but could
waste contributors’ time by suggesting improvements that are never going
to happen for distutils.
Éric Araujo [Sun, 26 Feb 2012 00:16:47 +0000 (01:16 +0100)]
Stop ignoring RPMs in distutils' upload command (#2945).
Bug reported by Hartmut Goebel and patch contributed by Carl Robben.
Untested backport of the fix committed and tested for 3.2.
Éric Araujo [Sun, 26 Feb 2012 00:10:14 +0000 (01:10 +0100)]
Improve interlinking of archiving/compression modules docs.
- Remove duplicate list of links to the other modules from each
module’s doc (people can already go up to library/archiving and
there they can see the list).
- Link to shutil high-level operations.
Reviewed by Nadeem Vawda in #6715.
Sandro Tosi [Sat, 25 Feb 2012 18:35:16 +0000 (19:35 +0100)]
Issue #13999: refer to multiprocessing.Queue when needed
Ezio Melotti [Sat, 25 Feb 2012 17:24:24 +0000 (19:24 +0200)]
#14114: don't include copybutton.js in the htmlhelp output.
Éric Araujo [Sat, 25 Feb 2012 15:24:59 +0000 (16:24 +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.
Éric Araujo [Sat, 25 Feb 2012 15:13:53 +0000 (16:13 +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
557a973709de ,
c566a3447ba1 and
3925081a7ca0 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.
Martin v. Löwis [Sat, 25 Feb 2012 09:37:41 +0000 (10:37 +0100)]
Add 2.7.3 and 2.7.4 UUIDs
Vinay Sajip [Thu, 23 Feb 2012 20:55:58 +0000 (20:55 +0000)]
Merged upstream changes.
Vinay Sajip [Thu, 23 Feb 2012 20:45:03 +0000 (20:45 +0000)]
Fix added for recent changes in non-threading environments.
Benjamin Peterson [Thu, 23 Feb 2012 20:20:08 +0000 (15:20 -0500)]
merge heads
Benjamin Peterson [Thu, 23 Feb 2012 20:19:08 +0000 (15:19 -0500)]
merge 2.7 release
Benjamin Peterson [Thu, 23 Feb 2012 20:18:13 +0000 (15:18 -0500)]
update pydoc-topics
Vinay Sajip [Thu, 23 Feb 2012 19:40:33 +0000 (19:40 +0000)]
Updated comments.
Vinay Sajip [Thu, 23 Feb 2012 19:37:18 +0000 (19:37 +0000)]
logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion.
Barry Warsaw [Thu, 23 Feb 2012 16:10:31 +0000 (11:10 -0500)]
Added tag v2.6.8rc1 for changeset
5356b6c7fd66
Barry Warsaw [Thu, 23 Feb 2012 16:03:31 +0000 (11:03 -0500)]
null merge from 2.6
Barry Warsaw [Thu, 23 Feb 2012 15:59:50 +0000 (10:59 -0500)]
Added tag v2.6.8rc1 for changeset
caab08cd2b3e
Barry Warsaw [Thu, 23 Feb 2012 15:59:38 +0000 (10:59 -0500)]
Bump some more copyright years (as per PEP 101), since this is the first
release of 2.6 for 2012.
Barry Warsaw [Thu, 23 Feb 2012 15:55:57 +0000 (10:55 -0500)]
Bump to version 2.6.8rc1.
Benjamin Peterson [Thu, 23 Feb 2012 15:52:23 +0000 (10:52 -0500)]
Added tag v2.7.3rc1 for changeset
b2c6aff96e12
Benjamin Peterson [Thu, 23 Feb 2012 15:52:17 +0000 (10:52 -0500)]
bump to 2.7.3rc1
Barry Warsaw [Wed, 22 Feb 2012 22:27:47 +0000 (17:27 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 22:26:50 +0000 (17:26 -0500)]
Back port from 2.7:
http://hg.python.org/cpython/rev/
48705250232c
changeset: 75187:
48705250232c
branch: 2.7
parent: 75184:
9a1d902714ae
user: Antoine Pitrou <solipsis@pitrou.net>
date: Wed Feb 22 22:16:25 2012 +0100
Antoine Pitrou [Wed, 22 Feb 2012 21:16:25 +0000 (22:16 +0100)]
Fix sporadic test_os failure under Windows
Barry Warsaw [Wed, 22 Feb 2012 19:27:53 +0000 (14:27 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 18:50:04 +0000 (13:50 -0500)]
Backport from 2.7:
changeset: 75153:
9b7c6dd19e25
branch: 2.7
parent: 75151:
b1a02c17b327
user: Antoine Pitrou <solipsis@pitrou.net>
date: Tue Feb 21 22:02:04 2012 +0100
files: Lib/test/test_os.py
Barry Warsaw [Wed, 22 Feb 2012 18:39:59 +0000 (13:39 -0500)]
null merge from 2.6
Barry Warsaw [Wed, 22 Feb 2012 18:34:18 +0000 (13:34 -0500)]
Backport from 2.7 branch.
changeset: 75165:
780008020c40
user: Antoine Pitrou <solipsis@pitrou.net>
date: Wed Feb 22 03:33:56 2012 +0100
summary: Fix (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).
Nadeem Vawda [Wed, 22 Feb 2012 09:40:09 +0000 (11:40 +0200)]
Issue #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
Antoine Pitrou [Tue, 21 Feb 2012 23:28:46 +0000 (00:28 +0100)]
Avoid py3k warnings related to sort() of unrelated types.
Georg Brandl [Tue, 21 Feb 2012 21:38:31 +0000 (22:38 +0100)]
merge with 2.6
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.
Antoine Pitrou [Tue, 21 Feb 2012 21:02:04 +0000 (22:02 +0100)]
Fix flaky os.urandom test.
Benjamin Peterson [Tue, 21 Feb 2012 20:09:08 +0000 (15:09 -0500)]
merge 2.6
Benjamin Peterson [Tue, 21 Feb 2012 20:08:51 +0000 (15:08 -0500)]
don't need this hack anymore
Antoine Pitrou [Tue, 21 Feb 2012 19:52:54 +0000 (20:52 +0100)]
Null merge
Antoine Pitrou [Tue, 21 Feb 2012 19:42:48 +0000 (20:42 +0100)]
Fix crash at startup with -W options.
Antoine Pitrou [Tue, 21 Feb 2012 19:42:48 +0000 (20:42 +0100)]
Fix crash at startup with -W options.
Martin v. Löwis [Tue, 21 Feb 2012 17:12:02 +0000 (18:12 +0100)]
Issue #6807: Run msisupport.mak earlier.
Benjamin Peterson [Tue, 21 Feb 2012 16:24:21 +0000 (11:24 -0500)]
merge 2.6
Benjamin Peterson [Tue, 21 Feb 2012 16:23:21 +0000 (11:23 -0500)]
merge heads
Barry Warsaw [Tue, 21 Feb 2012 16:19:00 +0000 (11:19 -0500)]
merge 2.7
Barry Warsaw [Tue, 21 Feb 2012 16:16:52 +0000 (11:16 -0500)]
merge 2.6
Barry Warsaw [Tue, 21 Feb 2012 16:16:06 +0000 (11:16 -0500)]
Backport fix from default branch for ./python -R -Wd where hash('d') would not
have gotten randomized.
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