]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 11 Jul 2010 08:56:18 +0000 (08:56 +0000)]
Merged revisions 82790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r82790 | georg.brandl | 2010-07-11 10:36:20 +0200 (So, 11 Jul 2010) | 1 line
#3214 followup: add link to ABC entry.
........
Senthil Kumaran [Sun, 11 Jul 2010 05:06:37 +0000 (05:06 +0000)]
Merged revisions 82785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82785 | senthil.kumaran | 2010-07-11 10:31:52 +0530 (Sun, 11 Jul 2010) | 3 lines
Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee.
........
Senthil Kumaran [Sun, 11 Jul 2010 03:15:25 +0000 (03:15 +0000)]
Merged revisions 82780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines
Stricter verification for file based url scheme and reliance on ftp protocol.
........
Michael Foord [Sat, 10 Jul 2010 14:42:30 +0000 (14:42 +0000)]
Blocked revisions 82767 via svnmerge
........
r82767 | michael.foord | 2010-07-10 14:52:22 +0100 (Sat, 10 Jul 2010) | 2 lines
Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
Issue 9174.
........
R. David Murray [Sat, 10 Jul 2010 14:24:46 +0000 (14:24 +0000)]
Merged revisions 82771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82771 | r.david.murray | 2010-07-10 10:23:36 -0400 (Sat, 10 Jul 2010) | 2 lines
Add missing docs for re module 'purge' function.
........
R. David Murray [Sat, 10 Jul 2010 14:00:10 +0000 (14:00 +0000)]
Merged revisions 82766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Since 'purge' is an API change, modified it to be _purge for 3.1
and deleted the doc update.
........
r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines
Fix 'refleak' introduced by fnmatch cache purge tests.
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
........
Mark Dickinson [Fri, 9 Jul 2010 22:15:07 +0000 (22:15 +0000)]
Temporary debug commit: include gcc version in configure output. If this doesn't help with reproducing test_float failures then I'll create a separate branch to work on this issue.
Mark Dickinson [Fri, 9 Jul 2010 22:12:52 +0000 (22:12 +0000)]
Revert temporary debugging commits (r82752, r82754).
Mark Dickinson [Fri, 9 Jul 2010 20:10:37 +0000 (20:10 +0000)]
Another temporary checkin to diagnose test_float failure on 3.1 Ubuntu buildbot.
Mark Dickinson [Fri, 9 Jul 2010 19:43:26 +0000 (19:43 +0000)]
Temporary checkin to try to diagnose i386 Ubuntu buildbot failure.
Benjamin Peterson [Fri, 9 Jul 2010 19:39:56 +0000 (19:39 +0000)]
3.x is the new trunk
R. David Murray [Fri, 9 Jul 2010 13:16:26 +0000 (13:16 +0000)]
Merged revisions 82730-82731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Patch by Andrew Clegg.
........
r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines
Fix sort order mistake in Misc/ACKS.
........
Mark Dickinson [Thu, 8 Jul 2010 21:18:21 +0000 (21:18 +0000)]
Merged revisions 82654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82654 | mark.dickinson | 2010-07-08 22:15:36 +0100 (Thu, 08 Jul 2010) | 3 lines
Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.
Remove the use of locals() that caused this error.
........
Mark Dickinson [Thu, 8 Jul 2010 19:21:59 +0000 (19:21 +0000)]
Merged revisions 82646,82649-82650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line
In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
........
r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
........
r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line
Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
........
Ezio Melotti [Thu, 8 Jul 2010 15:08:14 +0000 (15:08 +0000)]
Blocked revisions 82644 via svnmerge
........
r82644 | ezio.melotti | 2010-07-08 18:03:02 +0300 (Thu, 08 Jul 2010) | 1 line
Fix typo in a comment in mathmodule.c.
........
Benjamin Peterson [Wed, 7 Jul 2010 22:50:58 +0000 (22:50 +0000)]
Merged revisions 82637 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line
ValueError in this case is also acceptable
........
Benjamin Peterson [Wed, 7 Jul 2010 22:46:00 +0000 (22:46 +0000)]
Merged revisions 82628,82630 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line
this needn't be in the loop
........
r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line
don't ignore exceptions from PyObject_IsTrue
........
Matthias Klose [Wed, 7 Jul 2010 11:06:57 +0000 (11:06 +0000)]
Remove whatsnew 2.7 item about --with-computed-gotos.
Alexander Belopolsky [Tue, 6 Jul 2010 23:26:35 +0000 (23:26 +0000)]
Blocked revisions 82617 via svnmerge
........
r82617 | alexander.belopolsky | 2010-07-06 19:19:45 -0400 (Tue, 06 Jul 2010) | 1 line
Issue #9000: datetime.timezone objects now have eval-friendly repr.
........
Alexander Belopolsky [Tue, 6 Jul 2010 18:31:05 +0000 (18:31 +0000)]
Blocked revisions 82514 via svnmerge
........
r82514 | alexander.belopolsky | 2010-07-03 16:35:53 -0400 (Sat, 03 Jul 2010) | 3 lines
Issue #9094: Make python -m pickletools disassemble pickles given in
the command line.
........
Senthil Kumaran [Tue, 6 Jul 2010 03:03:34 +0000 (03:03 +0000)]
Merged revisions 82601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82601 | senthil.kumaran | 2010-07-06 07:38:36 +0530 (Tue, 06 Jul 2010) | 3 lines
Change 'lowered' to 'lowercased'
........
Victor Stinner [Mon, 5 Jul 2010 21:38:37 +0000 (21:38 +0000)]
Merged revisions 82597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82597 | victor.stinner | 2010-07-05 23:36:21 +0200 (lun., 05 juil. 2010) | 2 lines
#9158: Fix y* format of PyArg_Parse*() functions documentation
........
Alexander Belopolsky [Mon, 5 Jul 2010 15:26:36 +0000 (15:26 +0000)]
Merged revisions 82578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82578 | alexander.belopolsky | 2010-07-05 11:05:33 -0400 (Mon, 05 Jul 2010) | 1 line
Added more tests for utctimetuple()
........
Senthil Kumaran [Mon, 5 Jul 2010 12:04:23 +0000 (12:04 +0000)]
Merged revisions 82573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines
Fix the docstrings of the capitalize method.
........
Senthil Kumaran [Mon, 5 Jul 2010 11:44:49 +0000 (11:44 +0000)]
Merged revisions 82570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82570 | senthil.kumaran | 2010-07-05 17:11:42 +0530 (Mon, 05 Jul 2010) | 3 lines
Fix: Issue9091 Minor documentation clarification.
........
Mark Dickinson [Sun, 4 Jul 2010 18:39:48 +0000 (18:39 +0000)]
Merged revisions 82555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82555 | mark.dickinson | 2010-07-04 19:38:57 +0100 (Sun, 04 Jul 2010) | 2 lines
Issue #9130: Validate ellipsis tokens in relative imports.
........
Mark Dickinson [Sun, 4 Jul 2010 18:16:43 +0000 (18:16 +0000)]
Merged revisions 82552-82553 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82552 | mark.dickinson | 2010-07-04 19:11:51 +0100 (Sun, 04 Jul 2010) | 2 lines
Issue #9130: Fix validation of relative imports in parser module.
........
r82553 | mark.dickinson | 2010-07-04 19:15:26 +0100 (Sun, 04 Jul 2010) | 1 line
Fix symbol numbers in test_parser test.
........
Georg Brandl [Sun, 4 Jul 2010 17:33:33 +0000 (17:33 +0000)]
Merged revisions 77316 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r77316 | georg.brandl | 2010-01-05 11:22:04 +0100 (Di, 05 Jan 2010) | 1 line
Assorted doc fixes by Florent.
........
Benjamin Peterson [Sun, 4 Jul 2010 16:49:46 +0000 (16:49 +0000)]
Merged revisions 82542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82542 | benjamin.peterson | 2010-07-04 11:44:15 -0500 (Sun, 04 Jul 2010) | 17 lines
Merged revisions 81478,82530-82531 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line
ensure doctests have some future_features
........
r82530 | benjamin.peterson | 2010-07-04 11:11:41 -0500 (Sun, 04 Jul 2010) | 1 line
simplify ignore star imports from itertools #8892
........
r82531 | benjamin.peterson | 2010-07-04 11:13:20 -0500 (Sun, 04 Jul 2010) | 1 line
wrap with parenthesis not \
........
................
Mark Dickinson [Sun, 4 Jul 2010 16:39:03 +0000 (16:39 +0000)]
Merged revisions 82537 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82537 | mark.dickinson | 2010-07-04 17:37:31 +0100 (Sun, 04 Jul 2010) | 2 lines
Issue #9128: Fix validation of class decorators in parser module.
........
Alexander Belopolsky [Sun, 4 Jul 2010 16:33:25 +0000 (16:33 +0000)]
Merged revisions 82533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82533 | alexander.belopolsky | 2010-07-04 12:28:08 -0400 (Sun, 04 Jul 2010) | 1 line
Issue #9152: Removed dead code in datetime module
........
Mark Dickinson [Sun, 4 Jul 2010 10:15:59 +0000 (10:15 +0000)]
Merged revisions 82527 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82527 | mark.dickinson | 2010-07-04 11:15:11 +0100 (Sun, 04 Jul 2010) | 1 line
Fix refleak in Modules/audioop.c.
........
Senthil Kumaran [Sat, 3 Jul 2010 18:04:31 +0000 (18:04 +0000)]
Minor change in the wording.
Senthil Kumaran [Sat, 3 Jul 2010 17:55:41 +0000 (17:55 +0000)]
Merged revisions 82510 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82510 | senthil.kumaran | 2010-07-03 23:18:22 +0530 (Sat, 03 Jul 2010) | 4 lines
Fix Issue5468 - urlencode to handle bytes and other alternate encodings.
(Extensive tests provided). Patch by Dan Mahn.
........
Victor Stinner [Sat, 3 Jul 2010 13:46:01 +0000 (13:46 +0000)]
Merged revisions 82495 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82495 | victor.stinner | 2010-07-03 15:44:22 +0200 (sam., 03 juil. 2010) | 10 lines
Merged revisions 82492 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines
Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module,
ensure that the input string length is a multiple of the frame size
........
................
Mark Dickinson [Sat, 3 Jul 2010 09:18:26 +0000 (09:18 +0000)]
Merged revisions 82478 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82478 | mark.dickinson | 2010-07-03 10:17:16 +0100 (Sat, 03 Jul 2010) | 9 lines
Merged revisions 82476 via svnmerge from
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.
........
................
Ezio Melotti [Sat, 3 Jul 2010 05:18:50 +0000 (05:18 +0000)]
Merged revisions 82413,82468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82413 | ezio.melotti | 2010-07-01 10:32:02 +0300 (Thu, 01 Jul 2010) | 13 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) Change the error messages "unexpected code byte" to "invalid start byte"
and "invalid data" to "invalid continuation byte";
4) Add an extensive set of tests in test_unicode;
5) Fix test_codeccallbacks because it was failing after this change.
........
r82468 | ezio.melotti | 2010-07-03 07:52:19 +0300 (Sat, 03 Jul 2010) | 1 line
Update comment about surrogates.
........
Ezio Melotti [Fri, 2 Jul 2010 23:22:03 +0000 (23:22 +0000)]
Merged revisions 82462 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82462 | ezio.melotti | 2010-07-03 02:18:51 +0300 (Sat, 03 Jul 2010) | 17 lines
Merged revisions 82455,82457,82459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82455 | eric.smith | 2010-07-03 00:44:16 +0300 (Sat, 03 Jul 2010) | 1 line
Moved period outside paren, where it belongs.
........
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.
........
................
Mark Dickinson [Fri, 2 Jul 2010 20:26:51 +0000 (20:26 +0000)]
Merged revisions 82452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82452 | mark.dickinson | 2010-07-02 21:26:07 +0100 (Fri, 02 Jul 2010) | 9 lines
Merged revisions 82446 via svnmerge from
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.
........
................
Benjamin Peterson [Fri, 2 Jul 2010 19:50:16 +0000 (19:50 +0000)]
Merged revisions 82448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82448 | benjamin.peterson | 2010-07-02 14:45:07 -0500 (Fri, 02 Jul 2010) | 9 lines
Merged revisions 82447 via svnmerge from
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
........
................
Nick Coghlan [Fri, 2 Jul 2010 16:21:37 +0000 (16:21 +0000)]
Blocked revisions 82440,82443 via svnmerge
................
r82440 | nick.coghlan | 2010-07-03 01:57:50 +1000 (Sat, 03 Jul 2010) | 9 lines
Merged revisions 82439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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
........
................
r82443 | nick.coghlan | 2010-07-03 02:14:05 +1000 (Sat, 03 Jul 2010) | 9 lines
Merged revisions 82441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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
........
................
Benjamin Peterson [Thu, 1 Jul 2010 17:51:42 +0000 (17:51 +0000)]
Merged revisions 82422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82422 | benjamin.peterson | 2010-07-01 12:49:01 -0500 (Thu, 01 Jul 2010) | 9 lines
Merged revisions 82420 via svnmerge from
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
........
................
Giampaolo Rodolà [Wed, 30 Jun 2010 17:50:20 +0000 (17:50 +0000)]
Merged revisions 82407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82407 | giampaolo.rodola | 2010-06-30 19:47:39 +0200 (mer, 30 giu 2010) | 9 lines
Merged revisions 82404 via svnmerge from
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
........
................
Mark Dickinson [Wed, 30 Jun 2010 10:55:51 +0000 (10:55 +0000)]
Tests for Python 3.1's treatment of negated imaginary literals.
Mark Dickinson [Wed, 30 Jun 2010 10:34:53 +0000 (10:34 +0000)]
Revert r82044, since it changed the semantics of negated imaginary literals.
Before r82044, '-7j' became complex(0.0, -7.0); afterwards it was
complex(-0.0, -7.0). See issue 9011.
Mark Dickinson [Tue, 29 Jun 2010 20:11:18 +0000 (20:11 +0000)]
Merged revisions 82381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82381 | mark.dickinson | 2010-06-29 21:10:42 +0100 (Tue, 29 Jun 2010) | 9 lines
Merged revisions 82379 via svnmerge from
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.
........
................
Benjamin Peterson [Tue, 29 Jun 2010 18:40:09 +0000 (18:40 +0000)]
Merged revisions 82376 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82376 | benjamin.peterson | 2010-06-29 13:36:39 -0500 (Tue, 29 Jun 2010) | 1 line
update for nonlocal keyword
........
Benjamin Peterson [Tue, 29 Jun 2010 16:04:46 +0000 (16:04 +0000)]
Merged revisions 82373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82373 | benjamin.peterson | 2010-06-29 10:57:57 -0500 (Tue, 29 Jun 2010) | 1 line
note that byte strings can be raw, too #9114
........
Benjamin Peterson [Tue, 29 Jun 2010 01:30:28 +0000 (01:30 +0000)]
Merged revisions 82354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82354 | benjamin.peterson | 2010-06-28 20:27:35 -0500 (Mon, 28 Jun 2010) | 1 line
rephrase and remove uneeded statement
........
Brian Curtin [Tue, 29 Jun 2010 00:17:01 +0000 (00:17 +0000)]
Merged revisions 82351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82351 | brian.curtin | 2010-06-28 19:14:28 -0500 (Mon, 28 Jun 2010) | 3 lines
Update md5driver.py for 3.x.
Changed an import, replaced md5.new() with md5(), and added an encode where needed.
........
Benjamin Peterson [Mon, 28 Jun 2010 19:46:35 +0000 (19:46 +0000)]
Merged revisions 82342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82342 | benjamin.peterson | 2010-06-28 14:43:42 -0500 (Mon, 28 Jun 2010) | 1 line
update error message
........
Senthil Kumaran [Mon, 28 Jun 2010 17:35:17 +0000 (17:35 +0000)]
Merged revisions 82336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82336 | senthil.kumaran | 2010-06-28 23:01:40 +0530 (Mon, 28 Jun 2010) | 9 lines
Merged revisions 82334 via svnmerge from
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.
........
................
Alexander Belopolsky [Mon, 28 Jun 2010 14:38:44 +0000 (14:38 +0000)]
Blocked revisions 82328 via svnmerge
........
r82328 | alexander.belopolsky | 2010-06-28 10:36:55 -0400 (Mon, 28 Jun 2010) | 1 line
Added missing white space
........
Senthil Kumaran [Mon, 28 Jun 2010 14:12:18 +0000 (14:12 +0000)]
Merged revisions 82326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82326 | senthil.kumaran | 2010-06-28 19:38:00 +0530 (Mon, 28 Jun 2010) | 9 lines
Merged revisions 82324 via svnmerge from
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.
........
................
Ronald Oussoren [Sun, 27 Jun 2010 14:27:27 +0000 (14:27 +0000)]
Merged revisions 82286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82286 | ronald.oussoren | 2010-06-27 16:26:30 +0200 (Sun, 27 Jun 2010) | 11 lines
Merged revisions 82284 via svnmerge from
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.
........
................
Ronald Oussoren [Sun, 27 Jun 2010 12:52:17 +0000 (12:52 +0000)]
Merged revisions 82281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82281 | ronald.oussoren | 2010-06-27 14:51:31 +0200 (Sun, 27 Jun 2010) | 19 lines
Merged revisions 82150 via svnmerge from
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).
........
................
Ronald Oussoren [Sun, 27 Jun 2010 12:46:19 +0000 (12:46 +0000)]
Merged revisions 82278 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82278 | ronald.oussoren | 2010-06-27 14:45:47 +0200 (Sun, 27 Jun 2010) | 12 lines
Merged revisions 82276 via svnmerge from
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.
........
................
Ronald Oussoren [Sun, 27 Jun 2010 12:40:35 +0000 (12:40 +0000)]
Merged revisions 82273 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82273 | ronald.oussoren | 2010-06-27 14:37:46 +0200 (Sun, 27 Jun 2010) | 15 lines
Merged revisions 82272 via svnmerge from
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.
........
................
Georg Brandl [Sun, 27 Jun 2010 10:57:33 +0000 (10:57 +0000)]
Fix duplicate paragraph.
R. David Murray [Sat, 26 Jun 2010 19:07:29 +0000 (19:07 +0000)]
Blocked revisions 82247 via svnmerge
................
r82247 | r.david.murray | 2010-06-26 14:44:14 -0400 (Sat, 26 Jun 2010) | 14 lines
Blocked revisions 82246 via svnmerge
........
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.
........
................
Alexander Belopolsky [Sat, 26 Jun 2010 18:58:29 +0000 (18:58 +0000)]
Merged revisions 82255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82255 | alexander.belopolsky | 2010-06-26 14:57:02 -0400 (Sat, 26 Jun 2010) | 9 lines
Merged revisions 82251 via svnmerge from
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
........
................
Ezio Melotti [Sat, 26 Jun 2010 18:52:26 +0000 (18:52 +0000)]
Merged revisions 82252 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82252 | ezio.melotti | 2010-06-26 21:50:39 +0300 (Sat, 26 Jun 2010) | 9 lines
Merged revisions 82248 via svnmerge from
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.
........
................
R. David Murray [Sat, 26 Jun 2010 03:36:05 +0000 (03:36 +0000)]
Merged revisions 82244 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82244 | r.david.murray | 2010-06-25 23:34:33 -0400 (Fri, 25 Jun 2010) | 9 lines
Merged revisions 82242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82242 | r.david.murray | 2010-06-25 23:27:32 -0400 (Fri, 25 Jun 2010) | 2 lines
Fix indentation in recently added test.
........
................
Alexander Belopolsky [Sat, 26 Jun 2010 02:16:57 +0000 (02:16 +0000)]
Merged revisions 82238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82238 | alexander.belopolsky | 2010-06-25 22:15:07 -0400 (Fri, 25 Jun 2010) | 11 lines
Merged revisions 82236 via svnmerge from
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.
........
................
R. David Murray [Sat, 26 Jun 2010 00:20:20 +0000 (00:20 +0000)]
Merged revisions 82234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82234 | r.david.murray | 2010-06-25 20:17:12 -0400 (Fri, 25 Jun 2010) | 9 lines
Merged revisions 82233 via svnmerge from
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.
........
................
Mark Dickinson [Fri, 25 Jun 2010 20:23:41 +0000 (20:23 +0000)]
Merged revisions 82223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82223 | mark.dickinson | 2010-06-25 21:22:24 +0100 (Fri, 25 Jun 2010) | 9 lines
Merged revisions 82221 via svnmerge from
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.
........
................
Ezio Melotti [Fri, 25 Jun 2010 11:02:09 +0000 (11:02 +0000)]
Blocked revisions 82214 via svnmerge
........
r82214 | ezio.melotti | 2010-06-25 13:56:11 +0300 (Fri, 25 Jun 2010) | 1 line
#9018: os.path.normcase() now raises a TypeError if the argument is not str or bytes.
........
Antoine Pitrou [Fri, 25 Jun 2010 00:13:19 +0000 (00:13 +0000)]
Merged revisions 82211 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82211 | antoine.pitrou | 2010-06-25 02:07:34 +0200 (ven., 25 juin 2010) | 10 lines
Merged revisions 82210 via svnmerge from
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.
........
................
Victor Stinner [Fri, 25 Jun 2010 00:03:04 +0000 (00:03 +0000)]
Blocked revisions 82208 via svnmerge
........
r82208 | victor.stinner | 2010-06-25 02:02:38 +0200 (ven., 25 juin 2010) | 3 lines
Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, use
"w*" format instead. Add tests for "w*" format.
........
Victor Stinner [Thu, 24 Jun 2010 23:06:25 +0000 (23:06 +0000)]
Issue #8926: getargs.c: release the buffer on error
- "t#" format: don't get the buffer if the object is not a pinned buffer
- getbuffer(): release the buffer on error
(Commit based on r82206 from py3k)
Antoine Pitrou [Thu, 24 Jun 2010 22:49:57 +0000 (22:49 +0000)]
Merged revisions 82204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82204 | antoine.pitrou | 2010-06-25 00:34:04 +0200 (ven., 25 juin 2010) | 5 lines
Issue #8682: The ssl module now temporary increments the reference count of
a socket object got through `PyWeakref_GetObject`, so as to avoid possible
deallocation while the object is still being used.
........
Victor Stinner [Thu, 24 Jun 2010 22:31:38 +0000 (22:31 +0000)]
Blocked revisions 82202 via svnmerge
........
r82202 | victor.stinner | 2010-06-25 00:31:12 +0200 (ven., 25 juin 2010) | 2 lines
PyArg_Parse*() functions: factorize code for s/z and u/Z formats
........
Victor Stinner [Thu, 24 Jun 2010 22:10:45 +0000 (22:10 +0000)]
Blocked revisions 82200 via svnmerge
........
r82200 | victor.stinner | 2010-06-25 00:08:25 +0200 (ven., 25 juin 2010) | 3 lines
Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytes
objects, as described in the documentation.
........
Stefan Krah [Thu, 24 Jun 2010 10:27:19 +0000 (10:27 +0000)]
Merged revisions 82194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82194 | stefan.krah | 2010-06-24 12:25:08 +0200 (Thu, 24 Jun 2010) | 3 lines
Add specification for the Py_IS* macros in pyctype.h.
........
Alexander Belopolsky [Wed, 23 Jun 2010 23:04:22 +0000 (23:04 +0000)]
Blocked revisions 82184 via svnmerge
........
r82184 | alexander.belopolsky | 2010-06-23 17:40:15 -0400 (Wed, 23 Jun 2010) | 1 line
Issue #9051: Instances of timezone class can now be pickled.
........
Stefan Krah [Wed, 23 Jun 2010 18:54:09 +0000 (18:54 +0000)]
Merged revisions 82181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82181 | stefan.krah | 2010-06-23 20:42:39 +0200 (Wed, 23 Jun 2010) | 3 lines
Issue #8930: Remaining indentation fixes after the Grand Unified Indenting.
........
Antoine Pitrou [Tue, 22 Jun 2010 21:53:47 +0000 (21:53 +0000)]
Merged revisions 82171 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82171 | antoine.pitrou | 2010-06-22 23:49:39 +0200 (mar., 22 juin 2010) | 10 lines
Merged revisions 82169 via svnmerge from
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.
........
................
Benjamin Peterson [Tue, 22 Jun 2010 20:11:09 +0000 (20:11 +0000)]
Merged revisions 82159 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82159 | benjamin.peterson | 2010-06-22 14:21:52 -0500 (Tue, 22 Jun 2010) | 9 lines
Merged revisions 82157 via svnmerge from
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
........
................
Alexander Belopolsky [Tue, 22 Jun 2010 14:43:47 +0000 (14:43 +0000)]
Merged revisions 82152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82152 | alexander.belopolsky | 2010-06-22 10:07:33 -0400 (Tue, 22 Jun 2010) | 1 line
Added more test cases
........
Senthil Kumaran [Tue, 22 Jun 2010 02:46:49 +0000 (02:46 +0000)]
Merged revisions 82146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82146 | senthil.kumaran | 2010-06-22 08:12:52 +0530 (Tue, 22 Jun 2010) | 3 lines
Minor docs issue.
........
Benjamin Peterson [Mon, 21 Jun 2010 17:04:07 +0000 (17:04 +0000)]
only use -fno-strict-aliasing when needed by compiler
Benjamin Peterson [Mon, 21 Jun 2010 16:51:22 +0000 (16:51 +0000)]
run autoreconf
Benjamin Peterson [Mon, 21 Jun 2010 15:42:48 +0000 (15:42 +0000)]
Merged revisions 82131 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82131 | benjamin.peterson | 2010-06-21 10:37:16 -0500 (Mon, 21 Jun 2010) | 9 lines
Merged revisions 82130 via svnmerge from
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
........
................
Alexander Belopolsky [Mon, 21 Jun 2010 15:22:30 +0000 (15:22 +0000)]
Blocked revisions 82128 via svnmerge
........
r82128 | alexander.belopolsky | 2010-06-21 11:21:14 -0400 (Mon, 21 Jun 2010) | 2 lines
Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.
........
Victor Stinner [Sat, 19 Jun 2010 00:05:54 +0000 (00:05 +0000)]
Merged revisions 82084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82084 | victor.stinner | 2010-06-19 01:59:45 +0200 (sam., 19 juin 2010) | 6 lines
Issue #8939: Improve arg.rst
* Add :ctype: to Py_BEGIN_ALLOW_THREADS and int
* "s" and "s#" formats of Py_BuildValue(): specify that the Python object type
is str in the description
........
Jean-Paul Calderone [Fri, 18 Jun 2010 20:11:43 +0000 (20:11 +0000)]
Merged revisions 82076 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82076 | jean-paul.calderone | 2010-06-18 16:03:54 -0400 (Fri, 18 Jun 2010) | 19 lines
Merged revisions 82075 via svnmerge from
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.
........
................
Alexander Belopolsky [Fri, 18 Jun 2010 18:45:58 +0000 (18:45 +0000)]
Blocked revisions 82073 via svnmerge
........
r82073 | alexander.belopolsky | 2010-06-18 14:44:37 -0400 (Fri, 18 Jun 2010) | 4 lines
Issue #6641: Original commit for this issue, r82053, introduced a
regression making datetime subclass' strptime return datetime rather
than subclass instances. Fixed this bug and a few typos.
........
Alexander Belopolsky [Fri, 18 Jun 2010 16:59:25 +0000 (16:59 +0000)]
Blocked revisions 82071 via svnmerge
........
r82071 | alexander.belopolsky | 2010-06-18 12:57:49 -0400 (Fri, 18 Jun 2010) | 1 line
Added a new line at the end of the file.
........
Senthil Kumaran [Fri, 18 Jun 2010 15:12:48 +0000 (15:12 +0000)]
Merged revisions 82068 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82068 | senthil.kumaran | 2010-06-18 20:38:18 +0530 (Fri, 18 Jun 2010) | 3 lines
Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page
........
Victor Stinner [Thu, 17 Jun 2010 23:23:37 +0000 (23:23 +0000)]
Merged revisions 82059,82061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82059 | victor.stinner | 2010-06-18 01:08:50 +0200 (ven., 18 juin 2010) | 5 lines
Issue #6543: Write the traceback in the terminal encoding instead of utf-8.
Fix the encoding of the modules filename.
Reindent also traceback.h, just because I hate tabs :-)
........
r82061 | victor.stinner | 2010-06-18 01:17:37 +0200 (ven., 18 juin 2010) | 2 lines
Issue #6543: Mention the author of the patch, Amaury Forgeot d'Arc
........
Victor Stinner [Thu, 17 Jun 2010 23:20:37 +0000 (23:20 +0000)]
Oops, I did't want to block r82059 (revert r82060)
Victor Stinner [Thu, 17 Jun 2010 23:11:18 +0000 (23:11 +0000)]
Blocked revisions 82059 via svnmerge
........
r82059 | victor.stinner | 2010-06-18 01:08:50 +0200 (ven., 18 juin 2010) | 5 lines
Issue #6543: Write the traceback in the terminal encoding instead of utf-8.
Fix the encoding of the modules filename.
Reindent also traceback.h, just because I hate tabs :-)
........
Victor Stinner [Thu, 17 Jun 2010 21:45:56 +0000 (21:45 +0000)]
Merged revisions 82057 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82057 | victor.stinner | 2010-06-17 23:43:33 +0200 (jeu., 17 juin 2010) | 2 lines
Issue #8203: Fix IDLE Credits dialog: view_file() uses its encoding argument.
........
Alexander Belopolsky [Thu, 17 Jun 2010 18:32:37 +0000 (18:32 +0000)]
Blocked revisions 82053 via svnmerge
........
r82053 | alexander.belopolsky | 2010-06-17 14:30:34 -0400 (Thu, 17 Jun 2010) | 2 lines
Issue #6641: The datetime.strptime method now supports the %z directive.
........
Mark Dickinson [Thu, 17 Jun 2010 18:25:38 +0000 (18:25 +0000)]
Merged revisions 82051 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82051 | mark.dickinson | 2010-06-17 19:24:52 +0100 (Thu, 17 Jun 2010) | 2 lines
Add note about changes to the `round` function between 2.x and 3.x.
........
Senthil Kumaran [Thu, 17 Jun 2010 16:51:08 +0000 (16:51 +0000)]
Merged revisions 82049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82049 | senthil.kumaran | 2010-06-17 22:18:06 +0530 (Thu, 17 Jun 2010) | 9 lines
Merged revisions 82047 via svnmerge from
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
........
................
R. David Murray [Thu, 17 Jun 2010 13:27:40 +0000 (13:27 +0000)]
Merged revisions 82045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82045 | r.david.murray | 2010-06-17 09:23:18 -0400 (Thu, 17 Jun 2010) | 5 lines
Don't use os.normcase when the result we are expecting is None.
This worked fine on linux but fails on Windows. That may or may
not be a bug in normcase.
........
Mark Dickinson [Thu, 17 Jun 2010 12:37:17 +0000 (12:37 +0000)]
Merged revisions 82043 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82043 | mark.dickinson | 2010-06-17 13:33:22 +0100 (Thu, 17 Jun 2010) | 6 lines
Issue #9011: Remove buggy and unnecessary ST->AST compilation code
dealing with unary minus applied to a constant. The removed code was
mutating the ST, causing a second compilation to fail. (The peephole
optimizer already takes care of optimizing this case, so there's no
lost optimization opportunity here.)
........
R. David Murray [Thu, 17 Jun 2010 02:06:12 +0000 (02:06 +0000)]
Merged revisions 82041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82041 | r.david.murray | 2010-06-16 22:04:29 -0400 (Wed, 16 Jun 2010) | 16 lines
Merged revisions 82039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Alexander Belopolsky [Wed, 16 Jun 2010 23:17:44 +0000 (23:17 +0000)]
Blocked revisions 82034-82035 via svnmerge
........
r82034 | alexander.belopolsky | 2010-06-16 18:38:15 -0400 (Wed, 16 Jun 2010) | 6 lines
Issue #9012: "Separate compilation of time and datetime modules."
Segregated code shared between time and datetime modules into
Modules/_time.c. Added a new header file, Modules/_time.h, which
will be used instead of Include/timefuncs.h for declarations shared
between time and datetime modules.
........
r82035 | victor.stinner | 2010-06-16 19:05:06 -0400 (Wed, 16 Jun 2010) | 4 lines
Issue #9012: Add _time.c and _time.h to the Visual Studio project file
Add these new files, added by r82034, to the pythoncore project.
........