]> granicus.if.org Git - python/log
python
18 years agoAdd the uuid module.
Ka-Ping Yee [Mon, 12 Jun 2006 23:47:52 +0000 (23:47 +0000)]
Add the uuid module.

This module has been tested so far on Windows XP (Python 2.4 and 2.5a2),
Mac OS X (Python 2.3, 2.4, and 2.5a2), and Linux (Python 2.4 and 2.5a2).

18 years agoAdd pep-291 compatibility markers.
Thomas Heller [Mon, 12 Jun 2006 20:56:48 +0000 (20:56 +0000)]
Add pep-291 compatibility markers.

18 years agoFix the CRT argument error handling for VisualStudio .NET 2005. Install a CRT error...
Kristján Valur Jónsson [Mon, 12 Jun 2006 15:45:12 +0000 (15:45 +0000)]
Fix the CRT argument error handling for VisualStudio .NET 2005.  Install a CRT error handler and disable the assertion for debug builds.  This causes CRT to set errno to EINVAL.
This update fixes crash cases in the test suite where the default CRT error handler would cause process exit.

18 years agoMake the -m switch conform to the documentation of sys.path by behaving like the...
Nick Coghlan [Mon, 12 Jun 2006 10:17:11 +0000 (10:17 +0000)]
Make the -m switch conform to the documentation of sys.path by behaving like the -c switch

18 years agoThe site module documentation also described the Windows behaviour incorrectly.
Nick Coghlan [Mon, 12 Jun 2006 08:27:13 +0000 (08:27 +0000)]
The site module documentation also described the Windows behaviour incorrectly.

18 years agoFix site module docstring to match the code for Mac OSX, too
Nick Coghlan [Mon, 12 Jun 2006 08:23:02 +0000 (08:23 +0000)]
Fix site module docstring to match the code for Mac OSX, too

18 years agoFix site module docstring to match the code
Nick Coghlan [Mon, 12 Jun 2006 08:19:37 +0000 (08:19 +0000)]
Fix site module docstring to match the code

18 years agoI don't know how that happend, but the entire file contents was
Thomas Heller [Mon, 12 Jun 2006 06:05:57 +0000 (06:05 +0000)]
I don't know how that happend, but the entire file contents was
duplicated.  Thanks to Simon Percivall for the heads up.

18 years agoGet rid of function pointer cast.
Martin v. Löwis [Mon, 12 Jun 2006 04:26:31 +0000 (04:26 +0000)]
Get rid of function pointer cast.

18 years agoSync w/external release 0.1.2. Please see PEP 360 before making changes to external...
Phillip J. Eby [Mon, 12 Jun 2006 04:04:32 +0000 (04:04 +0000)]
Sync w/external release 0.1.2.  Please see PEP 360 before making changes to external packages.

18 years agoPatch #1503046, Conditional compilation of zlib.(de)compressobj.copy
Neal Norwitz [Mon, 12 Jun 2006 03:33:09 +0000 (03:33 +0000)]
Patch #1503046, Conditional compilation of zlib.(de)compressobj.copy

copy is only in newer versions of zlib.  This should allow zlibmodule
to work with older versions like the Tru64 buildbot.

18 years agoImpl ssize_t
Neal Norwitz [Mon, 12 Jun 2006 03:05:40 +0000 (03:05 +0000)]
Impl ssize_t

18 years agoRemove unused import
Neal Norwitz [Mon, 12 Jun 2006 03:05:03 +0000 (03:05 +0000)]
Remove unused import

18 years agoi and j are initialized below when used. No need to do it twice
Neal Norwitz [Mon, 12 Jun 2006 02:16:10 +0000 (02:16 +0000)]
i and j are initialized below when used.  No need to do it twice

18 years agoFix the socket tests so they can be run concurrently. Backport candidate
Neal Norwitz [Mon, 12 Jun 2006 02:13:21 +0000 (02:13 +0000)]
Fix the socket tests so they can be run concurrently.  Backport candidate

18 years agoGet rid of f_restricted too. Doc the other 4 ints that were already removed
Neal Norwitz [Mon, 12 Jun 2006 02:11:18 +0000 (02:11 +0000)]
Get rid of f_restricted too.  Doc the other 4 ints that were already removed
at the NeedForSpeed sprint.

18 years agoFix indentation of case and a Py_ssize_t issue.
Neal Norwitz [Mon, 12 Jun 2006 02:09:34 +0000 (02:09 +0000)]
Fix indentation of case and a Py_ssize_t issue.

