Ezio Melotti
222e61e444
Fix typo reported by Sandro Tosi.
2011-07-31 22:49:18 +03:00
Éric Araujo
548c054fb7
Stop trying to write into the stdlib during lib2to3 tests ( #12331 ).
...
This prevents tests from failing when run from a Python installed in a
read-only directory.
2011-07-31 17:58:46 +02:00
Senthil Kumaran
e324c57367
using support.transient_internet helper method in the urllib2net test.
2011-07-31 11:45:14 +08:00
Éric Araujo
ab7c1b3f11
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 04:06:12 +02:00
Éric Araujo
a3e072bb89
Let “make patchcheck” work for out-of-dir builds ( #9860 )
2011-07-30 21:34:04 +02:00
Ezio Melotti
592563292c
#12531 : Fix spaces and markup.
2011-07-30 21:25:22 +03:00
Benjamin Peterson
497cd65cec
add space
2011-07-30 09:59:50 -05:00
Benjamin Peterson
50211fa0f9
document NotImplemented
2011-07-30 09:57:24 -05:00
Eli Bendersky
b603b27775
merging Georg's revision
2011-07-30 11:36:41 +03:00
Eli Bendersky
e250358062
Issue #11699 : fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
2011-07-30 11:14:32 +03:00
Georg Brandl
eea6cda91a
Change test.support docs to be more specific about the nature of this module.
2011-07-30 09:00:48 +02:00
Eli Bendersky
7bd081c117
Issue #12531 : add index entries to documentation of * and ** in function calls
2011-07-30 07:05:16 +03:00
Benjamin Peterson
43a976e3d9
remove duplicated type ready
2011-07-29 22:44:42 -05:00
Antoine Pitrou
b9c73e8cf0
Issue #12626 : In regrtest, allow to filter tests using a glob filter
...
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
2011-07-29 23:53:38 +02:00
Charles-François Natali
def35435ee
Issue #12464 : tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
...
fix it. Patch by Petri Lehtinen.
2011-07-29 18:59:24 +02:00
Éric Araujo
fe1e298d8b
Document that atexit execution order is undefined ( #9788 )
2011-07-29 18:04:24 +02:00
Éric Araujo
63b18a4445
Add a link target for argparse.Namespace ( #8982 )
2011-07-29 17:59:17 +02:00
Éric Araujo
e801aa2a1d
Let the doc of __import__ link to importlib ( #9254 ).
...
importlib.import_module eschews a number of issues that __import__ has.
Reviewed by Brett Cannon. (The docstring of __import__ was already
updated in 3d490c3a019e, for #7397.)
2011-07-29 17:50:58 +02:00
Éric Araujo
e64e51bfa7
Make “pydoc somebuiltin.somemethod” work ( #8887 )
2011-07-29 17:03:55 +02:00
Éric Araujo
158d7696f3
Branch merge
2011-07-29 14:24:08 +02:00
Raymond Hettinger
3a081f526d
Issue 12514: Use try/finally to assure that timeit restores GC when done.
2011-07-29 00:02:04 -07:00
Eli Bendersky
ef4902af87
Issue #12644 : document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti
2011-07-29 09:30:42 +03:00
Éric Araujo
aa95ccd02a
Change one line I missed in 7527f3f9829
2011-07-29 03:28:40 +02:00
Éric Araujo
cf534817ad
Branch merge
2011-07-28 23:08:11 +02:00
Éric Araujo
fc662ddda2
Merge profile docs followup ( #12417 ) from 3.1
2011-07-28 23:00:14 +02:00
Éric Araujo
ee19c772cb
Remove mentions of previous license in profile module docs ( #12417 followup).
...
Also remove an extra docstring.
2011-07-28 22:56:24 +02:00
Éric Araujo
f5e10d1f70
Turn raw URI into real link
2011-07-28 22:50:18 +02:00
Éric Araujo
14382dc887
Update documentation for shutil.move ( #12043 ) and fix a few typos.
...
Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the
docs mailing list and on the bug tracker.
2011-07-28 22:49:11 +02:00
Éric Araujo
2f834f2061
Stop ignoring Mercurial merge conflits files ( #12255 ).
...
R. David Murray and I think that it’s more useful to have these files
show up in the output of “hg status”, to let the user know that some
merged file have to be checked before commit. If you want to ignore
these files in your clones, it’s possible to do so from another ignore
file; see the bug report for directions.
I’m leaving the .gitignore file alone, as I don’t know how git users
work with merges and conflicts.
2011-07-28 22:45:46 +02:00
Éric Araujo
5c8545bb2c
Make VCSes ignore the compiled shared library file ( #12255 )
2011-07-28 22:38:44 +02:00
Senthil Kumaran
7c9719cf74
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
2011-07-28 22:32:49 +08:00
Charles-François Natali
d4d1d068dc
Issue #11871 : In test_threading.BarrierTests, bump the default barrier timeout
...
to avoid timing-dependent failures.
2011-07-27 21:26:42 +02:00
Charles-François Natali
27c4e88552
Issue #12603 : Fix pydoc.synopsis() on files with non-negative st_mtime.
2011-07-27 19:40:02 +02:00
Senthil Kumaran
53516a82df
Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
2011-07-27 23:33:54 +08:00
Ross Lagerwall
d98646e430
Issue #12607 : In subprocess, fix issue where if stdin, stdout or stderr is
...
given as a low fd, it gets overwritten.
2011-07-27 07:16:31 +02:00
Senthil Kumaran
45686b472b
Correcting issue 12576 fix, which resulted in buildbot failures.
2011-07-27 09:31:03 +08:00
Ned Deily
f25e3d5278
Issue #12590 : IDLE editor window now always displays the first line
...
when opening a long file. With Tk 8.5, the first line was hidden.
2011-07-26 18:17:33 -07:00
Senthil Kumaran
1299a8f3b2
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 08:05:58 +08:00
Antoine Pitrou
5cd3e305e3
When testing for an hg repo, use a file that always exists, even with the "shared" extension
2011-07-27 01:16:18 +02:00
Antoine Pitrou
2a20f9be70
Backport 0398f07d4827 (fix for weird buildbot failures)
2011-07-27 01:06:07 +02:00
Ned Deily
ba2eab25ff
Issue #8746 : Use tempfile module to get tempdir and randomize the
...
link file name.
2011-07-26 13:53:55 -07:00
Éric Araujo
9e1af03fbb
Branch merge.
...
I moved the NEWS entry for the reindent fix to the right release section.
2011-07-26 18:25:14 +02:00
Éric Araujo
a0e92a8028
Fix missing or wrong shebangs and missing executable bits for scripts ( #10318 )
2011-07-26 18:01:08 +02:00
Éric Araujo
1ce7b17165
Fix string exception and a few style issues in mailerdaemon script
2011-07-26 17:36:19 +02:00
Éric Araujo
cab106cfca
Fix sorting or wording of some NEWS entries.
...
I would have put io and ctypes fixes into Extension Modules, but I
respected the choice of Antoine or Victor and left them in Library.
2011-07-26 17:32:50 +02:00
Éric Araujo
6c0ba447bd
Fix style in code added by edba722f3b02
2011-07-26 17:23:57 +02:00
Jason R. Coombs
76748b7033
Fixes #10639 : reindent.py should not convert newlines
...
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:18:40 -04:00
Éric Araujo
72db3459e4
Make indentation comply with our style guide and the rest of the file
2011-07-26 16:54:24 +02:00
Éric Araujo
59e387eb40
Fix “anyways” (following R. David Murray in 4d5a546b6186)
2011-07-26 16:53:17 +02:00
Éric Araujo
7c12bae717
Fix reST references
2011-07-26 15:14:35 +02:00