]>
granicus.if.org Git - python/log
Barry Warsaw [Mon, 15 Aug 2011 23:17:12 +0000 (19:17 -0400)]
The simplest possible fix for the regression in bug 12752 by encoding unicodes
to 8-bit strings.
Ezio Melotti [Mon, 15 Aug 2011 11:24:15 +0000 (14:24 +0300)]
#12204: document that str.upper().isupper() might be False and add a note about cased characters.
Ezio Melotti [Mon, 15 Aug 2011 07:04:28 +0000 (10:04 +0300)]
#12266: move the tests in test_unicode.
Ezio Melotti [Mon, 15 Aug 2011 06:22:24 +0000 (09:22 +0300)]
#12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.
Ezio Melotti [Sun, 14 Aug 2011 05:27:36 +0000 (08:27 +0300)]
#12725: fix working. Patch by Ben Hayden.
Sandro Tosi [Fri, 12 Aug 2011 22:39:29 +0000 (00:39 +0200)]
let PySequence_Check me a link; thanks to tomo cocoa from docs@
Sandro Tosi [Fri, 12 Aug 2011 17:31:15 +0000 (19:31 +0200)]
it's 'rather than'; reported by James Bateman on docs@
Sandro Tosi [Fri, 12 Aug 2011 17:11:24 +0000 (19:11 +0200)]
English fixup, from Mike MacCana on docs@
Vinay Sajip [Thu, 11 Aug 2011 12:39:52 +0000 (13:39 +0100)]
Issue #12718: Add documentation on using custom importers.
Senthil Kumaran [Wed, 10 Aug 2011 13:57:22 +0000 (21:57 +0800)]
Remove the un-exercised in-module test code.
Senthil Kumaran [Wed, 10 Aug 2011 13:54:56 +0000 (21:54 +0800)]
Fix closes Issue12722 - link heapq source in the text format in the documentation.
Raymond Hettinger [Tue, 9 Aug 2011 19:07:15 +0000 (12:07 -0700)]
Issue 12717: Fix-up an earlier backport in ConfigParser.
Georg Brandl [Tue, 9 Aug 2011 17:47:04 +0000 (19:47 +0200)]
Repair markup.
Georg Brandl [Mon, 8 Aug 2011 19:45:13 +0000 (21:45 +0200)]
Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.
Sandro Tosi [Mon, 8 Aug 2011 14:37:44 +0000 (16:37 +0200)]
#12709: add error_callback argument to map_async documentation
Sandro Tosi [Sun, 7 Aug 2011 22:15:57 +0000 (00:15 +0200)]
#10741: add documentation for PyGILState_GetThisThreadState()
Sandro Tosi [Sun, 7 Aug 2011 15:09:15 +0000 (17:09 +0200)]
#12677: correct turtle orientation in doc
Senthil Kumaran [Sun, 7 Aug 2011 02:03:58 +0000 (10:03 +0800)]
whitespace fix.
Senthil Kumaran [Sun, 7 Aug 2011 02:02:49 +0000 (10:02 +0800)]
Remove the old dead test program within the module in 2.7.
Eli Bendersky [Sat, 6 Aug 2011 06:29:12 +0000 (09:29 +0300)]
Fix grammar
Senthil Kumaran [Sat, 6 Aug 2011 05:34:30 +0000 (13:34 +0800)]
Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.
Senthil Kumaran [Sat, 6 Aug 2011 04:56:08 +0000 (12:56 +0800)]
s/a/an - grammar?
Senthil Kumaran [Sat, 6 Aug 2011 04:52:56 +0000 (12:52 +0800)]
Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.
Senthil Kumaran [Sat, 6 Aug 2011 04:24:33 +0000 (12:24 +0800)]
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
Benjamin Peterson [Thu, 4 Aug 2011 16:07:42 +0000 (11:07 -0500)]
dosmodule is, thankfully, no more
Senthil Kumaran [Wed, 3 Aug 2011 14:06:05 +0000 (22:06 +0800)]
add svn+ssh testcase for urljoin.
Senthil Kumaran [Wed, 3 Aug 2011 10:40:18 +0000 (18:40 +0800)]
include svn+ssh as well.
Senthil Kumaran [Wed, 3 Aug 2011 10:31:59 +0000 (18:31 +0800)]
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
Senthil Kumaran [Tue, 2 Aug 2011 23:43:52 +0000 (07:43 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
Éric Araujo [Tue, 2 Aug 2011 18:01:54 +0000 (20:01 +0200)]
Branch merge
Sandro Tosi [Tue, 2 Aug 2011 14:16:11 +0000 (16:16 +0200)]
#12670: Fix struct code after forward declaration on ctypes doc
Senthil Kumaran [Tue, 2 Aug 2011 10:50:44 +0000 (18:50 +0800)]
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
Éric Araujo [Tue, 2 Aug 2011 01:16:12 +0000 (03:16 +0200)]
Fix incorrect mtime comparison in distutils (#11933).
This is a regression introduced in
9211a5d7d0b4 , when uses of ST_MTIME
constants were changed to uses of st_mtime attributes. As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.
This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
Stefan Krah [Mon, 1 Aug 2011 23:17:48 +0000 (01:17 +0200)]
Georg Brandl [Mon, 1 Aug 2011 20:58:53 +0000 (22:58 +0200)]
Use attribute access instead of index access for namedtuple.
Éric Araujo [Mon, 1 Aug 2011 12:48:19 +0000 (14:48 +0200)]
Branch merge
Vinay Sajip [Mon, 1 Aug 2011 10:28:02 +0000 (11:28 +0100)]
Closes #12667: Corrected documentation for SMTPHandler secure argument.
Ezio Melotti [Sun, 31 Jul 2011 19:48:45 +0000 (22:48 +0300)]
Fix typo reported by Sandro Tosi.
Éric Araujo [Sun, 31 Jul 2011 15:59:28 +0000 (17:59 +0200)]
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.
Benjamin Peterson [Sun, 31 Jul 2011 04:39:39 +0000 (23:39 -0500)]
running tests enables us to discover that they actually work
Senthil Kumaran [Sun, 31 Jul 2011 03:50:15 +0000 (11:50 +0800)]
merge heads.
Senthil Kumaran [Sun, 31 Jul 2011 03:48:54 +0000 (11:48 +0800)]
using test_support.transient_internet helper method in the urllib2net test.
Benjamin Peterson [Sun, 31 Jul 2011 03:08:18 +0000 (22:08 -0500)]
merge heads
Benjamin Peterson [Sun, 31 Jul 2011 03:08:09 +0000 (22:08 -0500)]
be precise
Éric Araujo [Sun, 31 Jul 2011 00:04:00 +0000 (02:04 +0200)]
Fix regression with distutils MANIFEST handing (#11104, #8688).
The changed behavior of sdist in 2.7 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 (
d29399100973 by Tarek and
f7639dcdffc3 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 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. I also removed a stanza in the docs that
was forgotten in Tarek’s first changeset.
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.
Éric Araujo [Sat, 30 Jul 2011 19:34:04 +0000 (21:34 +0200)]
Let “make patchcheck” work for out-of-dir builds (#9860)
Ezio Melotti [Sat, 30 Jul 2011 18:31:22 +0000 (21:31 +0300)]
#12531: Fix spaces.
Benjamin Peterson [Sat, 30 Jul 2011 14:59:12 +0000 (09:59 -0500)]
note Ellipsis syntax
Benjamin Peterson [Sat, 30 Jul 2011 14:58:59 +0000 (09:58 -0500)]
add space
Benjamin Peterson [Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)]
document NotImplemented
Eli Bendersky [Sat, 30 Jul 2011 08:12:45 +0000 (11:12 +0300)]
Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
Éric Araujo [Fri, 29 Jul 2011 16:04:24 +0000 (18:04 +0200)]
Document that atexit execution order is undefined (#9788)
Éric Araujo [Fri, 29 Jul 2011 15:59:17 +0000 (17:59 +0200)]
Add a link target for argparse.Namespace (#8982)
Éric Araujo [Fri, 29 Jul 2011 15:34:35 +0000 (17:34 +0200)]
Make “pydoc somebuiltin.somemethod” work (#8887)
Éric Araujo [Fri, 29 Jul 2011 14:28:22 +0000 (16:28 +0200)]
Backout duplicate changeset
ed34ca4e639c
Éric Araujo [Sat, 11 Jun 2011 08:34:19 +0000 (10:34 +0200)]
Add missing reST target to one heading in the tutorial
Éric Araujo [Fri, 29 Jul 2011 12:23:13 +0000 (14:23 +0200)]
Branch merge
Eli Bendersky [Fri, 29 Jul 2011 11:45:08 +0000 (14:45 +0300)]
Issue #12531: add index entries to documentation of * and ** in function calls
Raymond Hettinger [Fri, 29 Jul 2011 06:56:38 +0000 (23:56 -0700)]
Issue 12514: Use try/finally to assure that timeit restores GC when done.
Éric Araujo [Thu, 28 Jul 2011 20:50:18 +0000 (22:50 +0200)]
Turn raw URI into real link
Éric Araujo [Fri, 29 Jul 2011 10:10:53 +0000 (12:10 +0200)]
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.
Éric Araujo [Fri, 29 Jul 2011 10:07:31 +0000 (12:07 +0200)]
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.
Éric Araujo [Fri, 29 Jul 2011 10:07:04 +0000 (12:07 +0200)]
Make VCSes ignore the compiled shared library file (#12255)
Éric Araujo [Fri, 29 Jul 2011 10:06:13 +0000 (12:06 +0200)]
Fix missing or shebangs and executable bits for scripts (#10318)
Senthil Kumaran [Thu, 28 Jul 2011 14:30:27 +0000 (22:30 +0800)]
Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a high number so that code relying on them does not break.
Jason R. Coombs [Wed, 27 Jul 2011 18:05:37 +0000 (14:05 -0400)]
Fixes #10639: reindent.py should not convert newlines
Backport of changeset
070dc6e359fb , reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
Charles-François Natali [Wed, 27 Jul 2011 17:36:40 +0000 (19:36 +0200)]
- Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.
Ross Lagerwall [Wed, 27 Jul 2011 16:54:53 +0000 (18:54 +0200)]
Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
given as a low fd, it gets overwritten.
Senthil Kumaran [Wed, 27 Jul 2011 15:36:51 +0000 (23:36 +0800)]
merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject.
Ezio Melotti [Wed, 27 Jul 2011 05:48:52 +0000 (08:48 +0300)]
#12642: fix args names in open() doc.
Senthil Kumaran [Wed, 27 Jul 2011 01:37:17 +0000 (09:37 +0800)]
merge from 3.2 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
Ned Deily [Wed, 27 Jul 2011 01:16:08 +0000 (18:16 -0700)]
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.
Ned Deily [Tue, 26 Jul 2011 20:52:14 +0000 (13:52 -0700)]
Issue #8746: Use tempfile module to get tempdir and randomize the
link file name.
Éric Araujo [Tue, 26 Jul 2011 14:54:24 +0000 (16:54 +0200)]
Make indentation comply with our style guide and the rest of the file
Éric Araujo [Fri, 29 Jul 2011 09:57:50 +0000 (11:57 +0200)]
Fix “anyways” (following R. David Murray in
5c7520e02d5a )
Éric Araujo [Fri, 29 Jul 2011 09:53:57 +0000 (11:53 +0200)]
Add links from builtins module docs to built-in functions and constants docs
Éric Araujo [Fri, 29 Jul 2011 09:43:47 +0000 (11:43 +0200)]
Ross Lagerwall [Mon, 25 Jul 2011 05:23:58 +0000 (07:23 +0200)]
Issue #12102: Document that buffered files must be flushed before being used
with mmap. Patch by Steffen Daode Nurpmeso.
Charles-François Natali [Sun, 24 Jul 2011 20:33:35 +0000 (22:33 +0200)]
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
Antoine Pitrou [Sun, 24 Jul 2011 00:51:01 +0000 (02:51 +0200)]
Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.
Nadeem Vawda [Sat, 23 Jul 2011 15:04:42 +0000 (17:04 +0200)]
Fix typo in
dbf1e1a27427 that was causing some buildbots to fail.
Nadeem Vawda [Sat, 23 Jul 2011 14:13:01 +0000 (16:13 +0200)]
Fix typo in NEWS entry for
dbf1e1a27427 .
Nadeem Vawda [Sat, 23 Jul 2011 13:51:16 +0000 (15:51 +0200)]
Issue #10883: Fix socket leaks in urllib.request.
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
Senthil Kumaran [Sat, 23 Jul 2011 10:41:43 +0000 (18:41 +0800)]
merge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test coverage (cases applicable to 2.7). Patch by Petter Haggholm.
Georg Brandl [Sat, 23 Jul 2011 06:06:33 +0000 (08:06 +0200)]
Fix function name: open -> urlopen.
Benjamin Peterson [Fri, 22 Jul 2011 22:21:56 +0000 (17:21 -0500)]
merge heads
Benjamin Peterson [Fri, 22 Jul 2011 22:20:58 +0000 (17:20 -0500)]
allow None identifiers
Charles-François Natali [Fri, 22 Jul 2011 21:43:42 +0000 (23:43 +0200)]
Issue #12592: Make Python build on OpenBSD 5 (and future major releases).
Benjamin Peterson [Fri, 22 Jul 2011 15:41:44 +0000 (10:41 -0500)]
news note
Benjamin Peterson [Fri, 22 Jul 2011 15:39:50 +0000 (10:39 -0500)]
verify the types of AST strings and identifiers (closes #12609 and #12610)
Benjamin Peterson [Fri, 22 Jul 2011 15:39:12 +0000 (10:39 -0500)]
hardcode the old svn __version__
Eli Bendersky [Fri, 22 Jul 2011 11:39:55 +0000 (14:39 +0300)]
Issue #12434: make StringIO.write error message consistent with Python 2.7 nomenclature
Charles-François Natali [Thu, 21 Jul 2011 17:41:04 +0000 (19:41 +0200)]
Issue #12372: POSIX semaphores are broken on AIX: don't use them.
Ezio Melotti [Thu, 21 Jul 2011 08:38:13 +0000 (11:38 +0300)]
Fix markup.
Ezio Melotti [Thu, 21 Jul 2011 08:18:18 +0000 (11:18 +0300)]
#12601: fix typo.
Senthil Kumaran [Wed, 20 Jul 2011 14:02:27 +0000 (22:02 +0800)]
merge from 3.2 - Fix closes issue12524 - update http.client POST example with a working example. - Patch contributed by Bharadwaj
Barry Warsaw [Tue, 19 Jul 2011 23:28:16 +0000 (19:28 -0400)]
Upstream merge.
Antoine Pitrou [Tue, 19 Jul 2011 22:26:23 +0000 (00:26 +0200)]
Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
so that "import DLFCN" and other similar imports work on Linux 3.0.
Barry Warsaw [Tue, 19 Jul 2011 21:06:30 +0000 (17:06 -0400)]
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
Raymond Hettinger [Tue, 19 Jul 2011 18:59:20 +0000 (11:59 -0700)]
Improve docstring for divmod()