18 years agoFix typo. Backport if anyone cares. :-)
Neal Norwitz [Mon, 12 Jun 2006 02:09:03 +0000 (02:09 +0000)]
Fix typo.  Backport if anyone cares. :-)

18 years agoDon't leak the list object if there's an error allocating the item storage. Backport...
Neal Norwitz [Mon, 12 Jun 2006 02:08:41 +0000 (02:08 +0000)]
Don't leak the list object if there's an error allocating the item storage.  Backport candidate

18 years agoDon't truncate if size_t is bigger than uint
Neal Norwitz [Mon, 12 Jun 2006 02:07:57 +0000 (02:07 +0000)]
Don't truncate if size_t is bigger than uint

18 years agoCleanup: Remove import of types to get StringTypes, we can just use basestring.
Neal Norwitz [Mon, 12 Jun 2006 02:07:24 +0000 (02:07 +0000)]
Cleanup: Remove import of types to get StringTypes, we can just use basestring.

18 years agoFix some Py_ssize_t issues
Neal Norwitz [Mon, 12 Jun 2006 02:06:42 +0000 (02:06 +0000)]
Fix some Py_ssize_t issues

18 years agoFix some Py_ssize_t issues
Neal Norwitz [Mon, 12 Jun 2006 02:06:17 +0000 (02:06 +0000)]
Fix some Py_ssize_t issues

