]> granicus.if.org Git - python/log
python
19 years ago- SF Bug #1350188, "setdlopenflags" leads to crash upon "import"
Neal Norwitz [Wed, 9 Nov 2005 06:59:35 +0000 (06:59 +0000)]
- SF Bug #1350188, "setdlopenflags" leads to crash upon "import"
  It was possible dlerror() returns a NULL pointer, use a default error
  message in this case.

19 years agoFix typo in envvar name.
Brett Cannon [Mon, 7 Nov 2005 21:42:42 +0000 (21:42 +0000)]
Fix typo in envvar name.

19 years agoPatch by pythonic <pythonic@gmail.com> to support Fedora
Marc-André Lemburg [Mon, 7 Nov 2005 16:11:02 +0000 (16:11 +0000)]
Patch by pythonic <pythonic@gmail.com> to support Fedora
as Linux distro.

19 years agoAdded proper reflection on instances of <type 'method-wrapper'>, e.g.
Armin Rigo [Mon, 7 Nov 2005 08:38:00 +0000 (08:38 +0000)]
Added proper reflection on instances of <type 'method-wrapper'>, e.g.
'[].__add__', to match what the other internal descriptor types provide:
'__objclass__' attribute, '__self__' member, and reasonable repr and
comparison.

Added a test.

19 years agosvn:ignoring all .pyc and .pyo files in all subdirectories of Lib/ that contain
Armin Rigo [Mon, 7 Nov 2005 07:47:30 +0000 (07:47 +0000)]
svn:ignoring all .pyc and .pyo files in all subdirectories of Lib/ that contain
.py files.

19 years agosimilar to SF bug 847019: a quick check in the time() constructor, which
Armin Rigo [Mon, 7 Nov 2005 07:15:48 +0000 (07:15 +0000)]
similar to SF bug 847019: a quick check in the time() constructor, which
accepts strings only for unpickling reasons.  This check prevents the honest
mistake of passing a string like '2:59.0' to time() and getting an insane
object.

19 years agoFix SF bug #417833 (pydoc HTTP reload failure) by removing from
Ka-Ping Yee [Sat, 5 Nov 2005 05:04:41 +0000 (05:04 +0000)]
Fix SF bug #417833 (pydoc HTTP reload failure) by removing from
sys.modules all submodules of a the given module/package path
when trying to reload a module.

19 years agoAccept patch to resolve SF bug #651124.
Ka-Ping Yee [Sat, 5 Nov 2005 04:49:18 +0000 (04:49 +0000)]
Accept patch to resolve SF bug #651124.

19 years agoOops, forgot to add the output file to 41388.
Neal Norwitz [Thu, 3 Nov 2005 05:07:15 +0000 (05:07 +0000)]
Oops, forgot to add the output file to 41388.

19 years agoBug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Neal Norwitz [Thu, 3 Nov 2005 05:00:25 +0000 (05:00 +0000)]
Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()

Will backport.

19 years agoMake consistent with 2.4
Neal Norwitz [Thu, 3 Nov 2005 04:39:09 +0000 (04:39 +0000)]
Make consistent with 2.4

19 years agoChange time.strptime() to raise ValueError whenever there is an error in the
Brett Cannon [Wed, 2 Nov 2005 23:04:26 +0000 (23:04 +0000)]
Change time.strptime() to raise ValueError whenever there is an error in the
format string.  Before exceptions generated by the internal code propagated up
to the user and were not helpful.

Closes bug #1340337.

19 years agoAdd an import line to a code fragment.
Brett Cannon [Wed, 2 Nov 2005 22:58:12 +0000 (22:58 +0000)]
Add an import line to a code fragment.

Closes bug #1346395.

19 years agoAnother comment typo fix
Andrew M. Kuchling [Wed, 2 Nov 2005 16:36:12 +0000 (16:36 +0000)]
Another comment typo fix

19 years agoFix typo in comment.
Walter Dörwald [Wed, 2 Nov 2005 08:57:11 +0000 (08:57 +0000)]
Fix typo in comment.

19 years agoWhitespace cleanup.
Walter Dörwald [Wed, 2 Nov 2005 08:30:08 +0000 (08:30 +0000)]
Whitespace cleanup.

19 years agoFix SF #1345263, colorsys tests, bug in frange
Neal Norwitz [Wed, 2 Nov 2005 05:54:27 +0000 (05:54 +0000)]
Fix SF #1345263, colorsys tests, bug in frange

Fix a typo that caused step to be ignored.

