Issue 4474: On platforms with sizeof(wchar_t) == 4 and
sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts
each character outside the BMP to the appropriate surrogate pair.
Updated openssl support on VC6. (openssl-0.9.6g is old, cannot compile with _ssl.c)
If you use http://svn.python.org/projects/external/openssl-0.9.8g, Perl is not needed.
This scheme was ported from PCBuild.
........
Issue 5237, Allow auto-numbered replacement fields in str.format() strings.
For simple uses for str.format(), this makes the typing easier. Hopfully this
will help in the adoption of str.format().
For example:
'The {} is {}'.format('sky', 'blue')
You can mix and matcth auto-numbering and named replacement fields:
'The {} is {color}'.format('sky', color='blue')
But you can't mix and match auto-numbering and specified numbering:
'The {0} is {}'.format('sky', 'blue')
ValueError: cannot switch from manual field specification to automatic field numbering
Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
after it is has been populated and properly configured in order to prevent
window flashing.
........
Guilherme Polo [Sat, 7 Mar 2009 01:51:48 +0000 (01:51 +0000)]
Merged revisions 70218-70219 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line
Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
........
r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines
Fixed issue #4792: Prevent a segfault in _tkinter by using the
guaranteed to be safe interp argument given to the PythonCmd in place
of the Tcl interpreter taken from a PythonCmd_ClientData.
........
Change framework search order when looking for Tcl/Tk on OSX.
This is needed because the system linker looks in /Library/Framework before
it looks in /System/Library frameworks. Without this patch _tkinter will
be unusable when it is compiled on a system that has Tk 8.5 installed in
/Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
........
The note about caching of regular expression objects was incorrect ReST and
thus invisible in the compiled documentation. Fixed. Also I cleaned up the
wording.
........
Georg Brandl [Mon, 23 Feb 2009 11:09:00 +0000 (11:09 +0000)]
Blocked revisions 68395,68462,68571,68592,68597,68603-68604,68648,68665,68737,68764,68766,68773,68785,68789,68792-68793,68803,68805,68831,68840,68843,68845,68850,68853,68881,68884,68892,68925,68927,68941,68985,68998,69001,69010,69012,69018,69039 via svnmerge
........
r68395 | raymond.hettinger | 2009-01-08 07:39:04 +0100 (Do, 08 Jan 2009) | 1 line
Forward port r68394 for issue 4816.
........
r68462 | antoine.pitrou | 2009-01-09 22:40:55 +0100 (Fr, 09 Jan 2009) | 6 lines
Issue #4074: Change the criteria for doing a full garbage collection (i.e.
collecting the oldest generation) so that allocating lots of objects without
destroying them does not show quadratic performance. Based on a proposal by
Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html.
........
r68571 | armin.ronacher | 2009-01-13 12:52:23 +0100 (Di, 13 Jan 2009) | 3 lines
ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907.
........
r68592 | amaury.forgeotdarc | 2009-01-14 00:19:08 +0100 (Mi, 14 Jan 2009) | 5 lines
#4807: Remove a wrong usage of wsprintf in the winreg module
("windows sprintf", different than swprintf)
Needed for the windows CE port.
........
r68597 | benjamin.peterson | 2009-01-14 00:43:50 +0100 (Mi, 14 Jan 2009) | 1 line
fix test_xmlrpc failures #4939
........
r68603 | raymond.hettinger | 2009-01-14 01:15:21 +0100 (Mi, 14 Jan 2009) | 1 line
Minor doc tweaks.
........
r68604 | raymond.hettinger | 2009-01-14 02:15:06 +0100 (Mi, 14 Jan 2009) | 1 line
Add tests for __init__() and update() with no args.
........
r68648 | benjamin.peterson | 2009-01-17 05:28:57 +0100 (Sa, 17 Jan 2009) | 1 line
use enumerate
........
r68665 | amaury.forgeotdarc | 2009-01-17 18:11:50 +0100 (Sa, 17 Jan 2009) | 3 lines
#4930: Slightly cleaner (and faster) code in type creation:
compare slots by address, not by name.
........
r68737 | jesse.noller | 2009-01-18 22:04:36 +0100 (So, 18 Jan 2009) | 1 line
issue 4301: patch logging to add processName, remove the old _check_logger_class code
........
r68764 | benjamin.peterson | 2009-01-19 16:04:35 +0100 (Mo, 19 Jan 2009) | 3 lines
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
........
r68766 | benjamin.peterson | 2009-01-19 16:06:33 +0100 (Mo, 19 Jan 2009) | 3 lines
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
r68773 | benjamin.peterson | 2009-01-19 16:51:27 +0100 (Mo, 19 Jan 2009) | 1 line
simplify code
........
r68785 | benjamin.peterson | 2009-01-19 22:08:37 +0100 (Mo, 19 Jan 2009) | 1 line
I'm sick of these deprecations warnings in test_os
........
r68789 | raymond.hettinger | 2009-01-20 02:19:26 +0100 (Di, 20 Jan 2009) | 6 lines
Build-outs for Counter() class:
* Constructor and update() support keyword args (like their dict counterparts).
* The 'del' statement no longer raises KeyError for missing values.
* Add multiset operations: __add__, __sub__, __and__, __or__.
........
r68792 | raymond.hettinger | 2009-01-20 03:24:38 +0100 (Di, 20 Jan 2009) | 1 line
Add Counter() to __all__.
........
r68793 | raymond.hettinger | 2009-01-20 04:36:36 +0100 (Di, 20 Jan 2009) | 1 line
Make merging easier by formattng comment blocks the same in Py3.1
........
r68803 | raymond.hettinger | 2009-01-20 13:59:36 +0100 (Di, 20 Jan 2009) | 1 line
Fix typos.
........
r68805 | benjamin.peterson | 2009-01-20 15:21:16 +0100 (Di, 20 Jan 2009) | 1 line
allow unicode keyword arguments for the ** syntax #4978
........
r68831 | raymond.hettinger | 2009-01-21 00:42:54 +0100 (Mi, 21 Jan 2009) | 1 line
Beautify and cleanup the references section.
........
r68840 | andrew.kuchling | 2009-01-21 03:15:43 +0100 (Mi, 21 Jan 2009) | 1 line
Add some items
........
r68843 | raymond.hettinger | 2009-01-21 21:31:50 +0100 (Mi, 21 Jan 2009) | 1 line
Simplify explanation of multiset operations by removing restrictions on negative inputs.
........
r68845 | raymond.hettinger | 2009-01-22 00:12:51 +0100 (Do, 22 Jan 2009) | 1 line
Tighten-up the docs for Counter().
........
r68850 | raymond.hettinger | 2009-01-22 06:20:47 +0100 (Do, 22 Jan 2009) | 1 line
More doc tweaks.
........
r68853 | raymond.hettinger | 2009-01-22 10:05:43 +0100 (Do, 22 Jan 2009) | 1 line
Update comments and add an optimized path for Counter.update().
........
r68881 | andrew.kuchling | 2009-01-24 04:28:18 +0100 (Sa, 24 Jan 2009) | 1 line
Add various items
........
r68884 | kristjan.jonsson | 2009-01-24 11:52:26 +0100 (Sa, 24 Jan 2009) | 1 line
Add a test for UNC import paths, see issue 3677
........
r68892 | martin.v.loewis | 2009-01-24 16:45:18 +0100 (Sa, 24 Jan 2009) | 2 lines
Add heading for 2.7a0.
........
r68925 | benjamin.peterson | 2009-01-25 18:15:10 +0100 (So, 25 Jan 2009) | 5 lines
fix building the core with --disable-unicode
I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode
........
r68927 | hirokazu.yamamoto | 2009-01-25 18:46:48 +0100 (So, 25 Jan 2009) | 1 line
Fixed compile error on windows.
........
r68941 | raymond.hettinger | 2009-01-25 22:04:14 +0100 (So, 25 Jan 2009) | 1 line
Promote compress() from a recipe to being a regular itertool.
........
r68985 | raymond.hettinger | 2009-01-27 00:29:09 +0100 (Di, 27 Jan 2009) | 6 lines
Remove startup firewall message. That is handled by an error dialog
whenever a connection cannot be formed. Also, the Idle version number
is already in the About Idle dialog. Now, the startup is clean looking
once again.
........
r68998 | raymond.hettinger | 2009-01-27 03:36:33 +0100 (Di, 27 Jan 2009) | 3 lines
Tweak column alignment for collections docs.
........
r69001 | raymond.hettinger | 2009-01-27 03:58:49 +0100 (Di, 27 Jan 2009) | 1 line
Promote combinations_with_replacement() from a recipe to a regular itertool.
........
r69010 | raymond.hettinger | 2009-01-27 10:33:06 +0100 (Di, 27 Jan 2009) | 1 line
Add tests to verify combinatoric relationships.
........
r69012 | raymond.hettinger | 2009-01-27 10:52:35 +0100 (Di, 27 Jan 2009) | 1 line
Stronger tests for combinatoric relationships.
........
r69018 | raymond.hettinger | 2009-01-27 11:36:14 +0100 (Di, 27 Jan 2009) | 1 line
More exhaustive combinatoric checks.
........
r69039 | benjamin.peterson | 2009-01-28 00:15:48 +0100 (Mi, 28 Jan 2009) | 1 line
Georg Brandl [Mon, 23 Feb 2009 10:41:11 +0000 (10:41 +0000)]
Merged revisions 68582,68718,68720-68721,68724-68727,68859,68973,69288-69289,69293,69295,69297-69301,69409,69414,69570,69573,69576,69728-69730,69769,69776,69803-69805,69840,69896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Use assertRaises.
........
r68718 | georg.brandl | 2009-01-18 11:42:35 +0100 (So, 18 Jan 2009) | 1 line
#4976: union() and intersection() take multiple args, but talk about "the other".
........
r68720 | georg.brandl | 2009-01-18 11:45:22 +0100 (So, 18 Jan 2009) | 1 line
#4974: fix redundant mention of lists and tuples.
........
r68721 | georg.brandl | 2009-01-18 11:48:16 +0100 (So, 18 Jan 2009) | 1 line
#4914: trunc is in math.
........
r68724 | georg.brandl | 2009-01-18 14:24:10 +0100 (So, 18 Jan 2009) | 1 line
#4979: correct result range for some random functions.
........
r68725 | georg.brandl | 2009-01-18 14:47:26 +0100 (So, 18 Jan 2009) | 1 line
Copy over docs on advanced role features from Sphinx docs.
........
r69288 | georg.brandl | 2009-02-05 11:30:57 +0100 (Do, 05 Feb 2009) | 1 line
#5153: fix typo in example.
........
r69289 | georg.brandl | 2009-02-05 11:37:07 +0100 (Do, 05 Feb 2009) | 1 line
#5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path.
........
r69293 | georg.brandl | 2009-02-05 11:59:28 +0100 (Do, 05 Feb 2009) | 1 line
#5059: fix example.
........
r69295 | georg.brandl | 2009-02-05 12:23:47 +0100 (Do, 05 Feb 2009) | 1 line
PyErr_PrintEx is also in 2.x...
........
r69297 | georg.brandl | 2009-02-05 12:32:18 +0100 (Do, 05 Feb 2009) | 1 line
#5015: document PythonHome API functions.
........
r69298 | georg.brandl | 2009-02-05 12:33:21 +0100 (Do, 05 Feb 2009) | 1 line
#4827: fix callback example.
........
r69299 | georg.brandl | 2009-02-05 12:35:28 +0100 (Do, 05 Feb 2009) | 1 line
#4820: use correct module for ctypes.util.
........
r69300 | georg.brandl | 2009-02-05 12:38:23 +0100 (Do, 05 Feb 2009) | 1 line
#4563: disable alpha and roman lists, fixes wrong formatting of contributor list.
........
r69301 | georg.brandl | 2009-02-05 12:40:35 +0100 (Do, 05 Feb 2009) | 1 line
#5031: fix Thread.daemon property docs.
........
r69409 | georg.brandl | 2009-02-07 13:21:17 +0100 (Sa, 07 Feb 2009) | 1 line
#5174: fix wrong file closing in example.
........
r69414 | georg.brandl | 2009-02-07 19:49:54 +0100 (Sa, 07 Feb 2009) | 1 line
make "super only for new-style classes" a note.
........
r69570 | georg.brandl | 2009-02-13 11:40:14 +0100 (Fr, 13 Feb 2009) | 1 line
#4894: document "newurl" parameter to redirect_request().
........
r69573 | georg.brandl | 2009-02-13 11:44:17 +0100 (Fr, 13 Feb 2009) | 1 line
Eric Smith [Fri, 20 Feb 2009 14:07:55 +0000 (14:07 +0000)]
Merged revisions 69806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69806 | eric.smith | 2009-02-20 09:02:36 -0500 (Fri, 20 Feb 2009) | 1 line
Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.
........