]>
granicus.if.org Git - python/log
É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.
É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: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
Martin v. Löwis [Tue, 21 Feb 2012 16:07:32 +0000 (17:07 +0100)]
Issue #10580: Minor grammar change in Windows installer.
Barry Warsaw [Tue, 21 Feb 2012 15:23:27 +0000 (10:23 -0500)]
null merge from 2.6
Barry Warsaw [Tue, 21 Feb 2012 15:22:34 +0000 (10:22 -0500)]
Let's sort the keys so that this test passes even with random hashes.
Benjamin Peterson [Tue, 21 Feb 2012 14:07:40 +0000 (09:07 -0500)]
carefully don't depend on any dict order
Benjamin Peterson [Tue, 21 Feb 2012 13:08:29 +0000 (08:08 -0500)]
remove extra zero
Petri Lehtinen [Tue, 21 Feb 2012 11:58:40 +0000 (13:58 +0200)]
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
Closes #8033.
Ezio Melotti [Tue, 21 Feb 2012 07:22:16 +0000 (09:22 +0200)]
HTMLParser is now able to handle slashes in the start tag.
Benjamin Peterson [Tue, 21 Feb 2012 05:40:14 +0000 (00:40 -0500)]
kill interned strings computed before random initialization
Benjamin Peterson [Tue, 21 Feb 2012 05:15:10 +0000 (00:15 -0500)]
don't rely on dict order
Benjamin Peterson [Tue, 21 Feb 2012 04:13:20 +0000 (23:13 -0500)]
a frozenset is better here
Benjamin Peterson [Tue, 21 Feb 2012 04:11:19 +0000 (23:11 -0500)]
use set
Benjamin Peterson [Tue, 21 Feb 2012 04:06:22 +0000 (23:06 -0500)]
don't rely on dict order
Benjamin Peterson [Tue, 21 Feb 2012 03:33:33 +0000 (22:33 -0500)]
this was supposed to die
Benjamin Peterson [Tue, 21 Feb 2012 03:00:46 +0000 (22:00 -0500)]
fix for real this time...
Benjamin Peterson [Tue, 21 Feb 2012 02:57:25 +0000 (21:57 -0500)]
belately resolve conflicts here
Benjamin Peterson [Tue, 21 Feb 2012 02:55:32 +0000 (21:55 -0500)]
fix test_gdb under hash randomization
Benjamin Peterson [Tue, 21 Feb 2012 02:47:54 +0000 (21:47 -0500)]
don't rely on dict order here
Benjamin Peterson [Tue, 21 Feb 2012 02:44:56 +0000 (21:44 -0500)]
merge 2.6 with hash randomization fix
Barry Warsaw [Tue, 21 Feb 2012 01:44:15 +0000 (20:44 -0500)]
Whitespace normalization
Barry Warsaw [Tue, 21 Feb 2012 01:42:21 +0000 (20:42 -0500)]
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
Benjamin Peterson [Mon, 20 Feb 2012 20:20:37 +0000 (15:20 -0500)]
don't rely on the order of module clearing
Barry Warsaw [Mon, 20 Feb 2012 19:45:45 +0000 (14:45 -0500)]
null merge from 2.6
Barry Warsaw [Mon, 20 Feb 2012 19:44:26 +0000 (14:44 -0500)]
null merge from 2.6
Barry Warsaw [Mon, 20 Feb 2012 19:43:22 +0000 (14:43 -0500)]
Back port Python 2.7 fix for test_invalid_redirect() in test_urllib.py.
Vinay Sajip [Mon, 20 Feb 2012 18:34:07 +0000 (18:34 +0000)]
logging: clarified documentation for Handler.handleError.
Éric Araujo [Mon, 20 Feb 2012 01:08:01 +0000 (02:08 +0100)]
Add missing “::” markup and wrap overlong lines
Éric Araujo [Mon, 20 Feb 2012 01:07:31 +0000 (02:07 +0100)]
Fix typo
Sandro Tosi [Sun, 19 Feb 2012 11:29:43 +0000 (12:29 +0100)]
don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@
Benjamin Peterson [Sun, 19 Feb 2012 06:11:56 +0000 (01:11 -0500)]
use Py_CLEAR
Jesus Cea [Sun, 19 Feb 2012 03:20:45 +0000 (04:20 +0100)]
Fix Test for issue #13500
Jesus Cea [Sun, 19 Feb 2012 02:54:08 +0000 (03:54 +0100)]
Test for issue #13500
Ned Deily [Sun, 19 Feb 2012 01:19:12 +0000 (02:19 +0100)]
Issue #12627: Implement PEP 394 for OS X framework builds.
OS X framework builds already created versioned symlinks for all
executables and scripts installed in the framework bin directory,
of the general form ${cmd} - ${cmd}2.7. The changes here add a
hierarchy of ${cmd} -> ${cmd}2 -> ${cmd}2.7. Per previous
practice, all of the links are created in the framework bin
directory for both the install and altinstall targets. This is
consistent with the long-standing recommendation to manage multiple
framework versions by adding and ordering framework bin directories
on $PATH. Also, per past practice, symlinks to all framework bin
entries are created in $prefix/bin (by default, /usr/local/bin)
for the install target and only versioned links are created for
altinstall, although the use of these links is not recommended
for framework builds and their installation is optional with
the standard OS X installers.
Sandro Tosi [Sat, 18 Feb 2012 19:28:35 +0000 (20:28 +0100)]
Refer to 'time' and 'datetime' submodules; thanks to Erik Johnson from docs@
This is needed after the move to Sphinx 1.x and it's the same way 3.x braches
managed it.
Charles-François Natali [Sat, 18 Feb 2012 13:30:34 +0000 (14:30 +0100)]
Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.
Charles-François Natali [Sat, 18 Feb 2012 13:15:38 +0000 (14:15 +0100)]
Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
upon malformed POST request.
Ezio Melotti [Fri, 17 Feb 2012 23:46:04 +0000 (01:46 +0200)]
#14020: improve HTMLParser documentation.
Petri Lehtinen [Fri, 17 Feb 2012 19:34:41 +0000 (21:34 +0200)]
Fix a variable scoping error in an sqlite3 test
Initial patch by Torsten Landschoff.
Closes #11689.
Nick Coghlan [Fri, 17 Feb 2012 12:10:38 +0000 (22:10 +1000)]
Implement PEP 394 for Python 2.7
Petri Lehtinen [Thu, 16 Feb 2012 19:42:34 +0000 (21:42 +0200)]
Fix errors in sqlite3's Cursor.rowcount documentation
Closes #13995.
Gregory P. Smith [Thu, 16 Feb 2012 08:44:50 +0000 (00:44 -0800)]
news entry for previous commit
Gregory P. Smith [Thu, 16 Feb 2012 08:40:03 +0000 (00:40 -0800)]
Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.
Sandro Tosi [Wed, 15 Feb 2012 21:39:52 +0000 (22:39 +0100)]
Issue #11836: document multiprocessing.queues.SimpleQueue
Antoine Pitrou [Wed, 15 Feb 2012 21:25:27 +0000 (22:25 +0100)]
Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().
Éric Araujo [Wed, 15 Feb 2012 17:13:45 +0000 (18:13 +0100)]
Fix test failure for shared builds caused by #
1326113 fix
Éric Araujo [Wed, 15 Feb 2012 16:08:34 +0000 (17:08 +0100)]
Improve doc for atexit.register (#12297)
Éric Araujo [Wed, 15 Feb 2012 15:28:20 +0000 (16:28 +0100)]
Fix parsing of build_ext --libraries option (#
1326113 )
Ezio Melotti [Wed, 15 Feb 2012 11:19:10 +0000 (13:19 +0200)]
#13987: HTMLParser is now able to handle malformed start tags.