]> granicus.if.org Git - python/log
python
17 years agorevert change that breaks test_doctest (which I forgot to run - sorry)
Skip Montanaro [Sat, 24 Nov 2007 04:29:08 +0000 (04:29 +0000)]
revert change that breaks test_doctest (which I forgot to run - sorry)

17 years agoBackport of fixes from py3k branch
Christian Heimes [Sat, 24 Nov 2007 01:53:59 +0000 (01:53 +0000)]
Backport of fixes from py3k branch
svn merge -r59131:HEAD ../../py3k/PCbuild9/ .

17 years agoAdded filename to compiling struct based on Martin's suggestion.
Christian Heimes [Sat, 24 Nov 2007 01:36:02 +0000 (01:36 +0000)]
Added filename to compiling struct based on Martin's suggestion.
I'm wonder why I was trying to add the filename to the node all the time. The compiling struct is more obvious.

17 years agoTest cases from Cowlishaw, v2.57. All are pased cleanly.
Facundo Batista [Fri, 23 Nov 2007 18:14:50 +0000 (18:14 +0000)]
Test cases from Cowlishaw, v2.57. All are pased cleanly.

17 years agoMajor change in the internal structure of the Decimal
Facundo Batista [Fri, 23 Nov 2007 17:59:00 +0000 (17:59 +0000)]
Major change in the internal structure of the Decimal
number: now it does not store the mantissa as a tuple
of numbers, but as a string.

This avoids a lot of conversions, and achieves a
speedup of 40%. The API remains intact.

Thanks Mark Dickinson.

17 years agoissue 1429818
Skip Montanaro [Fri, 23 Nov 2007 17:12:47 +0000 (17:12 +0000)]
issue 1429818

17 years agoMake trace and doctest play nice together (issue 1429818). Will backport.
Skip Montanaro [Fri, 23 Nov 2007 17:08:35 +0000 (17:08 +0000)]
Make trace and doctest play nice together (issue 1429818).  Will backport.

17 years agoAdd item
Andrew M. Kuchling [Fri, 23 Nov 2007 13:37:39 +0000 (13:37 +0000)]
Add item

17 years agoAnd yet another fix for the patch. Paul Moore has send me a note that I've missed...
Christian Heimes [Fri, 23 Nov 2007 13:25:31 +0000 (13:25 +0000)]
And yet another fix for the patch. Paul Moore has send me a note that I've missed a declaration. The additional code has moved the declaration in the middle of the block.

17 years agoHow did the comment get there?
Christian Heimes [Fri, 23 Nov 2007 12:16:35 +0000 (12:16 +0000)]
How did the comment get there?

17 years agoFixed problems in the last commit. Filenames and line numbers weren't reported correctly.
Christian Heimes [Fri, 23 Nov 2007 12:12:02 +0000 (12:12 +0000)]
Fixed problems in the last commit. Filenames and line numbers weren't reported correctly.
Backquotes still don't report the correct file. The AST nodes only contain the line number but not the file name.

17 years agoApplied patch #1754273 and #1754271 from Thomas Glee
Christian Heimes [Fri, 23 Nov 2007 09:10:36 +0000 (09:10 +0000)]
Applied patch #1754273 and #1754271 from Thomas Glee
The patches are adding deprecation warnings for back ticks and <>

17 years agoBackport of PCbuild9 fixes from py3k r59130
Christian Heimes [Fri, 23 Nov 2007 07:05:03 +0000 (07:05 +0000)]
Backport of PCbuild9 fixes from py3k r59130

17 years agoFix a bug in the test for using __loader__.get_data().
Brett Cannon [Fri, 23 Nov 2007 00:06:51 +0000 (00:06 +0000)]
Fix a bug in the test for using __loader__.get_data().

17 years agoBackport of the PCbuild9 directory from the py3k branch.
Christian Heimes [Thu, 22 Nov 2007 11:21:16 +0000 (11:21 +0000)]
Backport of the PCbuild9 directory from the py3k branch.
I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k.
Have fun! :)

17 years agoBackport of _abccoll.py by Benjamin Arangueren, issue 1383.
Guido van Rossum [Thu, 22 Nov 2007 00:55:51 +0000 (00:55 +0000)]
Backport of _abccoll.py by Benjamin Arangueren, issue 1383.
With some changes of my own thrown in (e.g. backport of r58107).