18 years agoCleanup Py_ssize_t a little (get rid of second #ifdef)
Neal Norwitz [Mon, 12 Jun 2006 02:05:55 +0000 (02:05 +0000)]
Cleanup Py_ssize_t a little (get rid of second #ifdef)

18 years agoGet test to pass on S/390. Shout if you think this change is incorrect.
Neal Norwitz [Sun, 11 Jun 2006 21:38:38 +0000 (21:38 +0000)]
Get test to pass on S/390.  Shout if you think this change is incorrect.

18 years agocompare_generic_iter(): Fixed the failure of test_wsgiref's testFileWrapper
Tim Peters [Sun, 11 Jun 2006 20:52:59 +0000 (20:52 +0000)]
compare_generic_iter():  Fixed the failure of test_wsgiref's testFileWrapper
when running with -O.

test_simple_validation_error still fails under -O.  That appears to be because
wsgiref's validate.py uses `assert` statements all over the place to check
arguments for sanity.  That should all be changed (it's not a logical error
in the software if a user passes bogus arguments, so this isn't a reasonable
use for `assert` -- checking external preconditions should generally raise
ValueError or TypeError instead, as appropriate).

18 years agoFix test on PPC64 buildbot. It raised an IOError (really an URLError which
Neal Norwitz [Sun, 11 Jun 2006 20:46:46 +0000 (20:46 +0000)]
Fix test on PPC64 buildbot.  It raised an IOError (really an URLError which
derives from an IOError).  That seems valid.  Env Error includes both OSError
and IOError, so this seems like a reasonable fix.

18 years agoTry to fix another networking test. The problem is that if hosts have
Neal Norwitz [Sun, 11 Jun 2006 20:42:02 +0000 (20:42 +0000)]
Try to fix another networking test.  The problem is that if hosts have
a search path setup, some of these hosts resolve to the wrong address.
By appending a period to the hostname, the hostname should only resolve
to what we want it to resolve to.  Hopefully this doesn't break different bots.

Also add more info to failure message to aid debugging test failure.

18 years agoTry to fix several networking tests. The problem is that if hosts have
Neal Norwitz [Sun, 11 Jun 2006 20:25:56 +0000 (20:25 +0000)]
Try to fix several networking tests.  The problem is that if hosts have
a search path setup, some of these hosts resolve to the wrong address.
By appending a period to the hostname, the hostname should only resolve
to what we want it to resolve to.  Hopefully this doesn't break different bots.

18 years ago- Change fixapplepython23.py to ensure that it will run with /usr/bin/python
Ronald Oussoren [Sun, 11 Jun 2006 20:24:45 +0000 (20:24 +0000)]
- Change fixapplepython23.py to ensure that it will run with /usr/bin/python
  on intel macs.
- Fix some minor problems in the installer for OSX

18 years agoUse configure to substitute the correct prefix instead of hardcoding
Ronald Oussoren [Sun, 11 Jun 2006 20:23:29 +0000 (20:23 +0000)]
Use configure to substitute the correct prefix instead of hardcoding

18 years agoRemove message about using make frameworkinstall, that's no longer necesssary
Ronald Oussoren [Sun, 11 Jun 2006 19:45:57 +0000 (19:45 +0000)]
Remove message about using make frameworkinstall, that's no longer necesssary

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Sun, 11 Jun 2006 19:43:49 +0000 (19:43 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Sun, 11 Jun 2006 19:42:51 +0000 (19:42 +0000)]
Whitespace normalization.

18 years agoRelease the GIL during COM method calls, to avoid deadlocks in
Thomas Heller [Sun, 11 Jun 2006 17:04:22 +0000 (17:04 +0000)]
Release the GIL during COM method calls, to avoid deadlocks in
Python coded COM objects.

18 years agoBug #1498146: fix optparse to handle Unicode strings in option help,
Greg Ward [Sun, 11 Jun 2006 16:24:11 +0000 (16:24 +0000)]
Bug #1498146: fix optparse to handle Unicode strings in option help,
description, and epilog.

18 years agoSF #1366250: optparse docs: fix inconsistency in variable name; minor tweaks.
Greg Ward [Sun, 11 Jun 2006 14:42:41 +0000 (14:42 +0000)]
SF #1366250: optparse docs: fix inconsistency in variable name; minor tweaks.

18 years agoThis patch improves the L&F of IDLE on OSX. The changes are conditionalized on
Ronald Oussoren [Sun, 11 Jun 2006 14:33:36 +0000 (14:33 +0000)]
This patch improves the L&F of IDLE on OSX. The changes are conditionalized on
being in an IDLE.app bundle on darwin. This does a slight reorganisation of the
menus and adds support for file-open events.

18 years agoFix errors found by pychecker
Neal Norwitz [Sun, 11 Jun 2006 08:35:14 +0000 (08:35 +0000)]
Fix errors found by pychecker

18 years agoFix errors found by pychecker.
Neal Norwitz [Sun, 11 Jun 2006 07:27:56 +0000 (07:27 +0000)]
Fix errors found by pychecker.
I think these changes are correct, but I'm not sure.  Could someone
who knows how this module works test it?  It can at least start on
the cmd line.

18 years agowarnings was imported at module scope, no need to import again
Neal Norwitz [Sun, 11 Jun 2006 07:26:50 +0000 (07:26 +0000)]
warnings was imported at module scope, no need to import again

18 years agoFix errors found by pychecker
Neal Norwitz [Sun, 11 Jun 2006 07:26:27 +0000 (07:26 +0000)]
Fix errors found by pychecker

18 years agof_code can't be NULL based on Frame_New and other code that derefs it.
Neal Norwitz [Sun, 11 Jun 2006 05:48:14 +0000 (05:48 +0000)]
f_code can't be NULL based on Frame_New and other code that derefs it.
So there doesn't seem to be much point to checking here.

18 years agoUpdate doc to make it agree with code.
Neal Norwitz [Sun, 11 Jun 2006 05:47:14 +0000 (05:47 +0000)]
Update doc to make it agree with code.
Bottom factor out some common code.

18 years agoAdd versionadded to doc
Neal Norwitz [Sun, 11 Jun 2006 05:45:47 +0000 (05:45 +0000)]
Add versionadded to doc

18 years agoWrap some long lines
Neal Norwitz [Sun, 11 Jun 2006 05:45:25 +0000 (05:45 +0000)]
Wrap some long lines
Top/Bottom factor out some common expressions
Add a XXX comment about widing offset.

18 years agoFix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL.
Neal Norwitz [Sun, 11 Jun 2006 05:44:18 +0000 (05:44 +0000)]
Fix Coverity # 146.  newDBSequenceObject would deref dbobj, so it can't be NULL.

We know it's not NULL from the ParseTuple and DbObject_Check will verify
it's not NULL.

18 years agoBug #1361643: fix textwrap.dedent() so it handles tabs appropriately,
Greg Ward [Sun, 11 Jun 2006 00:40:49 +0000 (00:40 +0000)]
Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately,
i.e. do *not* expand tabs, but treat them as whitespace that is not
equivalent to spaces.  Add a couple of test cases.  Clarify docs.

18 years agoshuffle() doscstring: Removed warning about sequence length
Tim Peters [Sat, 10 Jun 2006 22:51:45 +0000 (22:51 +0000)]
shuffle() doscstring:  Removed warning about sequence length
versus generator period.  While this was a real weakness of the
older WH generator for lists with just a few dozen elements,
and so could potentially bite the naive ;-), the Twister should
show excellent behavior up to at least 600 elements.

Module docstring:  reflowed some jarringly short lines.

18 years agoSuppress warning on MacOSX about possible use before set of proc.
Skip Montanaro [Sat, 10 Jun 2006 22:38:13 +0000 (22:38 +0000)]
Suppress warning on MacOSX about possible use before set of proc.

18 years agoHandle failure of PyMem_Realloc.
Thomas Heller [Sat, 10 Jun 2006 22:01:50 +0000 (22:01 +0000)]
Handle failure of PyMem_Realloc.

18 years agoDon't use C++ comment.
Thomas Heller [Sat, 10 Jun 2006 21:56:03 +0000 (21:56 +0000)]
Don't use C++ comment.

18 years agoFix the second occurrence of the problematic printf format.
Thomas Heller [Sat, 10 Jun 2006 21:17:58 +0000 (21:17 +0000)]
Fix the second occurrence of the problematic printf format.

18 years agoFix a wrong printf format.
Thomas Heller [Sat, 10 Jun 2006 21:07:19 +0000 (21:07 +0000)]
Fix a wrong printf format.

18 years agoNew docs for ctypes.
Thomas Heller [Sat, 10 Jun 2006 20:29:34 +0000 (20:29 +0000)]
New docs for ctypes.

18 years agocredit for SF patch #1303595
Fred Drake [Sat, 10 Jun 2006 20:02:58 +0000 (20:02 +0000)]
credit for SF patch #1303595

18 years agoSF patch #1303595: improve description of __builtins__, explaining how it
Fred Drake [Sat, 10 Jun 2006 20:01:34 +0000 (20:01 +0000)]
SF patch #1303595: improve description of __builtins__, explaining how it
varies between __main__ and other modules, and strongly suggest not touching
it but using __builtin__ if absolutely necessary

18 years agoUpgrade to ctypes version 0.9.9.7.
Thomas Heller [Sat, 10 Jun 2006 19:55:36 +0000 (19:55 +0000)]
Upgrade to ctypes version 0.9.9.7.

Summary of changes:

- support for 'variable sized' data
- support for anonymous structure/union fields
- fix severe bug with certain arrays or structures containing more than 256 fields

18 years agoUpgrade to ctypes version 0.9.9.7.
Thomas Heller [Sat, 10 Jun 2006 19:51:46 +0000 (19:51 +0000)]
Upgrade to ctypes version 0.9.9.7.

Summary of changes:

- support for 'variable sized' data
- support for anonymous structure/union fields
- fix severe bug with certain arrays or structures containing more than 256 fields

18 years agoSync with Optik docs (rev 518):
Greg Ward [Sat, 10 Jun 2006 16:40:01 +0000 (16:40 +0000)]
Sync with Optik docs (rev 518):
  * restore "Extending optparse" section
  * document ALWAYS_TYPED_ACTIONS (SF #1449311)

18 years agodocument the class, not its initializer
Skip Montanaro [Sat, 10 Jun 2006 14:09:11 +0000 (14:09 +0000)]
document the class, not its initializer

18 years agoPatch #1495999: Part two of Windows CE changes.
Martin v. Löwis [Sat, 10 Jun 2006 12:23:46 +0000 (12:23 +0000)]
Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c

18 years agoSF bug #1503294.
Armin Rigo [Sat, 10 Jun 2006 10:57:40 +0000 (10:57 +0000)]
SF bug #1503294.

PyThreadState_GET() complains if the tstate is NULL, but only in debug mode.

18 years agoPort cygwin kill_python changes from 2.4 branch.
Martin v. Löwis [Sat, 10 Jun 2006 08:14:03 +0000 (08:14 +0000)]
Port cygwin kill_python changes from 2.4 branch.

18 years agoApply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.
Georg Brandl [Sat, 10 Jun 2006 06:40:50 +0000 (06:40 +0000)]
Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.
Also improve error message on overflow.

18 years agoFix bug introduced in rev. 46806 by not having variable declaration at the top of...
Brett Cannon [Fri, 9 Jun 2006 22:45:54 +0000 (22:45 +0000)]
Fix bug introduced in rev. 46806 by not having variable declaration at the top of a block.

18 years agoAn object with __call__ as an attribute, when called, will have that attribute checke...
Brett Cannon [Fri, 9 Jun 2006 22:31:23 +0000 (22:31 +0000)]
An object with __call__ as an attribute, when called, will have that attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute.  This can lead to an infinite recursion.

Closes bug #532646, again.  Will be backported.

18 years agoMake use of new str.startswith/endswith semantics.
Georg Brandl [Fri, 9 Jun 2006 20:43:48 +0000 (20:43 +0000)]
Make use of new str.startswith/endswith semantics.
Occurences in email and compiler were ignored due to backwards compat requirements.

18 years agoset eol-style svn property
Thomas Heller [Fri, 9 Jun 2006 20:01:01 +0000 (20:01 +0000)]
set eol-style svn property

18 years agoset eol-style svn property
Thomas Heller [Fri, 9 Jun 2006 19:59:11 +0000 (19:59 +0000)]
set eol-style svn property

18 years agoAdd some wsgiref text
Andrew M. Kuchling [Fri, 9 Jun 2006 19:56:05 +0000 (19:56 +0000)]
Add some wsgiref text

18 years agoRemove unused variable
Andrew M. Kuchling [Fri, 9 Jun 2006 19:43:25 +0000 (19:43 +0000)]
Remove unused variable

18 years agoImplementing a happy idea from Georg Brandl: make runtest() try to
Tim Peters [Fri, 9 Jun 2006 19:24:44 +0000 (19:24 +0000)]
Implementing a happy idea from Georg Brandl:  make runtest() try to
clean up files and directories the tests often leave behind by
mistake.  This is the first time in history I don't have a bogus
"db_home" directory after running the tests ;-)

Also worked on runtest's docstring, to say something about all the
arguments, and to document the non-obvious return values.

New functions runtest_inner() and cleanup_test_droppings() in
support of the above.

18 years agoDescribe startswith()/endswiith() change; add reminder about wsgiref
Andrew M. Kuchling [Fri, 9 Jun 2006 19:03:16 +0000 (19:03 +0000)]
Describe startswith()/endswiith() change; add reminder about wsgiref

18 years agoRFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first argument.
Georg Brandl [Fri, 9 Jun 2006 18:45:48 +0000 (18:45 +0000)]
RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as first argument.

18 years agosvn:ignore .pyc and .pyo files.
Brett Cannon [Fri, 9 Jun 2006 18:40:46 +0000 (18:40 +0000)]
svn:ignore .pyc and .pyo files.

18 years agoTest file.__exit__.
Georg Brandl [Fri, 9 Jun 2006 18:29:52 +0000 (18:29 +0000)]
Test file.__exit__.

18 years agoWhitespace normalization.
Tim Peters [Fri, 9 Jun 2006 17:47:00 +0000 (17:47 +0000)]
Whitespace normalization.

18 years agoFix inconsistency in naming within an enum.
Brett Cannon [Fri, 9 Jun 2006 17:05:48 +0000 (17:05 +0000)]
Fix inconsistency in naming within an enum.

18 years agoAdd note about wsgiref
Andrew M. Kuchling [Fri, 9 Jun 2006 16:46:51 +0000 (16:46 +0000)]
Add note about wsgiref

18 years agoAdd note about XMLGenerator bugfix
Andrew M. Kuchling [Fri, 9 Jun 2006 16:44:40 +0000 (16:44 +0000)]
Add note about XMLGenerator bugfix

18 years agoImport wsgiref into the stdlib, as of the external version 0.1-r2181.
Phillip J. Eby [Fri, 9 Jun 2006 16:40:18 +0000 (16:40 +0000)]
Import wsgiref into the stdlib, as of the external version 0.1-r2181.

18 years agoTurn off warning about deprecated CRT functions on for VisualStudio .NET 2005.
Kristján Valur Jónsson [Fri, 9 Jun 2006 16:28:01 +0000 (16:28 +0000)]
Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.
Make the definition #ARRAYSIZE conditional.  VisualStudio .NET 2005 already has it defined using a better gimmick.

18 years ago[Bug #1472827] Make saxutils.XMLGenerator handle \r\n\t in attribute values by escapi...
Andrew M. Kuchling [Fri, 9 Jun 2006 13:15:57 +0000 (13:15 +0000)]
[Bug #1472827] Make saxutils.XMLGenerator handle \r\n\t in attribute values by escaping them properly.   2.4 bugfix candidate.

18 years agoMarkup fix
Andrew M. Kuchling [Fri, 9 Jun 2006 10:22:35 +0000 (10:22 +0000)]
Markup fix

18 years agoFix grammar and reflow
Neal Norwitz [Fri, 9 Jun 2006 05:54:18 +0000 (05:54 +0000)]
Fix grammar and reflow

18 years agoRemove the temporary hack to force test_optparse to
Tim Peters [Fri, 9 Jun 2006 05:12:40 +0000 (05:12 +0000)]
Remove the temporary hack to force test_optparse to
run immediately after test_file.  At least 8 buildbot
boxes passed since the underlying problem got fixed,
and they all failed before the fix, so there's no point
to this anymore.

18 years agotestUnicodeOpen(): I have no idea why, but making this
Tim Peters [Fri, 9 Jun 2006 04:02:06 +0000 (04:02 +0000)]
testUnicodeOpen():  I have no idea why, but making this
test clean up after itself appears to fix the test failures
when test_optparse follows test_file.

test_main():  Get rid of TESTFN no matter what.  That's
also enough to fix the mystery failures.  Doesn't hurt
to fix them twice :-)

18 years agoAutoFileTests.tearDown(): Removed mysterious undocumented
Tim Peters [Fri, 9 Jun 2006 03:51:41 +0000 (03:51 +0000)]
AutoFileTests.tearDown():  Removed mysterious undocumented
try/except.  Remove TESTFN.

Throughout:  used open() instead of file(), and wrapped
long lines.

18 years agoTo boost morale :-), force test_optparse to run immediately
Tim Peters [Fri, 9 Jun 2006 03:09:42 +0000 (03:09 +0000)]
To boost morale :-), force test_optparse to run immediately
after test_file until we can figure out how to fix it.
(See python-dev; at the moment we don't even know which checkin
caused the problem.)

18 years agoWhitespace normalization.
Tim Peters [Fri, 9 Jun 2006 02:11:02 +0000 (02:11 +0000)]
Whitespace normalization.

Since test_file is implicated in mysterious test failures
when followed by test_optparse, if I had any brains I'd
look at the checkin that last changed test_file ;-)