Will backport.

19 years agoCleanup the previous checkin.
Neal Norwitz [Wed, 2 Nov 2005 05:36:37 +0000 (05:36 +0000)]
Cleanup the previous checkin.

Close the fd in the close method and invalidated it.  Don't try
to close a second time when deallocating.

19 years agoBug #1344508, Fix UNIX mmap leaking file descriptors. Will backport.
Neal Norwitz [Wed, 2 Nov 2005 05:26:07 +0000 (05:26 +0000)]
Bug #1344508, Fix UNIX mmap leaking file descriptors.  Will backport.

19 years agoException handling now raises KeyboardInterrupt and SystemExit rather than passing...
Vinay Sajip [Mon, 31 Oct 2005 14:27:01 +0000 (14:27 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError

19 years agoException handling now raises KeyboardInterrupt and SystemExit rather than passing...
Vinay Sajip [Mon, 31 Oct 2005 13:14:19 +0000 (13:14 +0000)]
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError

19 years agoRemove .cvsignore files, as they live in svn:ignore
Martin v. Löwis [Sun, 30 Oct 2005 22:01:41 +0000 (22:01 +0000)]
Remove .cvsignore files, as they live in svn:ignore
properties now.

19 years agoadd missing "and"
Fred Drake [Sun, 30 Oct 2005 04:29:49 +0000 (04:29 +0000)]
add missing "and"

19 years agoSF Bug #1341934: Fix a representation of "\n" to use a proper tag.
Hye-Shik Chang [Sun, 30 Oct 2005 03:05:27 +0000 (03:05 +0000)]
SF Bug #1341934: Fix a representation of "\n" to use a proper tag.

19 years agotest_directories(): This test had no chance of passing on
Tim Peters [Sun, 30 Oct 2005 01:15:38 +0000 (01:15 +0000)]
test_directories():  This test had no chance of passing on
Windows.  Hacked it to pass, but not sure it's worth the
bother.

19 years agoAdd *.pyc to svn:ignore.
Martin v. Löwis [Sat, 29 Oct 2005 19:40:21 +0000 (19:40 +0000)]
Add *.pyc to svn:ignore.
Add libpython*.a to .cvsignore and svn:ignore.

19 years ago_PyUnicode_IsWhitespace(),
Tim Peters [Sat, 29 Oct 2005 02:33:18 +0000 (02:33 +0000)]
_PyUnicode_IsWhitespace(),
_PyUnicode_IsLinebreak():
Changed the declarations to match the definitions.

Don't know why they differed; MSVC warned about it;
don't know why only these two functions use "const".
Someone who does may want to do something saner ;-).

19 years agoMinor update to HTTPHandler documentation to indicate that host:port can be used.
Vinay Sajip [Sat, 29 Oct 2005 00:40:15 +0000 (00:40 +0000)]
Minor update to HTTPHandler documentation to indicate that host:port can be used.

19 years agofix typos, mostly in comments
Fred Drake [Fri, 28 Oct 2005 14:39:47 +0000 (14:39 +0000)]
fix typos, mostly in comments

19 years agoPatch #1338314, Bug #1336623: fix tarfile so it can extract
Neal Norwitz [Fri, 28 Oct 2005 05:52:22 +0000 (05:52 +0000)]
Patch #1338314, Bug #1336623: fix tarfile so it can extract
REGTYPE directories from tarfiles written by old programs.

Will backport.

19 years agoUpdate instructions according to Dave Abrahams
Martin v. Löwis [Thu, 27 Oct 2005 18:56:22 +0000 (18:56 +0000)]
Update instructions according to Dave Abrahams
instructions.

19 years agoAdd Makefile which allows easily rebuilding the charmap codecs.
Marc-André Lemburg [Tue, 25 Oct 2005 11:55:01 +0000 (11:55 +0000)]
Add Makefile which allows easily rebuilding the charmap codecs.

19 years agoAdd custom mapping files used for generating some of the charmap
Marc-André Lemburg [Tue, 25 Oct 2005 11:54:04 +0000 (11:54 +0000)]
Add custom mapping files used for generating some of the charmap
codecs.

19 years agoApply some cosmetic fixes to the output of the script.
Marc-André Lemburg [Tue, 25 Oct 2005 11:53:33 +0000 (11:53 +0000)]
Apply some cosmetic fixes to the output of the script.

Only include the decoding map if no table can be generated.

19 years agoRefactor code for translating "power" nodes.
Neil Schemenauer [Tue, 25 Oct 2005 09:16:05 +0000 (09:16 +0000)]
Refactor code for translating "power" nodes.

19 years agoWrite a separate ast_for_testlist_gexp() function instead of overloading
Neil Schemenauer [Tue, 25 Oct 2005 07:54:54 +0000 (07:54 +0000)]
Write a separate ast_for_testlist_gexp() function instead of overloading
ast_for_testlist().  Also, write a ast_for_class_bases() function and in
the process fix a memory leak.  Add some assertions.

19 years agoEnsure that compiler_exit_scope() is called as necessary to free memory
Neil Schemenauer [Tue, 25 Oct 2005 06:30:14 +0000 (06:30 +0000)]
Ensure that compiler_exit_scope() is called as necessary to free memory
allocated by compiler_enter_scope().  Change return type for
compiler_exit_scope() to be void.

19 years agoCosmetic change: make all hex literals use upper case hex so that they
Marc-André Lemburg [Mon, 24 Oct 2005 12:14:59 +0000 (12:14 +0000)]
Cosmetic change: make all hex literals use upper case hex so that they
look more like the Unicode Consortium files.

Add ending new-line to all source files.

19 years agoRemoved the decoding_map from the codecs where this is possible.
Marc-André Lemburg [Mon, 24 Oct 2005 12:07:49 +0000 (12:07 +0000)]
Removed the decoding_map from the codecs where this is possible.

Replaced the tis_620, cp1140 and koi8_u codecs with new ones
based on custom mapping files.

19 years agouse PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIX...
Neal Norwitz [Mon, 24 Oct 2005 01:07:47 +0000 (01:07 +0000)]
use PyAPI_FUNC instead of DL_IMPORT.  are we going to deprecate the old non-Py PREFIXED macros, etc?

19 years agoDo not pollute name block_ty, prefix with _Py_
Neal Norwitz [Mon, 24 Oct 2005 00:30:44 +0000 (00:30 +0000)]
Do not pollute name block_ty, prefix with _Py_

19 years agoFix problem handling EXTENDED_ARGs from SF bug # 1333982
Neal Norwitz [Mon, 24 Oct 2005 00:08:10 +0000 (00:08 +0000)]
Fix problem handling EXTENDED_ARGs from SF bug # 1333982

19 years agoFix compiler test when run with -u (long mode)
Neal Norwitz [Mon, 24 Oct 2005 00:01:37 +0000 (00:01 +0000)]
Fix compiler test when run with -u (long mode)

19 years agoFix problem handling EXTENDED_ARGs from SF bug # 1333982
Neal Norwitz [Sun, 23 Oct 2005 23:00:41 +0000 (23:00 +0000)]
Fix problem handling EXTENDED_ARGs from SF bug # 1333982

19 years agocleanup a bit and reuse instrsize (instruction size). working towards fixing problem...
Neal Norwitz [Sun, 23 Oct 2005 22:40:47 +0000 (22:40 +0000)]
cleanup a bit and reuse instrsize (instruction size).  working towards fixing problems with EXTENDED_ARG

19 years agoOne-off "No handlers..." error message only raised if raiseExceptions is set.
Vinay Sajip [Sun, 23 Oct 2005 22:32:59 +0000 (22:32 +0000)]
One-off "No handlers..." error message only raised if raiseExceptions is set.

19 years agoAdd paragraphs on AST branch. AST'ers, please suggest corrections
Andrew M. Kuchling [Sun, 23 Oct 2005 21:52:59 +0000 (21:52 +0000)]
Add paragraphs on AST branch.  AST'ers, please suggest corrections

19 years agoAdd convenience makefile to check the latest what's new.
Andrew M. Kuchling [Sun, 23 Oct 2005 21:49:32 +0000 (21:49 +0000)]
Add convenience makefile to check the latest what's new.
The invocation of Python is MacOS-specific; not sure how to make it platform indepedent (but maybe it doesn't matter)

19 years agoUse PyErr_NoMemory() instead of rolling our own.
Neal Norwitz [Sun, 23 Oct 2005 19:22:48 +0000 (19:22 +0000)]
Use PyErr_NoMemory() instead of rolling our own.
Get rid of "int i" unused warnings from Python-ast.c which we are generating.

19 years agouse PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIX...
Neal Norwitz [Sun, 23 Oct 2005 19:06:02 +0000 (19:06 +0000)]
use PyAPI_FUNC instead of DL_IMPORT.  are we going to deprecate the old non-Py PREFIXED macros, etc?

19 years agoUse PyErr_NoMemory() instead of rolling our own.
Neal Norwitz [Sun, 23 Oct 2005 18:59:17 +0000 (18:59 +0000)]
Use PyErr_NoMemory() instead of rolling our own.
Get rid of "int i" unused warnings from Python-ast.c which we are generating.

19 years agoRemove unnecessary local variable.
Neil Schemenauer [Sun, 23 Oct 2005 18:52:36 +0000 (18:52 +0000)]
Remove unnecessary local variable.

19 years agoFix check_unoptimized() function. The only optimized namespaces are
Neil Schemenauer [Sun, 23 Oct 2005 18:50:36 +0000 (18:50 +0000)]
Fix check_unoptimized() function.  The only optimized namespaces are
in function blocks.  This elimiates spurious warnings about "import *" and
related statements at the class level.

19 years agoFix private name mangling. The symtable also must do mangles so that
Neil Schemenauer [Sun, 23 Oct 2005 18:37:42 +0000 (18:37 +0000)]
Fix private name mangling.  The symtable also must do mangles so that
the scope of names can be correctly determined.

19 years agoUse PyTuple_Pack instead of Py_BuildValue.
Neil Schemenauer [Sun, 23 Oct 2005 17:21:54 +0000 (17:21 +0000)]
Use PyTuple_Pack instead of Py_BuildValue.

19 years agoAdd news item for the new charmap codecs.
Marc-André Lemburg [Sun, 23 Oct 2005 13:43:40 +0000 (13:43 +0000)]
Add news item for the new charmap codecs.

19 years agoCorrect error to PyRun_SimpleString macro introduced in AST merge.
Mark Hammond [Sun, 23 Oct 2005 10:53:06 +0000 (10:53 +0000)]
Correct error to PyRun_SimpleString macro introduced in AST merge.

19 years agoRemove conflict markers and add parsermodule.c to get things building
Mark Hammond [Sun, 23 Oct 2005 10:50:04 +0000 (10:50 +0000)]
Remove conflict markers and add parsermodule.c to get things building

19 years agoAdd AST files to VC6 build.
Raymond Hettinger [Sun, 23 Oct 2005 04:47:13 +0000 (04:47 +0000)]
Add AST files to VC6 build.

19 years agoFix arigo's funky LOAD_NAME bug: implicit globals inside classes have
Neil Schemenauer [Sun, 23 Oct 2005 04:24:49 +0000 (04:24 +0000)]
Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have
historically been looked up using LOAD_NAME, not LOAD_GLOBAL.
looked up by LOAD_NAME, not

19 years agoDon't stop generating code for import statements after the first "import as"
Neil Schemenauer [Sun, 23 Oct 2005 03:45:42 +0000 (03:45 +0000)]
Don't stop generating code for import statements after the first "import as"
part.  Fixes one bug from #1333982.

19 years agoAdd an assert.
Neil Schemenauer [Sun, 23 Oct 2005 03:38:19 +0000 (03:38 +0000)]
Add an assert.

19 years agoRevert previous checkin:
Neal Norwitz [Sat, 22 Oct 2005 03:51:42 +0000 (03:51 +0000)]
Revert previous checkin:

According to Jeremy, the comment only made sense when
the yield was disallowed.  Now it's testing that the yield
is allowed, so it's not bad and the outer finally is irrelevant.

19 years agoRevert change, func_name of lambda's is back to <lambda>.
Neil Schemenauer [Fri, 21 Oct 2005 18:11:40 +0000 (18:11 +0000)]
Revert change, func_name of lambda's is back to <lambda>.

19 years agoUse <lamba> as the function name for lambdas (matches old compiler).
Neil Schemenauer [Fri, 21 Oct 2005 18:09:19 +0000 (18:09 +0000)]
Use <lamba> as the function name for lambdas (matches old compiler).

19 years agoFix a bunch of imports to use code.h instead of compile.h.
Jeremy Hylton [Fri, 21 Oct 2005 14:58:06 +0000 (14:58 +0000)]
Fix a bunch of imports to use code.h instead of compile.h.
Remove duplicate declarations from compile.h

19 years agoReplace the old EBCDIC codecs with new ones using the decoding table.
Marc-André Lemburg [Fri, 21 Oct 2005 14:35:35 +0000 (14:35 +0000)]
Replace the old EBCDIC codecs with new ones using the decoding table.

19 years agoAlias iso8859_1 to latin_1 which is the same encoding, but has
Marc-André Lemburg [Fri, 21 Oct 2005 14:02:28 +0000 (14:02 +0000)]
Alias iso8859_1 to latin_1 which is the same encoding, but has
a much faster codec implementation.

19 years agoAdd a few more Mac OS encodings. The mapping tables for these are
Marc-André Lemburg [Fri, 21 Oct 2005 13:58:32 +0000 (13:58 +0000)]
Add a few more Mac OS encodings. The mapping tables for these are
available at ftp.unicode.org.

19 years agoReplace the old charmap codecs with new ones generated from the current
Marc-André Lemburg [Fri, 21 Oct 2005 13:49:12 +0000 (13:49 +0000)]
Replace the old charmap codecs with new ones generated from the current
mapping tables available at ftp.unicode.org.

These new codecs include and use character decoding tables which speeds
up decoding by a few factors.

19 years agoAdd two new tools to compare codecs and show differences and to
Marc-André Lemburg [Fri, 21 Oct 2005 13:47:03 +0000 (13:47 +0000)]
Add two new tools to compare codecs and show differences and to
list all installed codecs.

19 years agoMoved gencodec.py to the Tools/unicode/ directory.
Marc-André Lemburg [Fri, 21 Oct 2005 13:45:17 +0000 (13:45 +0000)]
Moved gencodec.py to the Tools/unicode/ directory.

Added new support for decoding tables.

Cleaned up the implementation a bit.

19 years agoANSI-C-ify the placement of local var declarations.
Armin Rigo [Fri, 21 Oct 2005 12:57:31 +0000 (12:57 +0000)]
ANSI-C-ify the placement of local var declarations.

19 years agoFix bug:
Michael W. Hudson [Fri, 21 Oct 2005 11:45:01 +0000 (11:45 +0000)]
Fix bug:

1327110 ] wrong TypeError traceback in generator expressions

by removing the code that can stomp on the users' TypeError raised by the
iterable argument to ''.join() -- PySequence_Fast (now?) gives a perfectly
reasonable message itself.  Also, a couple of tests.

19 years agothe ast-branch changed the stack discipline of MAKE_CLOSURE, so we need to
Michael W. Hudson [Fri, 21 Oct 2005 11:32:20 +0000 (11:32 +0000)]
the ast-branch changed the stack discipline of MAKE_CLOSURE, so we need to
bump MAGIC.

19 years agoAdd 2.4.2 to LICENSE.
Georg Brandl [Fri, 21 Oct 2005 07:53:44 +0000 (07:53 +0000)]
Add 2.4.2 to LICENSE.

19 years agoadd some notes about recent checkins
Neal Norwitz [Fri, 21 Oct 2005 06:32:02 +0000 (06:32 +0000)]
add some notes about recent checkins

19 years agoGet the bug # write
Neal Norwitz [Fri, 21 Oct 2005 06:26:10 +0000 (06:26 +0000)]
Get the bug # write

19 years agoIncorrect code was generated for:
Neal Norwitz [Fri, 21 Oct 2005 06:25:33 +0000 (06:25 +0000)]
Incorrect code was generated for:

  foo(a = i for i in range(10))

This should have generated a SyntaxError.  Fix the Grammar so
it raises a SyntaxError and test it.

19 years agoFix SF bug #1167751, Argument genexp corner case
Neal Norwitz [Fri, 21 Oct 2005 06:24:02 +0000 (06:24 +0000)]
Fix SF bug #1167751, Argument genexp corner case

Incorrect code was generated for:

  foo(a = i for i in range(10))

This should have generated a SyntaxError.  Fix the Grammar so
it raises a SyntaxError and test it.

I'm uncertain whether this should be backported.  It makes
something that was Syntactically valid invalid.  However,
the code would either be completely broken or do the wrong thing.

19 years agoFree coding spec (cs) if there was an error to prevent mem leak. Maybe backport...
Neal Norwitz [Fri, 21 Oct 2005 06:05:33 +0000 (06:05 +0000)]
Free coding spec (cs) if there was an error to prevent mem leak.  Maybe backport candidate

19 years agoDon't use a string exception since it's deprecated
Neal Norwitz [Fri, 21 Oct 2005 06:00:24 +0000 (06:00 +0000)]
Don't use a string exception since it's deprecated

19 years agoOops, "=" is not a comparison operator
Neal Norwitz [Fri, 21 Oct 2005 05:15:07 +0000 (05:15 +0000)]
Oops, "=" is not a comparison operator

19 years agoAdd comment lost from AST merge
Neal Norwitz [Fri, 21 Oct 2005 04:34:18 +0000 (04:34 +0000)]
Add comment lost from AST merge

19 years agoRemove INT_MIN that came from the AST merge.
Neal Norwitz [Fri, 21 Oct 2005 04:33:02 +0000 (04:33 +0000)]
Remove INT_MIN that came from the AST merge.
INT_MIN is used in Python/compile.c, but it was also used
in Objects/abstract.c Python/getargs.c.  If we need it for compile.c,
we can get it from the same place as the other files.

19 years agoFix some mods that got dropped from the AST merge
Neal Norwitz [Fri, 21 Oct 2005 04:28:38 +0000 (04:28 +0000)]
Fix some mods that got dropped from the AST merge

19 years agoUse the newer names for APIs after the AST merge
Neal Norwitz [Fri, 21 Oct 2005 04:23:36 +0000 (04:23 +0000)]
Use the newer names for APIs after the AST merge

19 years agoRemove dup declarations after AST merge
Neal Norwitz [Fri, 21 Oct 2005 04:19:49 +0000 (04:19 +0000)]
Remove dup declarations after AST merge

19 years agoMerge ast-branch to head
Jeremy Hylton [Thu, 20 Oct 2005 19:59:25 +0000 (19:59 +0000)]
Merge ast-branch to head

This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.

The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.

19 years agoEnhance the performance of two important Unicode character
Marc-André Lemburg [Thu, 20 Oct 2005 19:06:35 +0000 (19:06 +0000)]
Enhance the performance of two important Unicode character
type lookups: whitespace and linebreak.

These lookup tables are from the Python 1.6 version with the addition
of the 205F code point which was added as whitespace code point to Unicode
since then.

19 years agoadd missing word
Fred Drake [Thu, 20 Oct 2005 17:52:05 +0000 (17:52 +0000)]
add missing word

19 years agoDisable some tests in anticipation of merging ast-branch to the head
Jeremy Hylton [Thu, 20 Oct 2005 14:27:21 +0000 (14:27 +0000)]
Disable some tests in anticipation of merging ast-branch to the head

19 years agoFind bsd db v4 on gentoo (2005 i think)
Neal Norwitz [Thu, 20 Oct 2005 05:28:29 +0000 (05:28 +0000)]
Find bsd db v4 on gentoo (2005 i think)

19 years agoFix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer)
Neal Norwitz [Thu, 20 Oct 2005 04:50:13 +0000 (04:50 +0000)]
Fix SF bug # 1330039, patch # 1331635 from Lars Gustaebel (tarfile maintainer)