17 years agoFinal fix for #1403
Christian Heimes [Wed, 21 Nov 2007 02:50:06 +0000 (02:50 +0000)]
Final fix for #1403
The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall.

17 years agoAdd a NEWS entry for r59076.
Amaury Forgeot d'Arc [Wed, 21 Nov 2007 01:38:26 +0000 (01:38 +0000)]
Add a NEWS entry for r59076.

17 years agoAdded NEWS entry
Christian Heimes [Wed, 21 Nov 2007 01:17:28 +0000 (01:17 +0000)]
Added NEWS entry
Thanks for the reminder, Brett

17 years agoAdd a missing check before deleting a package's __loader__.
Brett Cannon [Wed, 21 Nov 2007 00:58:03 +0000 (00:58 +0000)]
Add a missing check before deleting a package's __loader__.

17 years agodoctest assumed that a package's __loader__.get_data() method used universal
Brett Cannon [Wed, 21 Nov 2007 00:47:36 +0000 (00:47 +0000)]
doctest assumed that a package's __loader__.get_data() method used universal
newlines; it doesn't.  To rectify this the string returned replaces all
instances of os.linesep with '\n' to fake universal newline support.

Backport candidate.

17 years agoFixed #1372: zlibmodule.c: int overflow in PyZlib_decompress
Christian Heimes [Wed, 21 Nov 2007 00:46:21 +0000 (00:46 +0000)]
Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompress

17 years agoRemove a unneeded line that had typos.
Brett Cannon [Wed, 21 Nov 2007 00:16:20 +0000 (00:16 +0000)]
Remove a unneeded line that had typos.

17 years agoThe incremental decoder for utf-7 must preserve its state between calls.
Amaury Forgeot d'Arc [Tue, 20 Nov 2007 23:31:27 +0000 (23:31 +0000)]
The incremental decoder for utf-7 must preserve its state between calls.
Solves issue1460.

Might not be a backport candidate: a new API function was added,
and some code may rely on details in utf-7.py.

17 years agoBackport some main.c cleanup from the py3k branch
Nick Coghlan [Tue, 20 Nov 2007 14:55:57 +0000 (14:55 +0000)]
Backport some main.c cleanup from the py3k branch

17 years agoAnother fix for test_shutil. Martin pointed out that it breaks some build bots
Christian Heimes [Tue, 20 Nov 2007 03:21:02 +0000 (03:21 +0000)]
Another fix for test_shutil. Martin pointed out that it breaks some build bots

17 years agoPatch #1468: Package Lib/test/*.pem.
Martin v. Löwis [Tue, 20 Nov 2007 02:46:02 +0000 (02:46 +0000)]
Patch #1468: Package Lib/test/*.pem.

17 years agoFixed bug #1470
Christian Heimes [Tue, 20 Nov 2007 01:48:48 +0000 (01:48 +0000)]
Fixed bug #1470

17 years agoFix the OSX failures in this test -- they were due to /tmp being a symlink
Guido van Rossum [Mon, 19 Nov 2007 17:50:22 +0000 (17:50 +0000)]
Fix the OSX failures in this test -- they were due to /tmp being a symlink
to /private/tmp.  Adding a call to os.path.realpath() to temp_dir() fixed it.

17 years agoMake this work stand-alone, too.
Guido van Rossum [Mon, 19 Nov 2007 17:35:24 +0000 (17:35 +0000)]
Make this work stand-alone, too.

17 years agoFixed detail in add_type() explanation (issue 1463).
Facundo Batista [Mon, 19 Nov 2007 16:30:24 +0000 (16:30 +0000)]
Fixed detail in add_type() explanation (issue 1463).

17 years agoEnable some test_cmd_line_script debugging output to investigate failure on Mac OSX...
Nick Coghlan [Mon, 19 Nov 2007 13:56:27 +0000 (13:56 +0000)]
Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot

17 years agoFix for #1444: utf_8_sig.StreamReader was (indirectly through decode())
Walter Dörwald [Mon, 19 Nov 2007 12:41:10 +0000 (12:41 +0000)]
Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode())
calling codecs.utf_8_decode() with final==True, which falled with incomplete
byte sequences. Fix and test by James G. Sack.

17 years agoFix typo in comment.
Walter Dörwald [Mon, 19 Nov 2007 12:14:05 +0000 (12:14 +0000)]
Fix typo in comment.

