]> granicus.if.org Git - python/log
python
17 years agoChange a PyErr_Print() into a PyErr_Clear(),
Guido van Rossum [Mon, 15 Oct 2007 15:54:11 +0000 (15:54 +0000)]
Change a PyErr_Print() into a PyErr_Clear(),
per discussion in issue 1031213.

17 years agotest_bigbits was not testing what it seemed to.
Armin Rigo [Mon, 15 Oct 2007 07:48:35 +0000 (07:48 +0000)]
test_bigbits was not testing what it seemed to.

17 years agoUse unittest for assertions
Neal Norwitz [Sun, 14 Oct 2007 18:40:37 +0000 (18:40 +0000)]
Use unittest for assertions

17 years agoDon't raise a string exception, they don't work anymore.
Neal Norwitz [Sun, 14 Oct 2007 18:30:21 +0000 (18:30 +0000)]
Don't raise a string exception, they don't work anymore.

17 years agoLet the O/S supply a port if none of the default ports can be used.
Neal Norwitz [Sun, 14 Oct 2007 00:18:40 +0000 (00:18 +0000)]
Let the O/S supply a port if none of the default ports can be used.
This should make the tests more robust at the expense of allowing
tests to be sloppier by not requiring them to cleanup after themselves.
(It will legitamitely help when running two test suites simultaneously
or if another process is already using one of the predefined ports.)

Also simplifies (slightLy) the exception handling elsewhere.

17 years agoFix an uncollectable reference leak in bsddb.db.DBShelf.append
Gregory P. Smith [Sat, 13 Oct 2007 23:02:05 +0000 (23:02 +0000)]
Fix an uncollectable reference leak in bsddb.db.DBShelf.append

17 years agoFix email example.
Georg Brandl [Sat, 13 Oct 2007 13:20:03 +0000 (13:20 +0000)]
Fix email example.

17 years agoFixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
Gregory P. Smith [Fri, 12 Oct 2007 18:44:06 +0000 (18:44 +0000)]
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
was useless due to inverted logic.  Also adds a test case for RECNO dbs
to test_dbshelve.

17 years agoFix test of count.__repr__() to ignore the 'L' if the count is a long
Raymond Hettinger [Fri, 12 Oct 2007 17:53:11 +0000 (17:53 +0000)]
Fix test of count.__repr__() to ignore the 'L' if the count is a long

17 years agoBug #1216: Restore support for Visual Studio 2002.
Martin v. Löwis [Fri, 12 Oct 2007 08:56:52 +0000 (08:56 +0000)]
Bug #1216: Restore support for Visual Studio 2002.
Will backport to 2.5.

17 years agoGet this module to compile with bsddb versions prior to 4.3
Neal Norwitz [Fri, 12 Oct 2007 03:52:34 +0000 (03:52 +0000)]
Get this module to compile with bsddb versions prior to 4.3

17 years agoFix Coverity 185-186: If the passed in FILE is NULL, uninitialized memory
Neal Norwitz [Fri, 12 Oct 2007 03:05:19 +0000 (03:05 +0000)]
Fix Coverity 185-186:  If the passed in FILE is NULL, uninitialized memory
would be accessed.

Will backport.

17 years agoFix Coverity 180: Don't overallocate. We don't need structs, but pointers.
Neal Norwitz [Fri, 12 Oct 2007 03:04:18 +0000 (03:04 +0000)]
Fix Coverity 180:  Don't overallocate.  We don't need structs, but pointers.
Also fix a memory leak.

17 years agoFix Coverity 168: Close the file before returning (exiting).
Neal Norwitz [Fri, 12 Oct 2007 03:03:23 +0000 (03:03 +0000)]
Fix Coverity 168:  Close the file before returning (exiting).

17 years agoGet rid of compiler warning about retval being used (returned) without
Neal Norwitz [Fri, 12 Oct 2007 03:01:54 +0000 (03:01 +0000)]
Get rid of compiler warning about retval being used (returned) without
being initialized.  (gcc warning and Coverity 202)

17 years agoGet rid of warnings on a bunch of platforms by using a proper prototype.
Neal Norwitz [Fri, 12 Oct 2007 03:01:30 +0000 (03:01 +0000)]
Get rid of warnings on a bunch of platforms by using a proper prototype.

