]>
granicus.if.org Git - python/log
Benjamin Peterson [Wed, 18 Mar 2009 20:52:15 +0000 (20:52 +0000)]
fix strange errors when setting attributes on tracebacks #4034
Antoine Pitrou [Wed, 18 Mar 2009 17:10:04 +0000 (17:10 +0000)]
Attempt to fix Solaris buildbot failure on test_locale
Mark Dickinson [Wed, 18 Mar 2009 16:07:26 +0000 (16:07 +0000)]
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.
Thanks Victor Stinner for the patch.
(backport of r70452 from py3k to trunk)
Hirokazu Yamamoto [Wed, 18 Mar 2009 10:17:26 +0000 (10:17 +0000)]
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.
Mark Dickinson [Wed, 18 Mar 2009 08:22:51 +0000 (08:22 +0000)]
Fix bug in _insert_thousands_sep: too much zero padding could be
added for 'n' formats with non-repeating thousands-separator.
Bob Ippolito [Tue, 17 Mar 2009 23:19:00 +0000 (23:19 +0000)]
merge json library with simplejson 2.0.9 (issue 4136)
Mark Dickinson [Tue, 17 Mar 2009 23:03:46 +0000 (23:03 +0000)]
Issue #2110: Add support for thousands separator and 'n' format specifier
to Decimal __format__ method.
Benjamin Peterson [Tue, 17 Mar 2009 20:29:51 +0000 (20:29 +0000)]
I thought this was begging for an example
Mark Dickinson [Tue, 17 Mar 2009 18:01:03 +0000 (18:01 +0000)]
Fix bug in Decimal __format__ method that swapped left and right
alignment.
Georg Brandl [Mon, 16 Mar 2009 19:42:03 +0000 (19:42 +0000)]
Add token markup.
Hirokazu Yamamoto [Sun, 15 Mar 2009 22:43:14 +0000 (22:43 +0000)]
Added skip for old MSVC.
Georg Brandl [Sun, 15 Mar 2009 22:11:07 +0000 (22:11 +0000)]
Move the previously local import of threading to module level.
This is cleaner and avoids lockups in obscure cases where a Queue
is instantiated while the import lock is already held by another thread.
OKed by Tim Peters.
Georg Brandl [Sun, 15 Mar 2009 21:59:37 +0000 (21:59 +0000)]
Fix markup in re docs and give a mail address in regex howto, so that
the recommendation to send suggestions to the author can be followed.
Georg Brandl [Sun, 15 Mar 2009 21:53:56 +0000 (21:53 +0000)]
#5469: add with statement to list of name-binding constructs.
Georg Brandl [Sun, 15 Mar 2009 21:51:48 +0000 (21:51 +0000)]
#5276: document IDLESTARTUP and .Idle.py.
Georg Brandl [Sun, 15 Mar 2009 21:47:42 +0000 (21:47 +0000)]
#5478: fix copy-paste oversight in function signature.
Georg Brandl [Sun, 15 Mar 2009 21:46:00 +0000 (21:46 +0000)]
#5488: add missing struct member.
Georg Brandl [Sun, 15 Mar 2009 21:44:43 +0000 (21:44 +0000)]
#5491: clarify nested() semantics.
Georg Brandl [Sun, 15 Mar 2009 21:43:38 +0000 (21:43 +0000)]
Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
Georg Brandl [Sun, 15 Mar 2009 21:37:16 +0000 (21:37 +0000)]
#5493: clarify __nonzero__ docs.
Georg Brandl [Sun, 15 Mar 2009 21:32:06 +0000 (21:32 +0000)]
#5496: fix docstring of lookup().
Benjamin Peterson [Sun, 15 Mar 2009 14:38:55 +0000 (14:38 +0000)]
fix tuple.index() error message #5495
Nick Coghlan [Sun, 15 Mar 2009 03:24:46 +0000 (03:24 +0000)]
Make marshalling errors a little more informative as to what went wrong
Eric Smith [Sat, 14 Mar 2009 14:37:38 +0000 (14:37 +0000)]
Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k.
Eric Smith [Sat, 14 Mar 2009 11:57:26 +0000 (11:57 +0000)]
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
Will port to 3.1.
Antoine Pitrou [Sat, 14 Mar 2009 00:07:21 +0000 (00:07 +0000)]
Issue #1222: locale.format() bug when the thousands separator is a space character.
Georg Brandl [Fri, 13 Mar 2009 19:03:58 +0000 (19:03 +0000)]
#5486: typos.
Raymond Hettinger [Thu, 12 Mar 2009 00:31:58 +0000 (00:31 +0000)]
Issue 5477: Fix buglet in the itertools documentation.
Raymond Hettinger [Thu, 12 Mar 2009 00:25:03 +0000 (00:25 +0000)]
Add reference to solution for a commonly asked question.
Tarek Ziadé [Wed, 11 Mar 2009 12:48:04 +0000 (12:48 +0000)]
Issue #5472: Fixed distutils.test_util tear down
Brett Cannon [Wed, 11 Mar 2009 04:51:06 +0000 (04:51 +0000)]
Require implementations for warnings.showwarning() support the 'line' argument.
Was a DeprecationWarning for not supporting it since Python 2.6.
Closes issue #3652.
Raymond Hettinger [Tue, 10 Mar 2009 13:04:30 +0000 (13:04 +0000)]
Fix typo.
Raymond Hettinger [Tue, 10 Mar 2009 12:50:59 +0000 (12:50 +0000)]
For collections.deque() objects, expose the maxlen parameter as a read-only attribute.
Raymond Hettinger [Tue, 10 Mar 2009 09:31:48 +0000 (09:31 +0000)]
Small optimization for corner case where maxlen==0.
Raymond Hettinger [Tue, 10 Mar 2009 08:16:05 +0000 (08:16 +0000)]
Update the decimal FAQ for the from_float() classmethod and improve the recipe for remove_exponent() to make it cut and pasteable.
Raymond Hettinger [Tue, 10 Mar 2009 04:49:21 +0000 (04:49 +0000)]
Add a version tag to the decimal module.
Raymond Hettinger [Tue, 10 Mar 2009 04:40:24 +0000 (04:40 +0000)]
Clarify the meaning of normal and subnormal.
Raymond Hettinger [Tue, 10 Mar 2009 01:07:30 +0000 (01:07 +0000)]
Update url for the spec.
Raymond Hettinger [Tue, 10 Mar 2009 00:06:05 +0000 (00:06 +0000)]
Fix markup.
Benjamin Peterson [Mon, 9 Mar 2009 20:38:56 +0000 (20:38 +0000)]
gzip and bz2 are context managers
Georg Brandl [Mon, 9 Mar 2009 16:35:48 +0000 (16:35 +0000)]
Add missing space.
Georg Brandl [Mon, 9 Mar 2009 14:25:07 +0000 (14:25 +0000)]
#5458: add a note when we started to raise RuntimeErrors.
Raymond Hettinger [Mon, 9 Mar 2009 12:56:23 +0000 (12:56 +0000)]
Add cross-reference to the collections docs.
Raymond Hettinger [Mon, 9 Mar 2009 11:57:29 +0000 (11:57 +0000)]
Add consume() recipe to itertools docs.
Raymond Hettinger [Mon, 9 Mar 2009 11:31:39 +0000 (11:31 +0000)]
Issue 5443: Fix typo.
Martin v. Löwis [Sun, 8 Mar 2009 14:06:19 +0000 (14:06 +0000)]
Add Chris Withers.
Benjamin Peterson [Sun, 8 Mar 2009 00:21:17 +0000 (00:21 +0000)]
fix funky indentation
Guilherme Polo [Sat, 7 Mar 2009 02:14:38 +0000 (02:14 +0000)]
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:47:49 +0000 (01:47 +0000)]
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.
Guilherme Polo [Sat, 7 Mar 2009 01:19:12 +0000 (01:19 +0000)]
Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
Tarek Ziadé [Sat, 7 Mar 2009 00:32:45 +0000 (00:32 +0000)]
Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler
Jesus Cea [Thu, 5 Mar 2009 19:37:37 +0000 (19:37 +0000)]
Minor bsddb documentation glitch
Hirokazu Yamamoto [Thu, 5 Mar 2009 14:52:44 +0000 (14:52 +0000)]
mmap.resize for anonymous map is not working yet, so changed to real file mapping...
Hirokazu Yamamoto [Thu, 5 Mar 2009 14:21:12 +0000 (14:21 +0000)]
Issue #5385: Fixed mmap crash after resize failure on windows.
Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
because CreateFileMapping returns NULL when error occurs.
Hirokazu Yamamoto [Thu, 5 Mar 2009 09:34:14 +0000 (09:34 +0000)]
Fixed memory leak on failure.
Benjamin Peterson [Thu, 5 Mar 2009 00:17:57 +0000 (00:17 +0000)]
add example
Ronald Oussoren [Wed, 4 Mar 2009 22:49:36 +0000 (22:49 +0000)]
Ronald Oussoren [Wed, 4 Mar 2009 21:35:05 +0000 (21:35 +0000)]
Fixes issues 3883 and 5194
Ronald Oussoren [Wed, 4 Mar 2009 21:30:12 +0000 (21:30 +0000)]
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)
Facundo Batista [Wed, 4 Mar 2009 21:18:17 +0000 (21:18 +0000)]
Fixed a typo.
Ronald Oussoren [Wed, 4 Mar 2009 21:12:17 +0000 (21:12 +0000)]
Fix for issue 5226.
Ronald Oussoren [Wed, 4 Mar 2009 21:07:19 +0000 (21:07 +0000)]
Fix issue 5224.
Georg Brandl [Wed, 4 Mar 2009 18:24:41 +0000 (18:24 +0000)]
Remove obsolete stuff from string module docs.
Brett Cannon [Wed, 4 Mar 2009 01:00:53 +0000 (01:00 +0000)]
Fix some more bugs caused by the backport from 3.x for importlib.
Do a more exact copy of the final 3.x code to resolve bugs and add
appropriate tests.
Raymond Hettinger [Tue, 3 Mar 2009 22:59:25 +0000 (22:59 +0000)]
Backport 70140, 70141, 70143, and 70144.
Adds tests, switches from list to deque, fixes __reduce__
which was unnecessarily copying __keys.
Benjamin Peterson [Tue, 3 Mar 2009 22:51:57 +0000 (22:51 +0000)]
making the writing more formal
Hirokazu Yamamoto [Tue, 3 Mar 2009 22:18:14 +0000 (22:18 +0000)]
Issue #5179: Fixed subprocess handle leak on failure on windows.
Hirokazu Yamamoto [Tue, 3 Mar 2009 22:05:57 +0000 (22:05 +0000)]
Fixed memory leak.
Raymond Hettinger [Tue, 3 Mar 2009 21:13:51 +0000 (21:13 +0000)]
Minor simplification.
Raymond Hettinger [Tue, 3 Mar 2009 20:53:51 +0000 (20:53 +0000)]
Make the underlying data structure more private.
Raymond Hettinger [Tue, 3 Mar 2009 07:12:09 +0000 (07:12 +0000)]
Beef-up tests.
Raymond Hettinger [Tue, 3 Mar 2009 05:11:56 +0000 (05:11 +0000)]
Fix markup.
Raymond Hettinger [Tue, 3 Mar 2009 05:00:37 +0000 (05:00 +0000)]
Backport 70111: Let configparser use ordered dicts by default.
Raymond Hettinger [Tue, 3 Mar 2009 04:51:24 +0000 (04:51 +0000)]
Backport 70106: Add OrderedDict support to collections.namedtuple().
Raymond Hettinger [Tue, 3 Mar 2009 04:45:34 +0000 (04:45 +0000)]
Backport PEP 372: OrderedDict()
Kristján Valur Jónsson [Tue, 3 Mar 2009 03:20:42 +0000 (03:20 +0000)]
Fix SHA_new and MD5_new, that would crash if not given initial data
Benjamin Peterson [Mon, 2 Mar 2009 22:41:42 +0000 (22:41 +0000)]
give httplib.IncompleteRead a more sane repr #4308
Tarek Ziadé [Mon, 2 Mar 2009 05:38:44 +0000 (05:38 +0000)]
removing the force-optimized option as discussed in #
1533164
Gregory P. Smith [Mon, 2 Mar 2009 05:13:57 +0000 (05:13 +0000)]
Adds an optional flags argument to re.split, re.sub and re.subn to be
consistent with the other re module functions.
Gregory P. Smith [Mon, 2 Mar 2009 04:53:24 +0000 (04:53 +0000)]
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.
Benjamin Peterson [Mon, 2 Mar 2009 03:35:12 +0000 (03:35 +0000)]
fix a silly problem of caching gone wrong #5401
Raymond Hettinger [Sun, 1 Mar 2009 02:04:32 +0000 (02:04 +0000)]
Fix docs for ConfigParser.
Georg Brandl [Sat, 28 Feb 2009 21:33:10 +0000 (21:33 +0000)]
Fix 3k-style metaclass syntax in docstrings.
Jeffrey Yasskin [Sat, 28 Feb 2009 19:03:21 +0000 (19:03 +0000)]
Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing
a POP_TOP on each conditional and sometimes allows the peephole optimizer to
skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
Mark Dickinson [Sat, 28 Feb 2009 15:50:40 +0000 (15:50 +0000)]
Issue #5393: typo in cmath.cos and cmath.cosh docstring
Hirokazu Yamamoto [Sat, 28 Feb 2009 15:24:00 +0000 (15:24 +0000)]
Binary flag is needed on windows.
Hirokazu Yamamoto [Sat, 28 Feb 2009 12:13:07 +0000 (12:13 +0000)]
Issue #
1733986 : Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)
Hirokazu Yamamoto [Sat, 28 Feb 2009 10:31:54 +0000 (10:31 +0000)]
Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
overrun.
Tarek Ziadé [Sat, 28 Feb 2009 10:08:02 +0000 (10:08 +0000)]
Issues #
1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command
Georg Brandl [Fri, 27 Feb 2009 16:59:03 +0000 (16:59 +0000)]
#5365: add quick look conversion table for different time representations.
Georg Brandl [Fri, 27 Feb 2009 16:52:55 +0000 (16:52 +0000)]
#5344: fix punctuation.
Georg Brandl [Fri, 27 Feb 2009 16:39:26 +0000 (16:39 +0000)]
#5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code.
Georg Brandl [Fri, 27 Feb 2009 16:23:18 +0000 (16:23 +0000)]
#5361: fix typo.
Tarek Ziadé [Fri, 27 Feb 2009 12:53:34 +0000 (12:53 +0000)]
Issue #5052: make Distutils compatible with 2.3 again.
Raymond Hettinger [Fri, 27 Feb 2009 08:09:47 +0000 (08:09 +0000)]
Give mapping views a usable repr.
Brett Cannon [Fri, 27 Feb 2009 03:38:28 +0000 (03:38 +0000)]
Fix a bug where code was trying to index an int. Left over from the situation
from using str.rpartition to str.rindex.
Closes Issue5213.
Tarek Ziadé [Fri, 27 Feb 2009 02:14:35 +0000 (02:14 +0000)]
more info on long_description
Tarek Ziadé [Thu, 26 Feb 2009 23:44:00 +0000 (23:44 +0000)]
removed unused import
Andrew M. Kuchling [Thu, 26 Feb 2009 22:34:30 +0000 (22:34 +0000)]
The curses panel library is now supported
Benjamin Peterson [Thu, 26 Feb 2009 19:07:18 +0000 (19:07 +0000)]
remove deprecated symtable.Symbol methods