17 years agoUse a slightly more recent version than 1.5.2b2.
Neal Norwitz [Mon, 19 Nov 2007 01:46:20 +0000 (01:46 +0000)]
Use a slightly more recent version than 1.5.2b2.

17 years agoPatch #1739468: Directories and zipfiles containing __main__.py are now executable
Nick Coghlan [Sun, 18 Nov 2007 11:56:28 +0000 (11:56 +0000)]
Patch #1739468: Directories and zipfiles containing __main__.py are now executable

17 years agoRemove a confusing sentence about pth files and which directories are searched
Brett Cannon [Sat, 17 Nov 2007 07:07:29 +0000 (07:07 +0000)]
Remove a confusing sentence about pth files and which directories are searched
for them.

Closes issue #1431.  Thanks Giambattista Bloisi for the help.

17 years agoFix signature in example
Raymond Hettinger [Sat, 17 Nov 2007 01:51:22 +0000 (01:51 +0000)]
Fix signature in example

17 years agoMade _ParseTupleFinds only defined to unicodeobject.c
Facundo Batista [Fri, 16 Nov 2007 19:16:15 +0000 (19:16 +0000)]
Made _ParseTupleFinds only defined to unicodeobject.c

17 years agoFix for stupid error (I need to remember to do a full 'make clean + make'
Facundo Batista [Fri, 16 Nov 2007 18:41:24 +0000 (18:41 +0000)]
Fix for stupid error (I need to remember to do a full 'make clean + make'
cycle before the tests...). Sorry.

17 years agoNow in find, rfind, index, and rindex, you can use None as defaults,
Facundo Batista [Fri, 16 Nov 2007 18:04:14 +0000 (18:04 +0000)]
Now in find, rfind, index, and rindex, you can use None as defaults,
as usual with slicing (both with str and unicode strings).  This
fixes issue 1259.

For str only the stringobject.c file was modified.  But for unicode,
I needed to repeat in the four functions a lot of code, so created
a new function that does part of the job for them (and placed it in
find.h, following a suggestion of Barry).

Also added tests for this behaviour.

17 years agoA patch from issue 1378 by roudkerk:
Guido van Rossum [Fri, 16 Nov 2007 00:24:44 +0000 (00:24 +0000)]
A patch from issue 1378 by roudkerk:

Currently on Windows set_error() make use of a large array which maps
socket error numbers to error messages.

This patch removes that array and just lets PyErr_SetExcFromWindowsErr()
generate the message by using the Win32 function FormatMessage().

17 years agoadd the certificate for the Python SVN repository for testing SSL
Bill Janssen [Thu, 15 Nov 2007 23:03:03 +0000 (23:03 +0000)]
add the certificate for the Python SVN repository for testing SSL

17 years agoAdd example for use cases requiring default values.
Raymond Hettinger [Thu, 15 Nov 2007 22:39:34 +0000 (22:39 +0000)]
Add example for use cases requiring default values.

17 years agoExample of multiple replacements.
Raymond Hettinger [Thu, 15 Nov 2007 03:16:09 +0000 (03:16 +0000)]
Example of multiple replacements.

17 years agoFixup example in docs.
Raymond Hettinger [Thu, 15 Nov 2007 02:58:20 +0000 (02:58 +0000)]
Fixup example in docs.

17 years agoSmall improvement to the implementation of __replace__().
Raymond Hettinger [Thu, 15 Nov 2007 02:55:42 +0000 (02:55 +0000)]
Small improvement to the implementation of __replace__().

17 years agoAccept Issac Morland's suggestion for __replace__ to allow multiple replacements
Raymond Hettinger [Thu, 15 Nov 2007 02:44:53 +0000 (02:44 +0000)]
Accept Issac Morland's suggestion for __replace__ to allow multiple replacements
(suprisingly, this simplifies the signature, improves clarity, and is comparably fast).
Update the docs to reflect a previous change to the function name.
Add an example to the docs showing how to override the default __repr__ method.

17 years agoAdd test for __fields__ being read-only
Raymond Hettinger [Wed, 14 Nov 2007 23:02:30 +0000 (23:02 +0000)]
Add test for __fields__ being read-only

17 years agoMake __fields__ read-only. Suggested by Issac Morland
Raymond Hettinger [Wed, 14 Nov 2007 22:56:16 +0000 (22:56 +0000)]
Make __fields__ read-only.  Suggested by Issac Morland

17 years agoRemove dead link from random docs.
Georg Brandl [Wed, 14 Nov 2007 13:59:09 +0000 (13:59 +0000)]
Remove dead link from random docs.

17 years agoMerge from py3k branch:
Amaury Forgeot d'Arc [Tue, 13 Nov 2007 21:54:28 +0000 (21:54 +0000)]
Merge from py3k branch:
Correction for issue1265 (pdb bug with "with" statement).

When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
is called with a GeneratorExit exception set.  This leads to funny results
if the sys.settrace function itself makes use of generators.
A visible effect is that the settrace function is reset to None.
Another is that the eventual "finally" block of the generator is not called.

It is necessary to save/restore the exception around the call to the trace
function.

This happens a lot with py3k: isinstance() of an ABCMeta instance runs
    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})