17 years agoGet rid of warning about not being able to create an existing directory.
Neal Norwitz [Fri, 12 Oct 2007 03:01:01 +0000 (03:01 +0000)]
Get rid of warning about not being able to create an existing directory.

17 years agoOn OS X, use os.uname() instead of gestalt.sysv(...) to get the
Thomas Heller [Thu, 11 Oct 2007 19:51:32 +0000 (19:51 +0000)]
On OS X, use os.uname() instead of gestalt.sysv(...) to get the
operating system version.  This allows to use ctypes when Python
was configured with --disable-toolbox-glue.

17 years agoshow paste if > 80 columns. Patch 1659326 Tal Einat.
Kurt B. Kaiser [Wed, 10 Oct 2007 01:06:47 +0000 (01:06 +0000)]
show paste if > 80 columns.  Patch 1659326 Tal Einat.

17 years agoAllow cursor color change w/o restart. Patch 1725576 Tal Einat.
Kurt B. Kaiser [Wed, 10 Oct 2007 00:55:40 +0000 (00:55 +0000)]
Allow cursor color change w/o restart. Patch 1725576 Tal Einat.

17 years agoAccept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded...
Raymond Hettinger [Wed, 10 Oct 2007 00:26:46 +0000 (00:26 +0000)]
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.

17 years agoRemove file-level typedefs that were inconsistently used throughout the file.
Brett Cannon [Wed, 10 Oct 2007 00:07:50 +0000 (00:07 +0000)]
Remove file-level typedefs that were inconsistently used throughout the file.
Just move over to the public API names.

Closes issue1238.

17 years agoAllow interrupt only when executing user code in subprocess
Kurt B. Kaiser [Tue, 9 Oct 2007 19:31:30 +0000 (19:31 +0000)]
Allow interrupt only when executing user code in subprocess
Patch 1225 Tal Einat modified from IDLE-Spoon.

17 years agoremove another sleepycat reference
Gregory P. Smith [Tue, 9 Oct 2007 18:26:02 +0000 (18:26 +0000)]
remove another sleepycat reference

17 years agoUse the highest cPickle protocol in bsddb.dbshelve. This comes from
Gregory P. Smith [Tue, 9 Oct 2007 07:19:11 +0000 (07:19 +0000)]
Use the highest cPickle protocol in bsddb.dbshelve.  This comes from
sourceforge pybsddb patch 1551443 by w_barnes.

17 years agoFix a double free when positioning a database cursor to a non-existant
Gregory P. Smith [Tue, 9 Oct 2007 06:50:43 +0000 (06:50 +0000)]
Fix a double free when positioning a database cursor to a non-existant
string key (and probably a few other situations with string keys).
This was reported with a patch as pybsddb sourceforge bug 1708868 by
jjjhhhlll at gmail.

17 years agoSplits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API
Gregory P. Smith [Tue, 9 Oct 2007 06:02:21 +0000 (06:02 +0000)]
Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API
object available as bsddb.db.api.  This is based on the patch submitted
by Duncan Grisby here:
  http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900
See this thread for additional info:
  http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users

It also cleans up the code a little by removing some ifdef/endifs for
python prior to 2.1 and for unsupported Berkeley DB <= 3.2.

17 years agoMake the error messages more specific
Raymond Hettinger [Tue, 9 Oct 2007 01:36:23 +0000 (01:36 +0000)]
Make the error messages more specific

17 years agoEliminate camelcase function name
Andrew M. Kuchling [Mon, 8 Oct 2007 23:23:03 +0000 (23:23 +0000)]
Eliminate camelcase function name

17 years agoEliminate camelcase function name
Raymond Hettinger [Mon, 8 Oct 2007 21:26:58 +0000 (21:26 +0000)]
Eliminate camelcase function name

17 years ago#1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.
Georg Brandl [Mon, 8 Oct 2007 14:12:47 +0000 (14:12 +0000)]
#1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.
No need to merge this to py3k!

17 years agoBetter variable names
Raymond Hettinger [Mon, 8 Oct 2007 10:11:51 +0000 (10:11 +0000)]
Better variable names

17 years agoMissed a line in the docs
Raymond Hettinger [Mon, 8 Oct 2007 09:56:29 +0000 (09:56 +0000)]
Missed a line in the docs

