]> granicus.if.org Git - python/log
python
16 years agoAdd future_builtins.ascii().
Georg Brandl [Wed, 11 Jun 2008 18:55:38 +0000 (18:55 +0000)]
Add future_builtins.ascii().

16 years agoSmaller doc fixes.
Thomas Heller [Wed, 11 Jun 2008 18:40:51 +0000 (18:40 +0000)]
Smaller doc fixes.

16 years agoMore doc fixes.
Thomas Heller [Wed, 11 Jun 2008 18:10:43 +0000 (18:10 +0000)]
More doc fixes.

16 years agoadd old names back into __all__
Benjamin Peterson [Wed, 11 Jun 2008 18:02:31 +0000 (18:02 +0000)]
add old names back into __all__

16 years agoCorrect an incorrect comment about our #include of stddef.h.
Gregory P. Smith [Wed, 11 Jun 2008 18:00:52 +0000 (18:00 +0000)]
Correct an incorrect comment about our #include of stddef.h.
(see Doug Evans' comment on python-dev 2008-06-10)

16 years agoMarkup fixes, spelling corrections, and better wordings. Hopefully.
Thomas Heller [Wed, 11 Jun 2008 17:58:19 +0000 (17:58 +0000)]
Markup fixes, spelling corrections, and better wordings. Hopefully.

16 years agoClarify what ":errorhandler" refers to.
Georg Brandl [Wed, 11 Jun 2008 17:57:44 +0000 (17:57 +0000)]
Clarify what ":errorhandler" refers to.

16 years agoFix typos.
Georg Brandl [Wed, 11 Jun 2008 17:53:38 +0000 (17:53 +0000)]
Fix typos.

16 years agoadd aliases to threading module
Benjamin Peterson [Wed, 11 Jun 2008 17:50:00 +0000 (17:50 +0000)]
add aliases to threading module

16 years agogive the threading API PEP 8 names
Benjamin Peterson [Wed, 11 Jun 2008 17:27:50 +0000 (17:27 +0000)]
give the threading API PEP 8 names

16 years agofix Windows building for multiprocessing
Benjamin Peterson [Wed, 11 Jun 2008 16:50:57 +0000 (16:50 +0000)]
fix Windows building for multiprocessing

16 years agoAdd test for heapq using both __lt__ and __le__.
Raymond Hettinger [Wed, 11 Jun 2008 13:14:50 +0000 (13:14 +0000)]
Add test for heapq using both __lt__ and __le__.

16 years agoNote PEP 371 section
Andrew M. Kuchling [Wed, 11 Jun 2008 12:53:14 +0000 (12:53 +0000)]
Note PEP 371 section

16 years agoOptimize previous checkin for heapq.
Raymond Hettinger [Wed, 11 Jun 2008 12:39:09 +0000 (12:39 +0000)]
Optimize previous checkin for heapq.

16 years agofix import of multiprocessing by juggling imports
Benjamin Peterson [Wed, 11 Jun 2008 12:26:31 +0000 (12:26 +0000)]
fix import of multiprocessing by juggling imports

16 years agoIssue 3051: Let heapq work with either __lt__ or __le__.
Raymond Hettinger [Wed, 11 Jun 2008 12:06:49 +0000 (12:06 +0000)]
Issue 3051:  Let heapq work with either __lt__ or __le__.

16 years agoMulti-arg form for set.difference() and set.difference_update().
Raymond Hettinger [Wed, 11 Jun 2008 10:30:54 +0000 (10:30 +0000)]
Multi-arg form for set.difference() and set.difference_update().

16 years agoMerge in release25-maint r60793:
Gregory P. Smith [Wed, 11 Jun 2008 07:41:16 +0000 (07:41 +0000)]
Merge in release25-maint r60793:

 Added checks for integer overflows, contributed by Google. Some are
 only available if asserts are left in the code, in cases where they
 can't be triggered from Python code.

16 years agoFix markup.
Thomas Heller [Wed, 11 Jun 2008 07:10:43 +0000 (07:10 +0000)]
Fix markup.
Document the new 'offset' parameter for the 'ctypes.byref' function.

16 years agoswap stringobject.h and bytesobject.h contents to make sense. PyString in
Gregory P. Smith [Wed, 11 Jun 2008 03:40:10 +0000 (03:40 +0000)]
swap stringobject.h and bytesobject.h contents to make sense.  PyString in
stringobject and PyBytes defines in bytesobject.

16 years agoadd the multiprocessing package to fulfill PEP 371
Benjamin Peterson [Wed, 11 Jun 2008 02:40:25 +0000 (02:40 +0000)]
add the multiprocessing package to fulfill PEP 371

16 years agoconvert test_struct to a unittest thanks to Giampaolo Rodola
Benjamin Peterson [Wed, 11 Jun 2008 01:31:28 +0000 (01:31 +0000)]
convert test_struct to a unittest thanks to Giampaolo Rodola
I had to disable one test because it was functioning incorrectly, see #1530559
I also removed the debugging prints

16 years agoHandle the case with zero arguments.
Raymond Hettinger [Wed, 11 Jun 2008 00:44:47 +0000 (00:44 +0000)]
Handle the case with zero arguments.

16 years agoUpdate numbers doc for the Integral simplification.
Raymond Hettinger [Wed, 11 Jun 2008 00:28:51 +0000 (00:28 +0000)]
Update numbers doc for the Integral simplification.

16 years agoMini-PEP: Simplifying numbers.py
Raymond Hettinger [Wed, 11 Jun 2008 00:25:29 +0000 (00:25 +0000)]
Mini-PEP: Simplifying numbers.py
* Convert binary methods in Integral to mixin methods
* Remove three-arg __pow__ as a required method
* Make __int__ the root method instead of __long__.

16 years agobackport of 64096
Benjamin Peterson [Tue, 10 Jun 2008 22:39:25 +0000 (22:39 +0000)]
backport of 64096

16 years agoCorrect test_pydoc for win32 platforms, to account for normalized URLs:
Amaury Forgeot d'Arc [Tue, 10 Jun 2008 21:37:15 +0000 (21:37 +0000)]
Correct test_pydoc for win32 platforms, to account for normalized URLs:
C:\temp => file:///C|temp/

16 years agoRename bytesobject.c back to stringobject.c to keep with the PyString theme.
Gregory P. Smith [Tue, 10 Jun 2008 21:23:22 +0000 (21:23 +0000)]
Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
Part of reverting most of r63675 per the mailing list discussion.

16 years agoDocumented the new AST constructor.
Armin Ronacher [Tue, 10 Jun 2008 20:52:19 +0000 (20:52 +0000)]
Documented the new AST constructor.

16 years agoFix a formatting error in the ast documentation.
Armin Ronacher [Tue, 10 Jun 2008 20:37:02 +0000 (20:37 +0000)]
Fix a formatting error in the ast documentation.

16 years agoMore reverting of r63675 per the mailing list discussions. This restores
Gregory P. Smith [Tue, 10 Jun 2008 17:42:36 +0000 (17:42 +0000)]
More reverting of r63675 per the mailing list discussions.  This restores
occurances of PyBytes_ in the code to their original PyString_ names.  The
bytesobject.c file will be renamed back to stringobject.c in a future checkin.

16 years agoFixed test to reflect new filedispatcher semantics, as well as two
Josiah Carlson [Tue, 10 Jun 2008 15:58:19 +0000 (15:58 +0000)]
Fixed test to reflect new filedispatcher semantics, as well as two
NameErrors pointed out by Giampaolo.

16 years agoNEWS entry for:
Thomas Heller [Tue, 10 Jun 2008 14:07:12 +0000 (14:07 +0000)]
NEWS entry for:
Add an optional 'offset' parameter to byref, defaulting to zero.

16 years agoAdd an optional 'offset' parameter to byref, defaultingto zero.
Thomas Heller [Tue, 10 Jun 2008 14:02:46 +0000 (14:02 +0000)]
Add an optional 'offset' parameter to byref, defaultingto zero.

16 years agomore markup fix.
Georg Brandl [Tue, 10 Jun 2008 13:53:24 +0000 (13:53 +0000)]
more markup fix.

16 years agofix markup
Benjamin Peterson [Tue, 10 Jun 2008 13:37:13 +0000 (13:37 +0000)]
fix markup

16 years ago#2536: fix itertools.permutations and itertools.combinations docstrings.
Georg Brandl [Tue, 10 Jun 2008 12:46:39 +0000 (12:46 +0000)]
#2536: fix itertools.permutations and itertools.combinations docstrings.

16 years agoIssue 3048: Fixed sys.getsizeof for unicode objects.
Robert Schuppenies [Tue, 10 Jun 2008 10:10:31 +0000 (10:10 +0000)]
Issue 3048: Fixed sys.getsizeof for unicode objects.

16 years agoAdd Arnaud for his efforts on multi-arg set operations.
Raymond Hettinger [Tue, 10 Jun 2008 07:57:15 +0000 (07:57 +0000)]
Add Arnaud for his efforts on multi-arg set operations.

16 years agoAdd the "ast" module, containing helpers to ease use of the "_ast" classes.
Georg Brandl [Tue, 10 Jun 2008 07:45:28 +0000 (07:45 +0000)]
Add the "ast" module, containing helpers to ease use of the "_ast" classes.

16 years agoAdd Gregor Lingl.
Martin v. Löwis [Tue, 10 Jun 2008 05:03:35 +0000 (05:03 +0000)]
Add Gregor Lingl.

16 years agoApplying updated patch from Issue 1736190, which addresses partial
Josiah Carlson [Tue, 10 Jun 2008 05:00:08 +0000 (05:00 +0000)]
Applying updated patch from Issue 1736190, which addresses partial
issues in: 909005 and 17361001, as well as completely as possible issues
539444, 760475, 777588, 889153, 953599, 10255251063924, and 658749.
This patch also includes doc and test updates as necessary.

16 years agoAdded better pickling support to xrange objects.
Alexandre Vassalotti [Tue, 10 Jun 2008 04:01:23 +0000 (04:01 +0000)]
Added better pickling support to xrange objects.
Cleaned up the unit test.

16 years agoIssue 2582: Fix pickling of xrange objects.
Alexandre Vassalotti [Tue, 10 Jun 2008 03:34:53 +0000 (03:34 +0000)]
Issue 2582: Fix pickling of xrange objects.

16 years agoLet set.intersection() and set.intersection_update() take multiple input arguments.
Raymond Hettinger [Mon, 9 Jun 2008 13:07:27 +0000 (13:07 +0000)]
Let set.intersection() and set.intersection_update() take multiple input arguments.

16 years agoUnhappy buildbots. Revert 64052. Long doubles have unexpected effects on some builds.
Raymond Hettinger [Mon, 9 Jun 2008 11:24:47 +0000 (11:24 +0000)]
Unhappy buildbots.  Revert 64052.  Long doubles have unexpected effects on some builds.

16 years agoAddress double-rounding scenarios by setting all variables to long doubles.
Raymond Hettinger [Mon, 9 Jun 2008 09:29:17 +0000 (09:29 +0000)]
Address double-rounding scenarios by setting all variables to long doubles.

16 years agoLet set.union() and set.update() accept multiple inputs.
Raymond Hettinger [Mon, 9 Jun 2008 08:33:37 +0000 (08:33 +0000)]
Let set.union() and set.update() accept multiple inputs.

16 years agoIssue #2138: Add math.factorial().
Raymond Hettinger [Mon, 9 Jun 2008 06:54:45 +0000 (06:54 +0000)]
Issue #2138: Add math.factorial().

16 years agoThis reverts r63675 based on the discussion in this thread:
Gregory P. Smith [Mon, 9 Jun 2008 04:58:54 +0000 (04:58 +0000)]
This reverts r63675 based on the discussion in this thread:

 http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.

16 years agoIssue3065: Fixed pickling of named tuples. Added tests.
Raymond Hettinger [Mon, 9 Jun 2008 01:28:30 +0000 (01:28 +0000)]
Issue3065:  Fixed pickling of named tuples.  Added tests.

16 years agowarn about parameter tuple unpacking
Benjamin Peterson [Sun, 8 Jun 2008 23:00:00 +0000 (23:00 +0000)]
warn about parameter tuple unpacking

16 years agoWarn about assigning to Py3k keywords (True and False)
Benjamin Peterson [Sun, 8 Jun 2008 22:52:37 +0000 (22:52 +0000)]
Warn about assigning to Py3k keywords (True and False)

16 years agoadd an ast_warn helper function to make adding those Py3k warnings easier
Benjamin Peterson [Sun, 8 Jun 2008 15:45:23 +0000 (15:45 +0000)]
add an ast_warn helper function to make adding those Py3k warnings easier

16 years agoArgh, I read it wrong. Reverted 64036 and added a clarifying remark.
Georg Brandl [Sun, 8 Jun 2008 08:59:38 +0000 (08:59 +0000)]
Argh, I read it wrong. Reverted 64036 and added a clarifying remark.

16 years ago#3028: tokenize passes the physical line.
Georg Brandl [Sun, 8 Jun 2008 08:54:40 +0000 (08:54 +0000)]
#3028: tokenize passes the physical line.

16 years agochange Py3k backquote warning to a SyntaxWarning and add a test
Benjamin Peterson [Sun, 8 Jun 2008 02:05:33 +0000 (02:05 +0000)]
change Py3k backquote warning to a SyntaxWarning and add a test

16 years agocapitalization nit
Benjamin Peterson [Sat, 7 Jun 2008 20:44:48 +0000 (20:44 +0000)]
capitalization nit

16 years agoDocument the "st" API, to avoid confusion with the "new" AST.
Georg Brandl [Sat, 7 Jun 2008 18:17:37 +0000 (18:17 +0000)]
Document the "st" API, to avoid confusion with the "new" AST.
Add a note about using the new AST module.

16 years agoX-ref to numbers module.
Georg Brandl [Sat, 7 Jun 2008 18:16:12 +0000 (18:16 +0000)]
X-ref to numbers module.

16 years agoBackport docs for abc module to 2.6.
Georg Brandl [Sat, 7 Jun 2008 17:11:00 +0000 (17:11 +0000)]
Backport docs for abc module to 2.6.

16 years ago#3057: Fix the MutableMapping ABC to use the 2.6 dict interface.
Georg Brandl [Sat, 7 Jun 2008 17:03:28 +0000 (17:03 +0000)]
#3057: Fix the MutableMapping ABC to use the 2.6 dict interface.

16 years agoRegister IterableUserDict as a MutableMapping.
Georg Brandl [Sat, 7 Jun 2008 16:16:12 +0000 (16:16 +0000)]
Register IterableUserDict as a MutableMapping.

16 years agoRevert unwanted changes.
Georg Brandl [Sat, 7 Jun 2008 16:04:01 +0000 (16:04 +0000)]
Revert unwanted changes.

16 years agoFactor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
Georg Brandl [Sat, 7 Jun 2008 15:59:10 +0000 (15:59 +0000)]
Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()
to ease standalone use of the algorithm.

16 years agoFinished bug #2451. Fixed the retrying part to make it
Facundo Batista [Sat, 7 Jun 2008 13:36:36 +0000 (13:36 +0000)]
Finished bug #2451.  Fixed the retrying part to make it
more robust.

16 years agoRemove locking part of new buffer protocol.
Travis E. Oliphant [Fri, 6 Jun 2008 22:39:47 +0000 (22:39 +0000)]
Remove locking part of new buffer protocol.

16 years agoAdd long double check support to configure test.
Travis E. Oliphant [Fri, 6 Jun 2008 22:33:21 +0000 (22:33 +0000)]
Add long double check support to configure test.

16 years agoIssue 3501: Make heapq support both __le__ and __lt__.
Raymond Hettinger [Fri, 6 Jun 2008 21:47:51 +0000 (21:47 +0000)]
Issue 3501: Make heapq support both __le__ and __lt__.

16 years agoFix build issue on OSX 10.4
Ronald Oussoren [Fri, 6 Jun 2008 21:31:33 +0000 (21:31 +0000)]
Fix build issue on OSX 10.4

16 years agoDocument the new ctypes features.
Thomas Heller [Fri, 6 Jun 2008 20:05:15 +0000 (20:05 +0000)]
Document the new ctypes features.

It would be great if someone could review both sematics, markup, and
spelling, and correct the versionadded and versionchanges markers.

16 years agoAdd a reminder for the maintainer of whatsnew.
Thomas Heller [Fri, 6 Jun 2008 18:42:11 +0000 (18:42 +0000)]
Add a reminder for the maintainer of whatsnew.

16 years agoPerformance improvement: Use PyDict_Get/SetItem instead of
Thomas Heller [Fri, 6 Jun 2008 18:37:55 +0000 (18:37 +0000)]
Performance improvement: Use PyDict_Get/SetItem instead of
PyDict_Get/SetItemString.

16 years agoFix brackets.
Georg Brandl [Fri, 6 Jun 2008 10:43:43 +0000 (10:43 +0000)]
Fix brackets.

16 years agoIssue #1798: Add ctypes calling convention that allows safe access of errno.
Thomas Heller [Fri, 6 Jun 2008 08:33:46 +0000 (08:33 +0000)]
Issue #1798: Add ctypes calling convention that allows safe access of errno.

ctypes maintains thread-local storage that has space for two error
numbers: private copies of the system 'errno' value and, on Windows,
the system error code accessed by the GetLastError() and
SetLastError() api functions.

Foreign functions created with CDLL(..., use_errno=True), when called,
swap the system 'errno' value with the private copy just before the
actual function call, and swapped again immediately afterwards.  The
'use_errno' parameter defaults to False, in this case 'ctypes_errno'
is not touched.

On Windows, foreign functions created with CDLL(...,
use_last_error=True) or WinDLL(..., use_last_error=True) swap the
system LastError value with the ctypes private copy.

The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(...,
use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True).

New ctypes functions are provided to access the ctypes private copies
from Python:

- ctypes.set_errno(value) and ctypes.set_last_error(value) store
  'value' in the private copy and returns the previous value.

- ctypes.get_errno() and ctypes.get_last_error() returns the current
  ctypes private copies value.

16 years agoMarkup fix.
Georg Brandl [Fri, 6 Jun 2008 07:34:50 +0000 (07:34 +0000)]
Markup fix.

16 years agoAldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
Neal Norwitz [Fri, 6 Jun 2008 04:47:01 +0000 (04:47 +0000)]
Aldo Cortesi confirmed this is still needed for OpenBSD 4.2 and 4.3.
(I didn't regen configure, since I don't have a working autoconf.)

16 years agoGrammar fix
Andrew M. Kuchling [Thu, 5 Jun 2008 23:35:48 +0000 (23:35 +0000)]
Grammar fix

16 years agoAdd various items
Andrew M. Kuchling [Thu, 5 Jun 2008 23:35:31 +0000 (23:35 +0000)]
Add various items

16 years agoDocument 'utc' parameter
Andrew M. Kuchling [Thu, 5 Jun 2008 23:33:54 +0000 (23:33 +0000)]
Document 'utc' parameter

16 years agorevert 63965 for preformance reasons
Benjamin Peterson [Thu, 5 Jun 2008 23:02:33 +0000 (23:02 +0000)]
revert 63965 for preformance reasons

16 years agouse the more idomatic while True
Benjamin Peterson [Thu, 5 Jun 2008 22:39:34 +0000 (22:39 +0000)]
use the more idomatic while True

16 years agoBackport from py3k: Implement the new buffer interface from pep3118
Thomas Heller [Thu, 5 Jun 2008 17:52:59 +0000 (17:52 +0000)]
Backport from py3k: Implement the new buffer interface from pep3118
for ctypes instances.  Closes issue #2404.

16 years agoBackport from py3k: Implement the new buffer interface from pep3118
Thomas Heller [Thu, 5 Jun 2008 17:51:15 +0000 (17:51 +0000)]
Backport from py3k: Implement the new buffer interface from pep3118
for ctypes instances.  Closes issue #2404.

16 years agoFix preprocessor statement.
Thomas Heller [Thu, 5 Jun 2008 17:29:38 +0000 (17:29 +0000)]
Fix preprocessor statement.

16 years agoMacOS X: Enable 4-way universal builds
Ronald Oussoren [Thu, 5 Jun 2008 12:58:24 +0000 (12:58 +0000)]
MacOS X: Enable 4-way universal builds

This patch adds a new configure argument on OSX:
        --with-universal-archs=[32-bit|64-bit|all]

When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.

I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.

16 years agoFixed complex.__getnewargs__() to not emit another complex object.
Alexandre Vassalotti [Wed, 4 Jun 2008 20:41:44 +0000 (20:41 +0000)]
Fixed complex.__getnewargs__() to not emit another complex object.

16 years agoRevert revisions 63943 and 63942 (Issue #1798: Add ctypes calling
Thomas Heller [Wed, 4 Jun 2008 20:22:05 +0000 (20:22 +0000)]
Revert revisions 63943 and 63942 (Issue #1798: Add ctypes calling
convention that allows safe access to errno)

This code does not yet work on OS X (__thread storage specifier not
available), so i needs a configure check plus a more portable
solution.

16 years agoFix ctypes.set_errno for gcc.
Thomas Heller [Wed, 4 Jun 2008 19:19:00 +0000 (19:19 +0000)]
Fix ctypes.set_errno for gcc.

16 years agoIssue #1798: Add ctypes calling convention that allows safe access to
Thomas Heller [Wed, 4 Jun 2008 18:59:03 +0000 (18:59 +0000)]
Issue #1798: Add ctypes calling convention that allows safe access to
errno (and LastError, on Windows).

ctypes maintains a module-global, but thread-local, variable that
contains an error number; called 'ctypes_errno' for this discussion.
This variable is a private copy of the systems 'errno' value; the copy
is swapped with the 'errno' variable on several occasions.

Foreign functions created with CDLL(..., use_errno=True), when called,
swap the values just before the actual function call, and swapped
again immediately afterwards.  The 'use_errno' parameter defaults to
False, in this case 'ctypes_errno' is not touched.

The values are also swapped immeditately before and after ctypes
callback functions are called, if the callbacks are constructed using
the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE)
or WINFUNCTYPE(..., use_errno=True).

Two new ctypes functions are provided to access the 'ctypes_errno'
value from Python:

- ctypes.set_errno(value) sets ctypes_errno to 'value', the previous
  ctypes_errno value is returned.

- ctypes.get_errno() returns the current ctypes_errno value.

---

On Windows, the same scheme is implemented for the error value which
is managed by the GetLastError() and SetLastError() windows api calls.

The ctypes functions are 'ctypes.set_last_error(value)' and
'ctypes.get_last_error()', the CDLL and WinDLL optional parameter is
named 'use_last_error', defaults to False.

---

On Windows, TlsSetValue and TlsGetValue calls are used to provide
thread local storage for the variables; ctypes compiled with __GNUC__
uses __thread variables.

16 years agoComplete revision of new turtle module's docs.
Georg Brandl [Wed, 4 Jun 2008 11:17:26 +0000 (11:17 +0000)]
Complete revision of new turtle module's docs.

16 years agoPatch #1513695: New turtle module, with demos.
Martin v. Löwis [Wed, 4 Jun 2008 06:29:55 +0000 (06:29 +0000)]
Patch #1513695:  New turtle module, with demos.

16 years agoFix Tkinter sequence passing. #2906.
Georg Brandl [Tue, 3 Jun 2008 10:23:15 +0000 (10:23 +0000)]
Fix Tkinter sequence passing. #2906.

16 years agomake test_mutex more elegant
Benjamin Peterson [Tue, 3 Jun 2008 01:30:37 +0000 (01:30 +0000)]
make test_mutex more elegant

16 years agoChange all functions that expect one unicode character to accept a pair of
Walter Dörwald [Mon, 2 Jun 2008 20:36:03 +0000 (20:36 +0000)]
Change all functions that expect one unicode character to accept a pair of
surrogates in narrow builds. Fixes issue #1706460.

16 years agoFix the -x flag so that is does work.
Thomas Heller [Mon, 2 Jun 2008 20:07:46 +0000 (20:07 +0000)]
Fix the -x flag so that is does work.

16 years agoFix misspelled sys.platform name and misspelled filename.
Thomas Heller [Mon, 2 Jun 2008 18:41:30 +0000 (18:41 +0000)]
Fix misspelled sys.platform name and misspelled filename.

16 years agoPatch #2125: Add GetInteger and GetString methods for
Martin v. Löwis [Mon, 2 Jun 2008 08:40:06 +0000 (08:40 +0000)]
Patch #2125: Add GetInteger and GetString methods for
msilib.Record objects.

16 years agoFix issue 2782: be less strict about the format string type in strftime.
Gregory P. Smith [Mon, 2 Jun 2008 04:05:52 +0000 (04:05 +0000)]
Fix issue 2782: be less strict about the format string type in strftime.
Accept unicode and anything else ParseTuple "s#" can deal with.  This
matches the time.strftime behavior.

16 years agoAdds a Thread.getIdent() method to provide the _get_ident() value for
Gregory P. Smith [Sun, 1 Jun 2008 23:48:47 +0000 (23:48 +0000)]
Adds a Thread.getIdent() method to provide the _get_ident() value for
any given threading.Thread object.  feature request issue 2871.