Benjamin Peterson
009b89d22a
genexps have linenos
2009-11-20 01:16:58 +00:00
Benjamin Peterson
d16d0abf0b
provide line number for lambdas
2009-11-20 01:15:53 +00:00
Benjamin Peterson
48f0a8df19
spelling
2009-11-19 23:19:29 +00:00
Benjamin Peterson
89b1a5ce18
add news notes for r76416
2009-11-19 22:58:01 +00:00
Benjamin Peterson
99a5023c80
improve several corner cases related with argument names in parenthesis
...
- Fix #7362 : give a good error message for parenthesized arguments with
defaults.
- Add a py3k warning for any parenthesized arguments since those are not allowed
in Py3. This warning is not given in tuple unpacking, since that incurs the
tuple unpacking warning.
2009-11-19 22:54:57 +00:00
Mark Dickinson
b678de8ba6
Misc/NEWS entries for issue 7117.
2009-11-19 18:41:49 +00:00
Ronald Oussoren
3934619da7
Don't use the '==' operator with test, that's an unportable bash-ism.
...
(Issue 7179)
2009-11-19 17:42:51 +00:00
Ronald Oussoren
315cd0c739
Fix for issue #7085
...
On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
thread, the constructor function in that framework will cause an SIGABRT when
it is called on any other thread.
Because a number of extension link (indirectly) to CoreFoundation and the
Python core itself didn't the interpreter crashed when importing some
extensions, such as _locale, on a secondary thread.
This fix ensures that Python is linked to CoreFoundation on OSX, which results
in the CoreFoundation constructor being called when Python is loaded. This
does not require code changes.
2009-11-19 16:25:21 +00:00
Tarek Ziadé
39de1fc5c8
dragfullwindows can have value 2
2009-11-19 05:33:16 +00:00
Benjamin Peterson
dc3c239b1e
#5037 proxy __unicode__ correctly
2009-11-19 03:00:02 +00:00
Raymond Hettinger
9eac119ba8
Fix docstrings for itertools combinatoric functions.
2009-11-19 01:22:04 +00:00
Raymond Hettinger
79628d311f
Issue 7263: Fix set.intersection() docstring.
2009-11-18 20:28:22 +00:00
Lars Gustäbel
355538e5f5
Issue #7341 : Close the internal file object in the TarFile
...
constructor in case of an error.
2009-11-18 20:24:54 +00:00
Antoine Pitrou
c029942ea0
Mention Giampolo R's new FTP TLS support in the what's new file
2009-11-18 20:20:46 +00:00
Mark Dickinson
845688d0c6
Enable short float repr!
2009-11-18 20:14:57 +00:00
Georg Brandl
1136ff541e
Fix markup.
2009-11-18 20:05:15 +00:00
Georg Brandl
8c18a47e77
upcase Python
2009-11-18 19:39:14 +00:00
Mark Dickinson
bd15a06fd3
Issue #7117 , continued: Change round implementation to use the correctly-rounded
...
string <-> float conversions; this makes sure that the result of the round
operation is correctly rounded, and hence displays nicely using the new float
repr.
2009-11-18 19:33:35 +00:00
Georg Brandl
0516f81386
Make separate section for deprecations in 2.7 whatsnew.
2009-11-18 18:52:35 +00:00
Georg Brandl
a17f60242f
Make separate section for deprecations in 2.6 whatsnew.
2009-11-18 18:52:23 +00:00
Nick Coghlan
815521fca0
Correctly escape arbitrary error message text in the runpy unit tests
2009-11-18 11:27:53 +00:00
Tarek Ziadé
acccafcf70
#7293 : distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
2009-11-18 08:46:56 +00:00
Benjamin Peterson
90ed611f6d
a better callable replacement
2009-11-17 21:24:54 +00:00
Philip Jenvey
fab8be2f99
#1757126 : fix typo with the cyrillic_asian alias
2009-11-17 02:42:26 +00:00
Mark Dickinson
3d6790e49f
Silence another MSVC warning about unary minus.
2009-11-16 19:17:16 +00:00
Mark Dickinson
b2c3ca1e38
Silence MSVC warning about unary minus applied to unsigned type.
2009-11-16 17:33:25 +00:00
Georg Brandl
d3571c8d59
#7302 : fix link.
2009-11-16 16:44:05 +00:00
Nick Coghlan
4b953bac94
Allow for backslashes in file paths passed to the regex engine
2009-11-16 03:57:32 +00:00
Nick Coghlan
4976e3287a
Account for another cache when hunting ref leaks
2009-11-16 03:55:51 +00:00
Nick Coghlan
11db64e5fd
Issue #7328 : don't corrupt sys.path when running pydoc with the -m switch
2009-11-15 22:36:47 +00:00
Antoine Pitrou
ccd5e02d2b
Issue #2054 : ftplib now provides an FTP_TLS class to do secure FTP using
...
TLS or SSL. Patch by Giampaolo Rodola'.
2009-11-15 17:22:09 +00:00
Mark Dickinson
82864d1ab1
Issue #7228 : Add '%lld' and '%llu' support to PyFormat_FromString,
...
PyFormat_FromStringV and PyErr_Format.
2009-11-15 16:18:58 +00:00
Antoine Pitrou
d5b34d4597
Issue #4969 : The mimetypes module now reads the MIME database from
...
the registry under Windows. Patch by Gabriel Genellina.
2009-11-15 14:10:48 +00:00
Mark Dickinson
a548deeb29
Issue #5792 : Extend short float repr support to x86 platforms using suncc or icc.
...
Many thanks Stefan Krah for help and OpenSolaris testing.
2009-11-15 13:12:43 +00:00
Mark Dickinson
009ae861f2
Avoid signed overflow in some xrange calculations, and extend
...
xrange tests to cover some special cases that caused problems
in py3k. This is a partial backport of r76292-76293 (see
issue #7298.)
2009-11-15 12:31:13 +00:00
Senthil Kumaran
20eb4f0782
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
...
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
2009-11-15 08:36:20 +00:00
Nick Coghlan
49868cb686
Issue #6816 : expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
2009-11-15 07:30:34 +00:00
Senthil Kumaran
51200277b2
Addition of some details in the code comments.
2009-11-15 06:10:30 +00:00
R. David Murray
4653b8c2de
Remove 'g' from regrtest getopt argument string, since there's no
...
handler for it.
2009-11-15 00:07:00 +00:00
R. David Murray
da82689daa
Issue 7324: add a sanity check to regrtest argument parsing to
...
catch the case of an option with no handler.
2009-11-15 00:04:32 +00:00
R. David Murray
ca020bb7a7
Turn the bsddb replication startup timeout test into a
...
warning, to improve buildbot stability.
2009-11-14 17:43:16 +00:00
R. David Murray
7f7eea651f
Issue #7312 (new feature): Add a -F flag to run the selected tests in
...
a loop until a test fails. Can be combined with -j. Patch by Antoine
Pitrou.
2009-11-14 15:18:22 +00:00
Georg Brandl
b6fb8dcbce
Fix terminology.
2009-11-14 11:50:51 +00:00
Benjamin Peterson
cde5115f26
use Sphinx 0.6.3
2009-11-13 23:11:54 +00:00
Benjamin Peterson
2fb77bd6f5
revert r76243; I was right, actually :)
2009-11-13 22:56:00 +00:00
Antoine Pitrou
c562ca4625
Issue #7318 : multiprocessing now uses a timeout when it fails to establish
...
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for
local connections.
2009-11-13 22:31:18 +00:00
Benjamin Peterson
c4a346cc55
never mind about eval mode in this case
2009-11-13 22:17:17 +00:00
Benjamin Peterson
ccd640525b
this main is much more useful
2009-11-12 23:42:23 +00:00
Benjamin Peterson
e36199b49d
fix several compile() issues by translating newlines in the tokenizer
2009-11-12 23:39:44 +00:00
Ezio Melotti
c4cd6d3765
fix highlight in the datetime example
2009-11-12 09:10:02 +00:00