17 years agoAdd comments to NamedTuple code.
Raymond Hettinger [Mon, 8 Oct 2007 09:14:28 +0000 (09:14 +0000)]
Add comments to NamedTuple code.
Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases).
Improve the error message in the case of a SyntaxError (caused by a duplicate field name).

17 years agoUpdate docstring of sched, also remove an unused assignment.
Georg Brandl [Mon, 8 Oct 2007 08:06:05 +0000 (08:06 +0000)]
Update docstring of sched, also remove an unused assignment.

17 years ago#1123: fix the docs for the str.split(None, sep) case.
Georg Brandl [Mon, 8 Oct 2007 07:50:24 +0000 (07:50 +0000)]
#1123: fix the docs for the str.split(None, sep) case.
Also expand a few other methods' docs, which had more info in the deprecated string module docs.

17 years agoEnsure that this test will pass even if another test left an unwritable TESTFN.
Neal Norwitz [Sat, 6 Oct 2007 19:16:28 +0000 (19:16 +0000)]
Ensure that this test will pass even if another test left an unwritable TESTFN.
Also use the safe unlink in test_support instead of rolling our own here.

17 years agoUse the host the author likely meant in the first place. pop.gmail.com is
Gregory P. Smith [Sat, 6 Oct 2007 15:47:37 +0000 (15:47 +0000)]
Use the host the author likely meant in the first place.  pop.gmail.com is
reliable.  gmail.org is someones personal domain.

17 years agoAllows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.
Gregory P. Smith [Sat, 6 Oct 2007 07:51:59 +0000 (07:51 +0000)]
Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.

17 years agoStab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390
Gregory P. Smith [Sat, 6 Oct 2007 07:48:10 +0000 (07:48 +0000)]
Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390
ubuntu buildbots.

17 years agoRestore BEGIN/END THREADS macros which were squashed in the previous checkin
Raymond Hettinger [Fri, 5 Oct 2007 19:07:31 +0000 (19:07 +0000)]
Restore BEGIN/END THREADS macros which were squashed in the previous checkin

17 years agoAdd a note about fixing some more warnings found by Coverity.
Neal Norwitz [Fri, 5 Oct 2007 05:29:17 +0000 (05:29 +0000)]
Add a note about fixing some more warnings found by Coverity.

17 years agoFix Coverity #159.
Neal Norwitz [Fri, 5 Oct 2007 05:01:38 +0000 (05:01 +0000)]
Fix Coverity #159.

This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.