18 years agoUpdate functools section
Andrew M. Kuchling [Fri, 9 Jun 2006 01:10:17 +0000 (01:10 +0000)]
Update functools section

18 years agoBuffer objects would return the read or write buffer for a wrapped object when
Brett Cannon [Thu, 8 Jun 2006 17:00:45 +0000 (17:00 +0000)]
Buffer objects would return the read or write buffer for a wrapped object when
the char buffer was requested.  Now it actually returns the char buffer if
available or raises a TypeError if it isn't (as is raised for the other buffer
types if they are not present but requested).

Not a backport candidate since it does change semantics of the buffer object
(although it could be argued this is enough of a bug to bother backporting).

18 years agoMake binascii.hexlify() use s# for its arguments instead of t# to actually
Brett Cannon [Thu, 8 Jun 2006 16:23:04 +0000 (16:23 +0000)]
Make binascii.hexlify() use s# for its arguments instead of t# to actually
match its documentation stating it accepts any read-only buffer.

18 years agoConvert test_file to unittest.
Georg Brandl [Thu, 8 Jun 2006 14:50:53 +0000 (14:50 +0000)]
Convert test_file to unittest.

18 years agoBug #1502805: don't alias file.__exit__ to file.close since the
Georg Brandl [Thu, 8 Jun 2006 14:50:21 +0000 (14:50 +0000)]
Bug #1502805: don't alias file.__exit__ to file.close since the
latter can return something that's true.

18 years agoAdd functools.update_wrapper() and functools.wraps() as described in PEP 356
Nick Coghlan [Thu, 8 Jun 2006 13:54:49 +0000 (13:54 +0000)]
Add functools.update_wrapper() and functools.wraps() as described in PEP 356

18 years agoArgh. "integer" is a very confusing word ;)
Georg Brandl [Thu, 8 Jun 2006 13:31:07 +0000 (13:31 +0000)]
Argh. "integer" is a very confusing word ;)
Actually, checking for INT_MAX and INT_MIN is correct since
the format code explicitly handles a C "int".

18 years agoAdd news for recent bugfix.
Georg Brandl [Thu, 8 Jun 2006 12:55:47 +0000 (12:55 +0000)]
Add news for recent bugfix.

18 years agoBug #1502728: Correctly link against librt library on HP-UX.
Georg Brandl [Thu, 8 Jun 2006 12:54:13 +0000 (12:54 +0000)]
Bug #1502728: Correctly link against librt library on HP-UX.