]> granicus.if.org Git - python/log
python
19 years agoBetter indentation after first line of string continuation.
Kurt B. Kaiser [Tue, 15 Nov 2005 07:20:06 +0000 (07:20 +0000)]
Better indentation after first line of string continuation.
IDLEfork Patch 681992, Noam Raphael

19 years agoFix another memory leak or two (one real, one potential)
Neal Norwitz [Tue, 15 Nov 2005 07:17:53 +0000 (07:17 +0000)]
Fix another memory leak or two (one real, one potential)

19 years agoAdd a note about how to do the memory deallocation a bit.
Neal Norwitz [Tue, 15 Nov 2005 05:09:44 +0000 (05:09 +0000)]
Add a note about how to do the memory deallocation a bit.
This needs a lot of work.

19 years agoFix a whole bunch of potential memory leaks (and some real ones too)
Neal Norwitz [Tue, 15 Nov 2005 05:04:31 +0000 (05:04 +0000)]
Fix a whole bunch of potential memory leaks (and some real ones too)
in error conditions.

19 years agoPrevent unlikely memory leak, tok should always be freed when parsetok() returns
Neal Norwitz [Tue, 15 Nov 2005 04:54:23 +0000 (04:54 +0000)]
Prevent unlikely memory leak, tok should always be freed when parsetok() returns

19 years agoThou shalt not lie, there are really 5 types now
Neal Norwitz [Tue, 15 Nov 2005 04:52:16 +0000 (04:52 +0000)]
Thou shalt not lie, there are really 5 types now

19 years agoConvert all internal errors from Exception to SystemError
Neal Norwitz [Mon, 14 Nov 2005 04:25:03 +0000 (04:25 +0000)]
Convert all internal errors from Exception to SystemError
Remove an abort() and let a SystemError be raised.

19 years agoUse convenience function
Neal Norwitz [Mon, 14 Nov 2005 00:47:57 +0000 (00:47 +0000)]
Use convenience function

19 years agoFix memory leak with bad generator expression
Neal Norwitz [Mon, 14 Nov 2005 00:18:03 +0000 (00:18 +0000)]
Fix memory leak with bad generator expression

19 years agoremove useless debug print helper. fix a couple of exceptions
Neal Norwitz [Sun, 13 Nov 2005 21:17:28 +0000 (21:17 +0000)]
remove useless debug print helper.  fix a couple of exceptions

19 years agoWhoops, checkin consistent versions of *all* files to stop polluting
Neal Norwitz [Sun, 13 Nov 2005 19:14:20 +0000 (19:14 +0000)]
Whoops, checkin consistent versions of *all* files to stop polluting
a bunch of names

19 years agoUpdated gentoo to 2005.0
Neal Norwitz [Sun, 13 Nov 2005 18:58:32 +0000 (18:58 +0000)]
Updated gentoo to 2005.0

19 years agoDo a better job of not inlining Py_ADDRESS_IN_RANGE() for newer gcc's.
Neal Norwitz [Sun, 13 Nov 2005 18:55:39 +0000 (18:55 +0000)]
Do a better job of not inlining Py_ADDRESS_IN_RANGE() for newer gcc's.
Perhaps Py_NO_INLINE should be moved to pyport.h or some other header?

19 years agoFix a lot of memory and ref leaks in error paths.
Neal Norwitz [Sun, 13 Nov 2005 18:50:34 +0000 (18:50 +0000)]
Fix a lot of memory and ref leaks in error paths.
(Call symtable_exit_block or compiler_exit_scope as appropriate)

Use PyMem_Free on c_future since it was allocated with PyMem_Malloc

19 years agoPrevent name pollution by making lots of internal functions static.
Neal Norwitz [Sun, 13 Nov 2005 18:41:28 +0000 (18:41 +0000)]
Prevent name pollution by making lots of internal functions static.

19 years agodelete Python-ast.[ch] in distclean
Skip Montanaro [Sun, 13 Nov 2005 15:54:15 +0000 (15:54 +0000)]
delete Python-ast.[ch] in distclean

19 years agomake internal method static
Neal Norwitz [Sun, 13 Nov 2005 01:08:38 +0000 (01:08 +0000)]
make internal method static

19 years agoSF#1343671.
Fredrik Lundh [Sat, 12 Nov 2005 15:55:04 +0000 (15:55 +0000)]
SF#1343671.

The removedirs function removes empty directories, it doesn't
empty them.

19 years ago r903@spiff: Fredrik | 2005-11-12 16:28:37 +0100
Fredrik Lundh [Sat, 12 Nov 2005 15:28:52 +0000 (15:28 +0000)]
 r903@spiff:  Fredrik | 2005-11-12 16:28:37 +0100
 removed outdated copyright notices (etc)

19 years ago r879@spiff: Fredrik | 2005-11-12 14:38:03 +0100
Fredrik Lundh [Sat, 12 Nov 2005 15:21:05 +0000 (15:21 +0000)]
 r879@spiff:  Fredrik | 2005-11-12 14:38:03 +0100
  r878@spiff:  Fredrik | 2005-11-12 14:37:22 +0100
  minor docstring and comment tweaks (wikipedia might not be the
  ultimate reference, but it's a lot better than "XXX" ;-)

19 years ago r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100
Fredrik Lundh [Sat, 12 Nov 2005 10:15:14 +0000 (10:15 +0000)]
 r858@spiff:  Fredrik | 2005-11-10 23:40:04 +0100
 #1346547

 added basic error checking to the STARTUPINFO code
 in CreateProcess.

19 years ago r849@spiff: Fredrik | 2005-11-09 10:00:04 +0100
Fredrik Lundh [Sat, 12 Nov 2005 10:15:03 +0000 (10:15 +0000)]
 r849@spiff:  Fredrik | 2005-11-09 10:00:04 +0100
 fixed resource leak in _subprocess.CreateProcess when using
 explicit environments

19 years agoupdate busted comment
Fred Drake [Fri, 11 Nov 2005 19:34:56 +0000 (19:34 +0000)]
update busted comment

19 years agoChange PrettyPrinter.pprint(), so that output is written directly to the
Walter Dörwald [Fri, 11 Nov 2005 18:18:51 +0000 (18:18 +0000)]
Change PrettyPrinter.pprint(), so that output is written directly to the
output stream, instead of writing it to a StringIO first and writing the
result of this to the output stream. This should speed up the initial
output.

19 years agoBug #1338995: fix problem with new webbrowser.py.
Georg Brandl [Wed, 9 Nov 2005 21:42:48 +0000 (21:42 +0000)]
Bug #1338995: fix problem with new webbrowser.py.

19 years agoFix typos.
Walter Dörwald [Wed, 9 Nov 2005 17:12:43 +0000 (17:12 +0000)]
Fix typos.

19 years agoFixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting...
Vinay Sajip [Wed, 9 Nov 2005 13:55:13 +0000 (13:55 +0000)]
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)

19 years agoSF Bug #1348477, regextest can't be pydoc'ed. Will backport.
Neal Norwitz [Wed, 9 Nov 2005 07:07:58 +0000 (07:07 +0000)]
SF Bug #1348477, regextest can't be pydoc'ed.  Will backport.

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.