Commit Graph

50574 Commits

Author SHA1 Message Date
Nadeem Vawda a6bdfd1fa9 Give better failure messages in test_strptime (cf. issue #14113). 2012-02-29 00:21:40 +02:00
Martin v. Löwis 58e5257e92 null-merge v2.6.8rc1 tag 2012-02-28 09:31:41 +01:00
Antoine Pitrou 6a1cd1b3b1 Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip Gruszczyński.
2012-02-27 00:45:12 +01:00
Éric Araujo 92904d3a4a Branch merge 2012-02-26 03:48:36 +01:00
Éric Araujo 6d37c4e388 Add versionadded for sys.flags.hash_randomization variable 2012-02-26 02:03:39 +01:00
Éric Araujo 060b812a4b Fix markup errors 2012-02-26 02:00:35 +01:00
Éric Araujo ae50babe32 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)
2012-02-26 01:53:53 +01:00
Éric Araujo 7f4b3be2cc Fix typo “seperator” 2012-02-26 01:41:39 +01:00
Éric Araujo a358bc3ca2 State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B 2012-02-26 01:38:26 +01:00
Éric Araujo 9ede557d34 Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
Éric Araujo a318a3b2fb Avoid relying on the default reST role in logging library doc 2012-02-26 01:36:31 +01:00
Éric Araujo c446ce78b8 Document that shutil.make_archive does not typecheck its logger argument 2012-02-26 01:33:49 +01:00
Éric Araujo 06efea3392 Use raw strings for docstrings with backslashes in ASCII diagrams 2012-02-26 01:33:22 +01:00
Éric Araujo d4e714c746 Fix typo (#13467) 2012-02-26 01:29:09 +01:00
Éric Araujo 8d4d74eefc Update lingering references to ex-parrot. I mean ex-devguide. 2012-02-26 01:28:34 +01:00
Éric Araujo ef2e14e675 Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
Éric Araujo c8e29dba91 Mark up constants in socket doc as such 2012-02-26 01:25:11 +01:00
Éric Araujo 576c6d7ee1 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.
2012-02-26 01:21:31 +01:00
Éric Araujo d673b62bac 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.
2012-02-26 01:16:47 +01:00
Éric Araujo c3cc2acb09 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.
2012-02-26 01:10:14 +01:00
Sandro Tosi 8b48c66ebd Issue #13999: refer to multiprocessing.Queue when needed 2012-02-25 19:35:16 +01:00
Ezio Melotti f5ea48fd3b #14114: don't include copybutton.js in the htmlhelp output. 2012-02-25 19:24:24 +02:00
Éric Araujo e84e263a84 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.
2012-02-25 16:24:59 +01:00
Éric Araujo 31378df83a 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.
2012-02-25 16:13:53 +01:00
Martin v. Löwis 4ef5528356 Add 2.7.3 and 2.7.4 UUIDs 2012-02-25 10:37:41 +01:00
Vinay Sajip 93fa159a43 Merged upstream changes. 2012-02-23 20:55:58 +00:00
Vinay Sajip 501982226a Fix added for recent changes in non-threading environments. 2012-02-23 20:45:03 +00:00
Benjamin Peterson 03d2368748 merge heads 2012-02-23 15:20:08 -05:00
Benjamin Peterson d8f4118f9b merge 2.7 release 2012-02-23 15:19:08 -05:00
Benjamin Peterson 94e5c933ed update pydoc-topics 2012-02-23 15:18:13 -05:00
Vinay Sajip 16f6a29be8 Updated comments. 2012-02-23 19:40:33 +00:00
Vinay Sajip d23845e270 logging: Added locking in flush() and close() handler methods. Thanks to Fayaz Yusuf Khan for the suggestion. 2012-02-23 19:37:18 +00:00
Barry Warsaw 6707826c66 Added tag v2.6.8rc1 for changeset 5356b6c7fd66 2012-02-23 11:10:31 -05:00
Barry Warsaw 62cc44db0c null merge from 2.6 2012-02-23 11:03:31 -05:00
Barry Warsaw 2593eac34e Added tag v2.6.8rc1 for changeset caab08cd2b3e 2012-02-23 10:59:50 -05:00
Barry Warsaw 74f4bd53e0 Bump some more copyright years (as per PEP 101), since this is the first
release of 2.6 for 2012.
2012-02-23 10:59:38 -05:00
Barry Warsaw 1fbc16d050 Bump to version 2.6.8rc1. 2012-02-23 10:55:57 -05:00
Benjamin Peterson 0473486d7f Added tag v2.7.3rc1 for changeset b2c6aff96e12 2012-02-23 10:52:23 -05:00
Benjamin Peterson a2aa2ef313 bump to 2.7.3rc1 2012-02-23 10:52:17 -05:00
Barry Warsaw a13294e209 null merge from 2.6 2012-02-22 17:27:47 -05:00
Barry Warsaw b383e806b6 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
2012-02-22 17:26:50 -05:00
Antoine Pitrou 341016e8bf Fix sporadic test_os failure under Windows 2012-02-22 22:16:25 +01:00
Barry Warsaw adbcc4cf40 null merge from 2.6 2012-02-22 14:27:53 -05:00
Barry Warsaw 56fd6617b5 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
2012-02-22 13:50:04 -05:00
Barry Warsaw fa5d224a20 null merge from 2.6 2012-02-22 13:39:59 -05:00
Barry Warsaw 6a9005b4eb 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).
2012-02-22 13:34:18 -05:00
Antoine Pitrou 4b670f541c Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
Nadeem Vawda f00011aff4 Issue #14053: Fix "make patchcheck" to work with MQ.
Patch by Francisco Martín Brugué
2012-02-22 11:40:09 +02:00
Antoine Pitrou 93291534b7 Avoid py3k warnings related to sort() of unrelated types. 2012-02-22 00:28:46 +01:00
Georg Brandl 66e565ee48 merge with 2.6 2012-02-21 22:38:31 +01:00