Will backport (assuming it's necessary)

17 years agoFix Coverity #158: Check the correct variable.
Neal Norwitz [Fri, 5 Oct 2007 03:41:19 +0000 (03:41 +0000)]
Fix Coverity #158: Check the correct variable.

17 years agodict could be NULL, so we need to XDECREF.
Neal Norwitz [Fri, 5 Oct 2007 03:39:17 +0000 (03:39 +0000)]
dict could be NULL, so we need to XDECREF.
Fix a compiler warning about passing a PyTypeObject* instead of PyObject*.

17 years agomove descriptions of ac_(in|out)_buffer_size to the right place
Fred Drake [Fri, 5 Oct 2007 02:48:32 +0000 (02:48 +0000)]
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053

17 years agoAdd __asdict__() to NamedTuple and refine the docs.
Raymond Hettinger [Fri, 5 Oct 2007 02:47:07 +0000 (02:47 +0000)]
Add __asdict__() to NamedTuple and refine the docs.
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__().  The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.

17 years agowrap lines to <80 characters before fixing errors
Fred Drake [Fri, 5 Oct 2007 02:46:12 +0000 (02:46 +0000)]
wrap lines to <80 characters before fixing errors

17 years agoCoverity #151: Remove deadcode.
Neal Norwitz [Thu, 4 Oct 2007 06:00:48 +0000 (06:00 +0000)]
Coverity #151: Remove deadcode.

All this code already exists above starting at line 653.

17 years agoconfigDialog cleanup. Patch 1730217 Tal Einat.
Kurt B. Kaiser [Thu, 4 Oct 2007 03:11:12 +0000 (03:11 +0000)]
configDialog cleanup. Patch 1730217 Tal Einat.

17 years agotextView cleanup. Patch 1718043 Tal Einat.
Kurt B. Kaiser [Thu, 4 Oct 2007 02:53:07 +0000 (02:53 +0000)]
textView cleanup. Patch 1718043 Tal Einat.

M    idlelib/EditorWindow.py
M    idlelib/aboutDialog.py
M    idlelib/textView.py
M    idlelib/NEWS.txt

17 years agoClean up EditorWindow close.
Kurt B. Kaiser [Thu, 4 Oct 2007 02:09:17 +0000 (02:09 +0000)]
Clean up EditorWindow close.

17 years agoRemove unused theme that was causing a fault in p3k.
Kurt B. Kaiser [Thu, 4 Oct 2007 02:07:50 +0000 (02:07 +0000)]
Remove unused theme that was causing a fault in p3k.

17 years agoAssume that the user knows when he wants to end the line; don't insert
Kurt B. Kaiser [Thu, 4 Oct 2007 01:49:54 +0000 (01:49 +0000)]
Assume that the user knows when he wants to end the line; don't insert
something he didn't select or complete.

17 years agoitertools.count() no longer limited to sys.maxint.
Raymond Hettinger [Thu, 4 Oct 2007 00:20:27 +0000 (00:20 +0000)]
itertools.count() no longer limited to sys.maxint.

17 years agoenumerate() is no longer bounded to using sequences shorter than LONG_MAX. The possi...
Raymond Hettinger [Wed, 3 Oct 2007 21:18:11 +0000 (21:18 +0000)]
enumerate() is no longer bounded to using sequences shorter than LONG_MAX.  The possibility of overflow was sending some newsgroup posters into a tizzy.

17 years agoAdded note in footnote about string comparisons about
Mark Summerfield [Wed, 3 Oct 2007 08:53:21 +0000 (08:53 +0000)]
Added note in footnote about string comparisons about
unicodedata.normalize().

17 years agoAdded a class to store the digits of log(10), so that they can be made
Facundo Batista [Tue, 2 Oct 2007 18:21:18 +0000 (18:21 +0000)]
Added a class to store the digits of log(10), so that they can be made
available when necessary without recomputing.  Thanks Mark Dickinson

17 years agoMade the various is_* operations return booleans. This was discussed
Facundo Batista [Tue, 2 Oct 2007 17:01:24 +0000 (17:01 +0000)]
Made the various is_* operations return booleans.  This was discussed
with Cawlishaw by mail, and he basically confirmed that to these is_*
operations, there's no need to return Decimal(0) and Decimal(1) if
the language supports the False and True booleans.

Also added a few tests for the these functions in extra.decTest, since
they are mostly untested (apart from the doctests).

Thanks Mark Dickinson

17 years agoFix error introduced by r58288; if a tuple is length 0 return its repr and
Brett Cannon [Sun, 30 Sep 2007 20:37:19 +0000 (20:37 +0000)]
Fix error introduced by r58288; if a tuple is length 0 return its repr and
don't worry about any self-referring tuples.

17 years agotuple.__repr__ did not consider a reference loop as it is not possible from
Brett Cannon [Sun, 30 Sep 2007 19:45:10 +0000 (19:45 +0000)]
tuple.__repr__ did not consider a reference loop as it is not possible from
Python code; but it is possible from C.  object.__str__ had the issue of not
expecting a type to doing something within it's tp_str implementation that
could trigger an infinite recursion, but it could in C code..  Both found
thanks to BaseException and how it handles its repr.

Closes issue #1686386.  Thanks to Thomas Herve for taking an initial stab at
coming up with a solution.

17 years agoChange to LogRecord.__init__() to fix #1206. Note that archaic use of type(x) ==...
Vinay Sajip [Thu, 27 Sep 2007 07:35:10 +0000 (07:35 +0000)]
Change to LogRecord.__init__() to fix #1206. Note that archaic use of type(x) == types.DictType is because of keeping 1.5.2 compatibility. While this is much less relevant these days, there probably needs to be a separate commit for removing all archaic constructs at the same time.

17 years agoMinor date change.
Vinay Sajip [Thu, 27 Sep 2007 06:56:13 +0000 (06:56 +0000)]
Minor date change.

17 years ago#1208: document match object's boolean value.
Georg Brandl [Thu, 27 Sep 2007 06:26:58 +0000 (06:26 +0000)]
#1208: document match object's boolean value.

17 years agoChange to basicConfig() to fix #1021.
Vinay Sajip [Thu, 27 Sep 2007 05:38:51 +0000 (05:38 +0000)]
Change to basicConfig() to fix #1021.

17 years agoChange to flush and close logic to fix #1760556.
Vinay Sajip [Thu, 27 Sep 2007 05:34:45 +0000 (05:34 +0000)]
Change to flush and close logic to fix #1760556.

17 years agoAdd various items
Andrew M. Kuchling [Tue, 25 Sep 2007 00:09:42 +0000 (00:09 +0000)]
Add various items

17 years agoTypo fix
Andrew M. Kuchling [Mon, 24 Sep 2007 23:46:28 +0000 (23:46 +0000)]
Typo fix

17 years agoRemove stray odd character; grammar fix
Andrew M. Kuchling [Mon, 24 Sep 2007 23:45:51 +0000 (23:45 +0000)]
Remove stray odd character; grammar fix

17 years ago#1177: accept 2xx responses for https too, not only http.
Georg Brandl [Mon, 24 Sep 2007 18:08:24 +0000 (18:08 +0000)]
#1177: accept 2xx responses for https too, not only http.

17 years ago#1196: document default radix for int().
Georg Brandl [Mon, 24 Sep 2007 17:59:28 +0000 (17:59 +0000)]
#1196: document default radix for int().

17 years agoFix typo and double word.
Georg Brandl [Mon, 24 Sep 2007 17:55:47 +0000 (17:55 +0000)]
Fix typo and double word.

17 years agoPatch # 188 by Philip Jenvey.
Guido van Rossum [Sat, 22 Sep 2007 20:18:03 +0000 (20:18 +0000)]
Patch # 188 by Philip Jenvey.
Make tell() mark CRLF as a newline.
With unit test.

17 years agoIssue1704287: "make install" fails unless you do "make" first. Make
Sean Reifscheider [Fri, 21 Sep 2007 06:33:28 +0000 (06:33 +0000)]
Issue1704287: "make install" fails unless you do "make" first.  Make
   oldsharedmods and sharedmods in "libinstall".

17 years agoPatch #1181: add os.environ.clear() method.
Georg Brandl [Thu, 20 Sep 2007 17:57:59 +0000 (17:57 +0000)]
Patch #1181: add os.environ.clear() method.

17 years agoTry harder to stay within the 79-column limit. There's still two places that go ...
Thomas Wouters [Thu, 20 Sep 2007 17:35:10 +0000 (17:35 +0000)]
Try harder to stay within the 79-column limit. There's still two places that go (way) over, but those are harder to fix without suffering in readability.

17 years ago#1176: document that string methods don't take keyword args.
Georg Brandl [Thu, 20 Sep 2007 16:45:27 +0000 (16:45 +0000)]
#1176: document that string methods don't take keyword args.

17 years agoPatch #1541463: optimize performance of cgi.FieldStorage operations.
Georg Brandl [Thu, 20 Sep 2007 16:06:07 +0000 (16:06 +0000)]
Patch #1541463: optimize performance of cgi.FieldStorage operations.

17 years agoalternate -> alternative.
Georg Brandl [Thu, 20 Sep 2007 08:44:59 +0000 (08:44 +0000)]
alternate -> alternative.

17 years agoFit nits
Raymond Hettinger [Thu, 20 Sep 2007 03:03:43 +0000 (03:03 +0000)]
Fit nits

17 years agoIssue #1772851. Optimization of __hash__ to behave better for big big
Facundo Batista [Wed, 19 Sep 2007 17:53:25 +0000 (17:53 +0000)]
Issue #1772851.  Optimization of __hash__ to behave better for big big
numbers.

17 years agoWhitespace cleanup.
Thomas Wouters [Wed, 19 Sep 2007 17:27:43 +0000 (17:27 +0000)]
Whitespace cleanup.

17 years agoFix obvious typo in threaded test.
Thomas Wouters [Wed, 19 Sep 2007 17:27:29 +0000 (17:27 +0000)]
Fix obvious typo in threaded test.

17 years agoIssue #1772851. Alters long.__hash__ from being *almost* completely
Facundo Batista [Wed, 19 Sep 2007 15:10:06 +0000 (15:10 +0000)]
Issue #1772851.  Alters long.__hash__ from being *almost* completely
predictable to being completely predictable.  The value of hash(n)
is unchanged for any n that's small enough to be representable as an
int, and also unchanged for the vast majority of long integers n of
reasonable size.

17 years agoAnnotated the correction to urllib.py, issue #1177
Facundo Batista [Wed, 19 Sep 2007 14:02:03 +0000 (14:02 +0000)]
Annotated the correction to urllib.py, issue #1177

17 years agoissue1177: Ported Facundo's from urllib2 to urllib, accepting 2xx responses.
Sean Reifscheider [Wed, 19 Sep 2007 07:52:56 +0000 (07:52 +0000)]
issue1177: Ported Facundo's from urllib2 to urllib, accepting 2xx responses.

17 years agoFix #1169: remove docstrings in functions for -OO.
Georg Brandl [Wed, 19 Sep 2007 06:37:19 +0000 (06:37 +0000)]
Fix #1169: remove docstrings in functions for -OO.

17 years agoissue1172: Documentation of "done" attribute in cgi module.
Sean Reifscheider [Tue, 18 Sep 2007 23:34:44 +0000 (23:34 +0000)]
issue1172: Documentation of "done" attribute in cgi module.

17 years agoProperly indent two lines. (Spotted because it caused merge conflicts in the
Thomas Wouters [Tue, 18 Sep 2007 23:27:30 +0000 (23:27 +0000)]
Properly indent two lines. (Spotted because it caused merge conflicts in the
py3k branch ;)

17 years agoCleanup docs for NamedTuple.
Raymond Hettinger [Tue, 18 Sep 2007 22:18:02 +0000 (22:18 +0000)]
Cleanup docs for NamedTuple.

17 years agoSpeed up of the various division operations (remainder, divide,
Facundo Batista [Tue, 18 Sep 2007 16:53:18 +0000 (16:53 +0000)]
Speed up of the various division operations (remainder, divide,
divideint and divmod). Thanks Mark Dickinson.

17 years agoA bit of reordering, also show more subheadings in the lang ref index.
Georg Brandl [Tue, 18 Sep 2007 07:24:40 +0000 (07:24 +0000)]
A bit of reordering, also show more subheadings in the lang ref index.

17 years agoHandle corner cased on 0-tuples and 1-tuples. Add verbose option so people can see...
Raymond Hettinger [Tue, 18 Sep 2007 03:33:19 +0000 (03:33 +0000)]
Handle corner cased on 0-tuples and 1-tuples.  Add verbose option so people can see how it works.

17 years agoAdd item; sort properly
Andrew M. Kuchling [Tue, 18 Sep 2007 01:36:16 +0000 (01:36 +0000)]
Add item; sort properly

17 years agoissue1082: Fixing platform and system for Vista.
Sean Reifscheider [Mon, 17 Sep 2007 20:53:21 +0000 (20:53 +0000)]
issue1082: Fixing platform and system for Vista.

17 years agoThe methods always return Decimal classes, even if they're
Facundo Batista [Mon, 17 Sep 2007 17:30:13 +0000 (17:30 +0000)]
The methods always return Decimal classes, even if they're
executed through a subclass (thanks Mark Dickinson).
Added a bit of testing for this.

17 years agoDecimal is updated, :)
Facundo Batista [Mon, 17 Sep 2007 16:26:50 +0000 (16:26 +0000)]
Decimal is updated, :)

17 years agoissue1597011: Fix for bz2 module corner-case error due to error checking bug.
Sean Reifscheider [Mon, 17 Sep 2007 05:45:04 +0000 (05:45 +0000)]
issue1597011: Fix for bz2 module corner-case error due to error checking bug.

17 years agoAdd a bunch of GIL release/acquire points in tp_print implementations and for
Brett Cannon [Mon, 17 Sep 2007 03:28:34 +0000 (03:28 +0000)]
Add a bunch of GIL release/acquire points in tp_print implementations and for
PyObject_Print().

Closes issue #1164.

17 years agoSync-up named tuples with the latest version of the ASPN recipe.
Raymond Hettinger [Mon, 17 Sep 2007 00:55:00 +0000 (00:55 +0000)]
Sync-up named tuples with the latest version of the ASPN recipe.
Allows optional commas in the field-name spec (help when named tuples are used in conjuction with sql queries).
Adds the __fields__ attribute for introspection and to support conversion to dictionary form.
Adds a  __replace__() method similar to str.replace() but using a named field as a target.
Clean-up spelling and presentation in doc-strings.