which lets an opened generator expression each time it returns True.

Backport candidate, even if the case is less frequent in 2.5.

17 years agoAdd the test from issue 1704621 (the issue itself is already fixed here).
Guido van Rossum [Mon, 12 Nov 2007 20:06:40 +0000 (20:06 +0000)]
Add the test from issue 1704621 (the issue itself is already fixed here).

17 years agoreadline module cleanup
Christian Heimes [Mon, 12 Nov 2007 18:58:08 +0000 (18:58 +0000)]
readline module cleanup
fixed indention to tabs
use Py_RETURN_NONE macro
added more error checks to on_completion_display_matches_hook

open question: Does PyList_SetItem(l, i, o) steal a reference to o in the case of an error?

17 years agoFix TextCalendar.prweek(). This closes issue #1427.
Walter Dörwald [Mon, 12 Nov 2007 10:01:33 +0000 (10:01 +0000)]
Fix TextCalendar.prweek(). This closes issue #1427.

17 years agoPatch #1418: Make the AC_REPLACE_FUNCS object files actually work.
Martin v. Löwis [Mon, 12 Nov 2007 05:14:05 +0000 (05:14 +0000)]
Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.

17 years agoOnly set rl_completion_display_matches_hook if there
Martin v. Löwis [Mon, 12 Nov 2007 04:53:02 +0000 (04:53 +0000)]
Only set rl_completion_display_matches_hook if there
is a Python hook function. Fixes #1425.

17 years agoRe-word sentence
Andrew M. Kuchling [Mon, 12 Nov 2007 01:25:21 +0000 (01:25 +0000)]
Re-word sentence

17 years agoFix for #1427: Error in standard module calendar
Christian Heimes [Mon, 12 Nov 2007 01:20:56 +0000 (01:20 +0000)]
Fix for #1427: Error in standard module calendar
the prweek() method is still broken and I can't figure out how it suppose to work.

17 years agoAdded new decorator syntax to property.__doc__
Christian Heimes [Mon, 12 Nov 2007 01:15:40 +0000 (01:15 +0000)]
Added new decorator syntax to property.__doc__
Guido prefers _x over __x.

17 years agoRemove duplication of "this".
Georg Brandl [Sun, 11 Nov 2007 15:16:16 +0000 (15:16 +0000)]
Remove duplication of "this".

17 years agoFixed a bug reported (in private email, by Robert Crida) in logging configuration...
Vinay Sajip [Sun, 11 Nov 2007 14:27:30 +0000 (14:27 +0000)]
Fixed a bug reported (in private email, by Robert Crida) in logging configuration whereby child loggers of a logger named in a configuration file, which are not themselves named in the configuration, are disabled when the configuration is applied.

17 years agoIssue 1416. Add getter, setter, deleter methods to properties that can be
Guido van Rossum [Sat, 10 Nov 2007 22:12:24 +0000 (22:12 +0000)]
Issue 1416.  Add getter, setter, deleter methods to properties that can be
used as decorators to create fully-populated properties.

17 years agoUse a freelist to speed-up block allocation and deallocation in collections.deque().
Raymond Hettinger [Sat, 10 Nov 2007 01:54:03 +0000 (01:54 +0000)]
Use a freelist to speed-up block allocation and deallocation in collections.deque().

17 years agoOptimize common case for dict.fromkeys().
Raymond Hettinger [Fri, 9 Nov 2007 23:14:44 +0000 (23:14 +0000)]
Optimize common case for dict.fromkeys().