Problem: if two files are assigned the same inode
number by the filesystem, the second one will be added
as a hardlink to the first, which means that the
content will be lost.

The patched code checks if the file's st_nlink is
greater 1. So only for files that actually have several
links pointing to them hardlinks will be created, which
is what GNU tar does.

Will backport.

19 years agoGet BSD DB working most for version 3.2
Neal Norwitz [Thu, 20 Oct 2005 04:36:08 +0000 (04:36 +0000)]
Get BSD DB working most for version 3.2

19 years agoGet bsddb module to compile with version 3.2 of BSD DB.
Neal Norwitz [Thu, 20 Oct 2005 04:30:15 +0000 (04:30 +0000)]
Get bsddb module to compile with version 3.2 of BSD DB.

19 years agoSF bug #1331563 ] string_subscript doesn't check for failed PyMem_Malloc. Will backport
Neal Norwitz [Thu, 20 Oct 2005 04:15:52 +0000 (04:15 +0000)]
SF bug #1331563 ] string_subscript doesn't check for failed PyMem_Malloc.  Will backport

19 years agoWhitespace corrections.
Marc-André Lemburg [Wed, 19 Oct 2005 22:39:02 +0000 (22:39 +0000)]
Whitespace corrections.

19 years agoBug fix for [ 1331062 ] utf 7 codec broken.
Marc-André Lemburg [Wed, 19 Oct 2005 22:33:31 +0000 (22:33 +0000)]
Bug fix for [ 1331062 ] utf 7 codec broken.

Backport candidate.

19 years agoSF bug #1328915, try to word kill a bit more generically. Backport candidate.
Neal Norwitz [Tue, 18 Oct 2005 05:07:49 +0000 (05:07 +0000)]
SF bug #1328915, try to word kill a bit more generically.  Backport candidate.