summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix markup.Georg Brandl2010-07-031-1/+1
|
* Merged revisions 82476 via svnmerge fromMark Dickinson2010-07-031-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82476 | mark.dickinson | 2010-07-03 10:15:09 +0100 (Sat, 03 Jul 2010) | 1 line Fix typo in sys.float_info docs. ........
* Merged revisions 81758-81759 via svnmerge fromEzio Melotti2010-07-034-73/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81758 | ezio.melotti | 2010-06-05 20:51:07 +0300 (Sat, 05 Jun 2010) | 15 lines Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change. ........ r81759 | ezio.melotti | 2010-06-05 22:21:32 +0300 (Sat, 05 Jun 2010) | 1 line Add a NEWS entry for r81758 and clarify a comment. ........
* Merged revisions 82457,82459 via svnmerge fromEzio Melotti2010-07-021-23/+142
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82457 | ezio.melotti | 2010-07-03 01:17:29 +0300 (Sat, 03 Jul 2010) | 1 line #9139: Add examples for str.format(). ........ r82459 | ezio.melotti | 2010-07-03 01:50:39 +0300 (Sat, 03 Jul 2010) | 1 line #9139: the thousands separator is new in 2.7. Also add a missing variable in the example. ........
* Merged revisions 82455 via svnmerge fromEric Smith2010-07-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82455 | eric.smith | 2010-07-02 17:44:16 -0400 (Fri, 02 Jul 2010) | 1 line Moved period outside paren, where it belongs. ........
* Merged revisions 82446 via svnmerge fromMark Dickinson2010-07-021-35/+62
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82446 | mark.dickinson | 2010-07-02 19:06:52 +0100 (Fri, 02 Jul 2010) | 1 line Clarify sys.float_info documentation. ........
* Merged revisions 82447 via svnmerge fromBenjamin Peterson2010-07-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82447 | benjamin.peterson | 2010-07-02 14:41:39 -0500 (Fri, 02 Jul 2010) | 1 line add space ........
* Blocked revisions 82439,82441 via svnmergeNick Coghlan2010-07-020-0/+0
| | | | | | | | | | | | ........ r82439 | nick.coghlan | 2010-07-03 01:50:14 +1000 (Sat, 03 Jul 2010) | 1 line Fix a couple of minor nits in What's New before the release goes out ........ r82441 | nick.coghlan | 2010-07-03 02:01:53 +1000 (Sat, 03 Jul 2010) | 1 line Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New ........
* Merged revisions 82429 via svnmerge fromBenjamin Peterson2010-07-011-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82429 | benjamin.peterson | 2010-07-01 18:35:37 -0500 (Thu, 01 Jul 2010) | 1 line trunc does use the special method, though ........
* Merged revisions 82420 via svnmerge fromBenjamin Peterson2010-07-011-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82420 | benjamin.peterson | 2010-07-01 12:45:52 -0500 (Thu, 01 Jul 2010) | 1 line fix fixer name ........
* Merged revisions 82415 via svnmerge fromBenjamin Peterson2010-07-011-4/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82415 | benjamin.peterson | 2010-07-01 10:07:15 -0500 (Thu, 01 Jul 2010) | 1 line remove docs about delegating to special methods; it does no such thing ........
* Merged revisions 82404 via svnmerge fromGiampaolo RodolĂ 2010-06-302-9/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82404 | giampaolo.rodola | 2010-06-30 19:38:28 +0200 (mer, 30 giu 2010) | 1 line fix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception ........
* Merged revisions 82400 via svnmerge fromMark Dickinson2010-06-303-4/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82400 | mark.dickinson | 2010-06-30 17:27:57 +0100 (Wed, 30 Jun 2010) | 2 lines Issue #9125: Update parser module for "except ... as ..." syntax. ........
* Merged revisions 82379 via svnmerge fromMark Dickinson2010-06-291-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82379 | mark.dickinson | 2010-06-29 21:09:12 +0100 (Tue, 29 Jun 2010) | 1 line Issue #1789: clarify that the 'size' column in struct docs refers to standard size. ........
* Merged revisions 82368 via svnmerge fromBenjamin Peterson2010-06-291-18/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82368 | benjamin.peterson | 2010-06-29 10:18:02 -0500 (Tue, 29 Jun 2010) | 1 line group cStringIO docs under its factory function ........
* Merged revisions 82363 via svnmerge fromSenthil Kumaran2010-06-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82363 | senthil.kumaran | 2010-06-29 18:58:20 +0530 (Tue, 29 Jun 2010) | 3 lines Documentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage. ........
* Tools/unicode/mkstringprep.py: Don't use string exceptions,Matthias Klose2010-06-291-3/+3
| | | | partial backport from r78982.
* Merged revisions 82334 via svnmerge fromSenthil Kumaran2010-06-281-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82334 | senthil.kumaran | 2010-06-28 22:37:40 +0530 (Mon, 28 Jun 2010) | 3 lines Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object. ........
* Merged revisions 82324 via svnmerge fromSenthil Kumaran2010-06-281-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82324 | senthil.kumaran | 2010-06-28 19:26:46 +0530 (Mon, 28 Jun 2010) | 3 lines Fix Issue8653 - Docstring for urlunsplit function. ........
* Merged revisions 82322 via svnmerge fromSenthil Kumaran2010-06-281-0/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82322 | senthil.kumaran | 2010-06-28 16:24:17 +0530 (Mon, 28 Jun 2010) | 3 lines Fix issue3428 - Document HTTPMessage class. ........
* Merged revisions 82284 via svnmerge fromRonald Oussoren2010-06-271-2/+7
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines Fix for Issue8883: without this patch test_urllib will fail when there is a bare IP address in the "Bypass proxy settings for these Hosts & Domains" list on MacOSX. ........
* Merged revisions 82150 via svnmerge fromRonald Oussoren2010-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82150 | ronald.oussoren | 2010-06-22 11:32:22 +0200 (Tue, 22 Jun 2010) | 12 lines The code in _scproxy (a mac specific helper module to detect proxy settings) had the wrong logic for detecting if the checkbox 'Exclude simple hostnames' is checked. This checkin fixes that. As a result the test failure 'Issue8455' goes away on systems where the checkbox is not checked. I'm carefully avoiding saying that is fixes that issue, test_urllib2_localnet assumes that system proxy settings are empty (not just on OSX, see Issue8455 for details). ........
* Merged revisions 82276 via svnmerge fromRonald Oussoren2010-06-271-3/+3
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82276 | ronald.oussoren | 2010-06-27 14:43:47 +0200 (Sun, 27 Jun 2010) | 5 lines The uuid library on OSX 10.5 seems to contain the same bug as the one on OSX 10.6, therefore don't use it there either. This fixes issue8621. ........
* Merged revisions 82272 via svnmerge fromRonald Oussoren2010-06-272-2/+5
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82272 | ronald.oussoren | 2010-06-27 14:36:16 +0200 (Sun, 27 Jun 2010) | 8 lines Two small fixes for the support for SDKs on MacOSX: 1) The code that checks if an path should be located in the SDK explicitly excludes /usr/local. This fixes issue9046 2) The SDK variant for filtering "db_dirs_to_check" in setup.py was not doing anything because of a missing assignment. ........
* #9085: bump email package version to its correct value.R. David Murray2010-06-262-1/+4
| | | | | Previous versions of 2.6 have 4.0.1 because of a missed trunk commit when 2.5 was released.
* Merged revisions 82251 via svnmerge fromAlexander Belopolsky2010-06-261-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82251 | alexander.belopolsky | 2010-06-26 14:49:10 -0400 (Sat, 26 Jun 2010) | 1 line Issue 9024: Added :cdata: tag to PyDateTimeAPI ........
* Merged revisions 82248 via svnmerge fromEzio Melotti2010-06-262-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82248 | ezio.melotti | 2010-06-26 21:44:42 +0300 (Sat, 26 Jun 2010) | 1 line Fix extra space. ........
* Blocked revisions 82246 via svnmergeR. David Murray2010-06-260-0/+0
| | | | | | | | | | | | | | ........ r82246 | r.david.murray | 2010-06-26 14:39:50 -0400 (Sat, 26 Jun 2010) | 8 lines #9085: email versions have gotten out of sync, 2.7 is actually 4.0.3. In 2.5 the email version was bumped to 4.0.2 just before release but after the maintenance branch was set up. The bump was not backported to trunk, and 2.6 went out the door with a version number of 4.0.1. I bumped this to 4.0.2 because of a behavior change, but that makes it look the same as 2.5. So bump it again to 4.0.3. ........
* Merged revisions 82233,82242 via svnmerge fromR. David Murray2010-06-261-0/+5
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82233 | r.david.murray | 2010-06-25 20:06:44 -0400 (Fri, 25 Jun 2010) | 2 lines #4640: add a test to optparse that proves issue is invalid. ........ r82242 | r.david.murray | 2010-06-25 23:27:32 -0400 (Fri, 25 Jun 2010) | 2 lines Fix indentation in recently added test. ........
* Merged revisions 82236 via svnmerge fromAlexander Belopolsky2010-06-261-3/+3
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82236 | alexander.belopolsky | 2010-06-25 22:05:19 -0400 (Fri, 25 Jun 2010) | 4 lines Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that it is typically used in module initialization function. Thanks Tim Golden for the patch. ........
* Merged revisions 82221 via svnmerge fromMark Dickinson2010-06-251-11/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82221 | mark.dickinson | 2010-06-25 21:19:48 +0100 (Fri, 25 Jun 2010) | 1 line Fix indentation of Python code example in C comment. ........
* Merged revisions 82210 via svnmerge fromAntoine Pitrou2010-06-252-1/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82210 | antoine.pitrou | 2010-06-25 02:03:21 +0200 (ven., 25 juin 2010) | 4 lines Issue #9075: In the ssl module, remove the setting of a `debug` flag on an OpenSSL structure. ........
* Blocked revisions 82191 via svnmergeStefan Krah2010-06-240-0/+0
| | | | | | | | | | ........ r82191 | stefan.krah | 2010-06-24 11:33:05 +0200 (Thu, 24 Jun 2010) | 5 lines Issue #9020: The Py_IS* macros from pyctype.h should generally only be used with signed/unsigned char arguments. For integer arguments, EOF has to be handled separately. ........
* Issue #8930: Remaining indentation fixes after the Grand Unified Indenting.Stefan Krah2010-06-231-55/+55
|
* Blocked revisions 82177 via svnmergeStefan Krah2010-06-230-0/+0
| | | | | | | | ........ r82177 | stefan.krah | 2010-06-23 20:12:09 +0200 (Wed, 23 Jun 2010) | 3 lines Issue #8930: Remaining indentation fixes after the Grand Unified Indenting. ........
* Merged revisions 82169 via svnmerge fromAntoine Pitrou2010-06-221-38/+38
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82169 | antoine.pitrou | 2010-06-22 23:42:05 +0200 (mar., 22 juin 2010) | 4 lines Fix misindents in compile.c (for Benjamin). Of course, whoever used the wrong indentation rules needs to be spanked. ........
* Merged revisions 82157 via svnmerge fromBenjamin Peterson2010-06-222-3/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82157 | benjamin.peterson | 2010-06-22 14:16:37 -0500 (Tue, 22 Jun 2010) | 1 line remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 ........
* Merged revisions 82130 via svnmerge fromBenjamin Peterson2010-06-212-3/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82130 | benjamin.peterson | 2010-06-21 10:27:46 -0500 (Mon, 21 Jun 2010) | 1 line fix finding visual studio 2008 on 64 bit #8854 ........
* Merged revisions 82075 via svnmerge fromJean-Paul Calderone2010-06-182-5/+3
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82075 | jean-paul.calderone | 2010-06-18 16:00:17 -0400 (Fri, 18 Jun 2010) | 12 lines Revert r60115 This revision introduced quoting for strings containing | based on a misunderstanding of the commonly used quoting rules used on Windows. | is interpreted by cmd.exe, not by the MS C runtime argv initializer. It only needs to be quoted if it is part of an argument passed through cmd.exe. See issue1300, issue7839, and issue8972. ........
* Merged revisions 82047 via svnmerge fromSenthil Kumaran2010-06-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82047 | senthil.kumaran | 2010-06-17 22:08:34 +0530 (Thu, 17 Jun 2010) | 3 lines Fix Issue4452 - Incorrect docstring of os.setpgrp ........
* Blocked revisions 82039 via svnmergeR. David Murray2010-06-170-0/+0
| | | | | | | | | | | | | | | ........ r82039 | r.david.murray | 2010-06-16 21:36:52 -0400 (Wed, 16 Jun 2010) | 10 lines #8720: fix inspect regression by teaching getsourcefile about linecache. The fix for issue 4050 caused a regression: before that fix, source lines in the linecache would eventually be found by inspect. After the fix inspect reports an error earlier, and the source isn't found. The fix for the fix is to have getsourcefile look in the linecache for the file and return the psuedo-filename if the source is there, just as it already returns it if there is a PEP 302 loader. ........
* Merged revisions 82026 via svnmerge fromSenthil Kumaran2010-06-161-5/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines Addressing RDM's review comments on the doc change. ........
* Merged revisions 82018 via svnmerge fromSenthil Kumaran2010-06-161-1/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82018 | senthil.kumaran | 2010-06-16 20:25:31 +0530 (Wed, 16 Jun 2010) | 3 lines Fix Issue8937 - SimpleHTTPServer should contain usage example ........
* Issue #7384: If the system readline library is linked againstStefan Krah2010-06-163-25/+47
| | | | ncurses, do not link the readline module against ncursesw.
* Blocked revisions 81678 via svnmergeR. David Murray2010-06-160-0/+0
| | | | | | | | | | | | | ........ r81678 | r.david.murray | 2010-06-03 16:19:25 -0400 (Thu, 03 Jun 2010) | 7 lines #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD. FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because there's no easy way to conditionally include a context manager in a with statement. As a side benefit, instead of a stack of context managers there's now only one. ........
* Merged revisions 81675 via svnmerge fromR. David Murray2010-06-163-1/+22
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. ........
* Merged revisions 81634 via svnmerge fromR. David Murray2010-06-151-10/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines #7583: clarify discussion of hard tab expansion in doctests. ........
* Merged revisions 81992 via svnmerge fromMark Dickinson2010-06-151-40/+44
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines Issue #8469: Further clarifications and improvements to struct module documentation. Thanks Mads Kiilerich. ........
* Merged revisions 81957 via svnmerge fromMark Dickinson2010-06-121-107/+108
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines Issue #8469: Add standard sizes to table in struct documentation; additional clarifications and documentation tweaks. Backport of revisions 81955-81956 from py3k. ........
* Merged revisions 81940-81942 via svnmerge fromGeorg Brandl2010-06-124-34/+125
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81940 | georg.brandl | 2010-06-12 11:45:28 +0200 (Sa, 12 Jun 2010) | 1 line Add document on how to build. ........ r81941 | georg.brandl | 2010-06-12 11:45:58 +0200 (Sa, 12 Jun 2010) | 1 line Fix gratuitous indentation. ........ r81942 | georg.brandl | 2010-06-12 11:46:03 +0200 (Sa, 12 Jun 2010) | 1 line Update README. ........