17 years agoAdd Amaury Forgeot d'Arc.
Martin v. Löwis [Fri, 9 Nov 2007 22:56:30 +0000 (22:56 +0000)]
Add Amaury Forgeot d'Arc.

17 years agoCorrect a comment about testing methods - nowadays most
Georg Brandl [Fri, 9 Nov 2007 17:33:23 +0000 (17:33 +0000)]
Correct a comment about testing methods - nowadays most
tests don't run directly on import.

17 years agoFix misleading example.
Georg Brandl [Fri, 9 Nov 2007 13:08:48 +0000 (13:08 +0000)]
Fix misleading example.

17 years agoFix seealso link to sets docs. Do not merge to Py3k.
Georg Brandl [Fri, 9 Nov 2007 12:31:43 +0000 (12:31 +0000)]
Fix seealso link to sets docs. Do not merge to Py3k.

17 years agoReposition the decref (spotted by eagle-eye norwitz).
Raymond Hettinger [Thu, 8 Nov 2007 18:47:51 +0000 (18:47 +0000)]
Reposition the decref (spotted by eagle-eye norwitz).

17 years agoAdd set.isdisjoint()
Raymond Hettinger [Thu, 8 Nov 2007 02:52:43 +0000 (02:52 +0000)]
Add set.isdisjoint()

17 years agoBackport of Guido's review of my patch.
Christian Heimes [Wed, 7 Nov 2007 18:30:22 +0000 (18:30 +0000)]
Backport of Guido's review of my patch.

17 years agoBackported fix for bug #1392 from py3k branch r58903.
Christian Heimes [Wed, 7 Nov 2007 17:50:54 +0000 (17:50 +0000)]
Backported fix for bug #1392 from py3k branch r58903.

17 years agoAdd missing NEWS entry
Nick Coghlan [Wed, 7 Nov 2007 11:57:51 +0000 (11:57 +0000)]
Add missing NEWS entry

17 years agoAdd build option for faster loop execution.
Raymond Hettinger [Wed, 7 Nov 2007 02:45:46 +0000 (02:45 +0000)]
Add build option for faster loop execution.

17 years agoOptimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset counts...
Raymond Hettinger [Wed, 7 Nov 2007 02:26:17 +0000 (02:26 +0000)]
Optimize dict.fromkeys() with dict inputs.  Useful for resetting bag/muliset counts for example.

17 years agoFix marshal's incorrect handling of subclasses of builtin types (backport candidate).
Raymond Hettinger [Wed, 7 Nov 2007 01:13:09 +0000 (01:13 +0000)]
Fix marshal's incorrect handling of subclasses of builtin types (backport candidate).

17 years agoAdd missing "return NULL" in overflow check in PyObject_Repr().
Guido van Rossum [Tue, 6 Nov 2007 23:32:56 +0000 (23:32 +0000)]
Add missing "return NULL" in overflow check in PyObject_Repr().

17 years agoFixes Issue 1385: The hmac module now computes the correct hmac when using
Gregory P. Smith [Tue, 6 Nov 2007 00:19:03 +0000 (00:19 +0000)]
Fixes Issue 1385: The hmac module now computes the correct hmac when using
hashes with a block size other than 64 bytes (such as sha384 and sha512).

17 years agoClarified the fact that you can have comments for individual archive
Mark Summerfield [Mon, 5 Nov 2007 14:38:50 +0000 (14:38 +0000)]
Clarified the fact that you can have comments for individual archive
members even though comments to the archive itself aren't currently
supported.

17 years agoAdded cross-references between the various archive file formats.
Mark Summerfield [Mon, 5 Nov 2007 09:22:48 +0000 (09:22 +0000)]
Added cross-references between the various archive file formats.

17 years ago* db->get_flags is only available in BerkeleyDB >= 4.2
Gregory P. Smith [Mon, 5 Nov 2007 09:07:40 +0000 (09:07 +0000)]
* db->get_flags is only available in BerkeleyDB >= 4.2

17 years ago * db->get_types is only available in BerkeleyDB >= 4.2
Gregory P. Smith [Mon, 5 Nov 2007 09:06:28 +0000 (09:06 +0000)]
 * db->get_types is only available in BerkeleyDB >= 4.2
 * get compiling with older versions of python again for a stand alone release.

17 years agoAdd the bsddb.db.DBEnv.lock_id_free method.
Gregory P. Smith [Mon, 5 Nov 2007 02:56:31 +0000 (02:56 +0000)]
Add the bsddb.db.DBEnv.lock_id_free method.
Improve test_lock's tempdir creation and cleanup.

17 years agoFixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and
Gregory P. Smith [Mon, 5 Nov 2007 02:32:26 +0000 (02:32 +0000)]
Fixes bug 477182 on pybsddb.sf.net.  DB objects now load the flags and
pay attention to them when opening an existing database.  This means
that d[] behaves properly even on databases previously created with DB_DUP
or DB_DUPSORT flags to allow duplicate keys.

http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900

Do not backport, this bugfix could be considered an API change.

17 years agoFix syntax for versionchanged markup.
Georg Brandl [Sun, 4 Nov 2007 17:43:49 +0000 (17:43 +0000)]
Fix syntax for versionchanged markup.

17 years agoNote change to get_dialect semantics in 2.5. Will backport to 2.5.
Skip Montanaro [Sun, 4 Nov 2007 15:56:52 +0000 (15:56 +0000)]
Note change to get_dialect semantics in 2.5.  Will backport to 2.5.

17 years agoAdd a missing quotation mark.
Brett Cannon [Sat, 3 Nov 2007 06:47:02 +0000 (06:47 +0000)]
Add a missing quotation mark.

17 years agoMake "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
Georg Brandl [Fri, 2 Nov 2007 20:06:17 +0000 (20:06 +0000)]
Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
I hope the concept of hashability is better understandable now.
Thanks to Tim Hatch for pointing out the flaws here.

17 years agoEnable the full ctypes c_longdouble tests again.
Thomas Heller [Fri, 2 Nov 2007 19:11:23 +0000 (19:11 +0000)]
Enable the full ctypes c_longdouble tests again.

17 years agoIssue #1292: On alpha, arm, ppc, and s390 linux systems the
Thomas Heller [Fri, 2 Nov 2007 19:10:24 +0000 (19:10 +0000)]
Issue #1292: On alpha, arm, ppc, and s390 linux systems the
--with-system-ffi configure option defaults to "yes" because the
bundled libffi sources are too old.

17 years agoFix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)
Nick Coghlan [Fri, 2 Nov 2007 10:09:12 +0000 (10:09 +0000)]
Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)

17 years agoAdded more file-handling related cross-references.
Mark Summerfield [Fri, 2 Nov 2007 08:24:59 +0000 (08:24 +0000)]
Added more file-handling related cross-references.

17 years agofalse "fix" undone as correct problem was found and fixed.
Gregory P. Smith [Thu, 1 Nov 2007 21:17:47 +0000 (21:17 +0000)]
false "fix" undone as correct problem was found and fixed.

17 years agoUndo revision 58533 58534 fixes. Those were a workaround for
Gregory P. Smith [Thu, 1 Nov 2007 21:15:36 +0000 (21:15 +0000)]
Undo revision 58533 58534 fixes.  Those were a workaround for
a problem introduced by 58385.

17 years agoFix bug introduced in revision 58385. Database keys could no longer
Gregory P. Smith [Thu, 1 Nov 2007 21:08:14 +0000 (21:08 +0000)]
Fix bug introduced in revision 58385.  Database keys could no longer
have NULL bytes in them.  Replace the errant strdup with a
malloc+memcpy.  Adds a unit test for the correct behavior.

17 years agoFix markup glitch.
Georg Brandl [Thu, 1 Nov 2007 20:37:02 +0000 (20:37 +0000)]
Fix markup glitch.

17 years agoRemoved non ASCII text from test as requested by Guido. Sorry :/
Christian Heimes [Thu, 1 Nov 2007 20:11:06 +0000 (20:11 +0000)]
Removed non ASCII text from test as requested by Guido. Sorry :/

17 years agoBackport of import tests for bug http://bugs.python.org/issue1293 and bug http:/...
Christian Heimes [Thu, 1 Nov 2007 19:48:10 +0000 (19:48 +0000)]
Backport of import tests for bug http://bugs.python.org/issue1293 and bug http://bugs.python.org/issue1342

17 years ago#1364: os.lstat is available on Windows too, as an alias to os.stat.
Georg Brandl [Thu, 1 Nov 2007 17:19:33 +0000 (17:19 +0000)]
#1364: os.lstat is available on Windows too, as an alias to os.stat.