]> granicus.if.org Git - python/log
python
21 years agoComment typo fix
Andrew M. Kuchling [Thu, 6 Feb 2003 15:22:49 +0000 (15:22 +0000)]
Comment typo fix

21 years agoMention FutureWarning for large ints
Andrew M. Kuchling [Thu, 6 Feb 2003 15:14:04 +0000 (15:14 +0000)]
Mention FutureWarning for large ints

21 years agoFix description of filterwarnings() parameters (error noted by Richard Jones at
Andrew M. Kuchling [Thu, 6 Feb 2003 14:38:45 +0000 (14:38 +0000)]
Fix description of filterwarnings() parameters (error noted by Richard Jones at
http://mechanicalcat.net/cgi-bin/log/python/turning_warnings_off.html)

21 years agoProvide version changed info
Neal Norwitz [Thu, 6 Feb 2003 05:02:39 +0000 (05:02 +0000)]
Provide version changed info

21 years agoUpdated version of [ 558544 ] cmd.py: add instance-specific stdin/out
Anthony Baxter [Thu, 6 Feb 2003 01:45:11 +0000 (01:45 +0000)]
Updated version of [ 558544 ] cmd.py: add instance-specific stdin/out

This patch adds stdin, stdout as optional arguments to the cmd.Cmd
constructor (defaulting to sys.stdin, sys.stdout), and changes the Cmd
methods throughout to use self.stdout.write() and self.stdin.foo for
output and input. This allows much greater flexibility for using cmd -
for instance, hooking it into a telnet server.

Patch for library module and for documentation.

21 years agoSmall function call optimization and special build option for call stats.
Jeremy Hylton [Wed, 5 Feb 2003 23:13:00 +0000 (23:13 +0000)]
Small function call optimization and special build option for call stats.

-DCALL_PROFILE: Count the number of function calls executed.

When this symbol is defined, the ceval mainloop and helper functions
count the number of function calls made.  It keeps detailed statistics
about what kind of object was called and whether the call hit any of
the special fast paths in the code.

Optimization:

When we take the fast_function() path, which seems to be taken for
most function calls, and there is minimal frame setup to do, avoid
call PyEval_EvalCodeEx().  The eval code ex function does a lot of
work to handle keywords args and star args, free variables,
generators, etc.  The inlined version simply allocates the frame and
copies the arguments values into the frame.

The optimization gets a little help from compile.c which adds a
CO_NOFREE flag to code objects that don't have free variables or cell
variables.  This change allows fast_function() to get into the fast
path with fewer tests.

I measure a couple of percent speedup in pystone with this change, but
there's surely more that can be done.

21 years agoGot rid of macfs and made a bit more OSX-friendly.
Jack Jansen [Wed, 5 Feb 2003 23:10:46 +0000 (23:10 +0000)]
Got rid of macfs and made a bit more OSX-friendly.

21 years agoremoving old junk
Just van Rossum [Wed, 5 Feb 2003 22:59:07 +0000 (22:59 +0000)]
removing old junk

21 years agoRemoved unused import of macfs.
Jack Jansen [Wed, 5 Feb 2003 22:53:29 +0000 (22:53 +0000)]
Removed unused import of macfs.

21 years agoI don't think this script serves a useful purpose anymore, and I can't
Jack Jansen [Wed, 5 Feb 2003 22:52:16 +0000 (22:52 +0000)]
I don't think this script serves a useful purpose anymore, and I can't
be bothered to fix it.

21 years agoFix for SF #668433. I'm not explaining it here; ample comments are in
Guido van Rossum [Wed, 5 Feb 2003 22:39:45 +0000 (22:39 +0000)]
Fix for SF #668433.  I'm not explaining it here; ample comments are in
the code.

21 years agoRefactor the logic for setting f_builtins.
Jeremy Hylton [Wed, 5 Feb 2003 22:39:29 +0000 (22:39 +0000)]
Refactor the logic for setting f_builtins.

For the case where the current globals match the previous frame's
globals, eliminates three tests in two if statements.  For the case
where we just get __builtins__ from a module, eliminate a couple of
tests.

21 years ago[Patch #654421 from Matthew Mueller]
Andrew M. Kuchling [Wed, 5 Feb 2003 21:35:07 +0000 (21:35 +0000)]
[Patch #654421 from Matthew Mueller]
  gzip shouldn't raise ValueError on corrupt files

  Currently the gzip module will raise a ValueError if the file was
  corrupt (bad crc or bad size).  I can't see how that applies to
  reading a corrupt file.  IOError seems better, and it's what code
  will likely be looking for.

21 years agoMarkup fixes; in particular, the tables are now reasonable width
Andrew M. Kuchling [Wed, 5 Feb 2003 21:15:38 +0000 (21:15 +0000)]
Markup fixes; in particular, the tables are now reasonable width

21 years agodis(): Added an optional memo argument, so that multiple pickles in a
Tim Peters [Wed, 5 Feb 2003 19:55:53 +0000 (19:55 +0000)]
dis():  Added an optional memo argument, so that multiple pickles in a
file can be dumped without (bogus) complaint if the the pickles were
created using a single pickle memo.

21 years agoSF bug 681122: Built-in function dir() causes refcount leak in baseclasses.
Tim Peters [Wed, 5 Feb 2003 19:35:19 +0000 (19:35 +0000)]
SF bug 681122: Built-in function dir() causes refcount leak in baseclasses.

merge_class_dict():  This was missing a decref.

Bugfix candidate.

21 years ago[680789] Debug with long array takes forever
Tim Peters [Wed, 5 Feb 2003 18:29:34 +0000 (18:29 +0000)]
[680789] Debug with long array takes forever
Added array.array to the types repr.py knows about, after a suggestion
from Jurjen N.E. Bos.

21 years agoPatch #551977: Regression exceptions for cygwin
Jason Tishler [Wed, 5 Feb 2003 16:46:01 +0000 (16:46 +0000)]
Patch #551977: Regression exceptions for cygwin

Applied the skip test_ossaudiodev patch.

21 years agoGetting rid of macfs and FSSpecs.
Jack Jansen [Wed, 5 Feb 2003 15:49:19 +0000 (15:49 +0000)]
Getting rid of macfs and FSSpecs.

21 years agoGot rid of macfs
Jack Jansen [Wed, 5 Feb 2003 15:44:03 +0000 (15:44 +0000)]
Got rid of macfs

21 years agoAdded "Open File by Name" command which presens a filename dialog. If
Jack Jansen [Wed, 5 Feb 2003 15:41:09 +0000 (15:41 +0000)]
Added "Open File by Name" command which presens a filename dialog. If
the clipboard contains a filename that filename is used as the default.

21 years agoCast various floats to ints so we don't get warnings.
Jack Jansen [Wed, 5 Feb 2003 15:40:05 +0000 (15:40 +0000)]
Cast various floats to ints so we don't get warnings.

21 years agoThis patch reverts the following:
Jason Tishler [Wed, 5 Feb 2003 15:16:17 +0000 (15:16 +0000)]
This patch reverts the following:

It also prevents building against the real X headers, if installed.

After discussions with the Cygwin project lead, I believe that building
against the real X headers is OK. Especially, since the psuedo-X headers
are *not* installed by the Cygwin Tcl/Tk binary package.

21 years agoThis patch enables Cygwin Python to build _tkinter against Tcl/Tk 8.4.
Jason Tishler [Wed, 5 Feb 2003 15:06:46 +0000 (15:06 +0000)]
This patch enables Cygwin Python to build _tkinter against Tcl/Tk 8.4.
Note that this patch just reverts the lib_prefix (i.e., "cyg") portion
of my Tcl/Tk 8.3 patch. It seems that Cygwin Tcl/Tk is using a more
normal file naming convention again.

21 years agoFixed a few typos, and changed FSCreateResourceFile filename argument to unicode.
Jack Jansen [Wed, 5 Feb 2003 13:39:04 +0000 (13:39 +0000)]
Fixed a few typos, and changed FSCreateResourceFile filename argument to unicode.

21 years agoAdded itertools module.
Jack Jansen [Wed, 5 Feb 2003 13:36:50 +0000 (13:36 +0000)]
Added itertools module.

21 years agoUse os.path.realpath() in stead of abspath(), so the tests don't fail if
Jack Jansen [Wed, 5 Feb 2003 11:14:16 +0000 (11:14 +0000)]
Use os.path.realpath() in stead of abspath(), so the tests don't fail if
we have a symlink somewhere in the TESTFN path.

21 years agoSF patch #674396: Apply UserDict.DictMixin to expand dbshelve and dbojb
Raymond Hettinger [Wed, 5 Feb 2003 04:12:41 +0000 (04:12 +0000)]
SF patch #674396:  Apply UserDict.DictMixin to expand dbshelve and dbojb
   to have a full dictionary interface.

21 years agoBuild pickler_choices list in a lazier way.
Tim Peters [Wed, 5 Feb 2003 04:08:07 +0000 (04:08 +0000)]
Build pickler_choices list in a lazier way.

21 years agoMore typo repair.
Tim Peters [Wed, 5 Feb 2003 03:53:10 +0000 (03:53 +0000)]
More typo repair.

21 years agoTypo repair.
Tim Peters [Wed, 5 Feb 2003 03:46:17 +0000 (03:46 +0000)]
Typo repair.

21 years agocPickle: exempt two_tuple from GC -- it's a speed hack, and doesn't
Tim Peters [Tue, 4 Feb 2003 21:47:44 +0000 (21:47 +0000)]
cPickle:  exempt two_tuple from GC -- it's a speed hack, and doesn't
guarantee to keep valid pointers in its slots.

tests:  Moved ExtensionSaver from test_copy_reg into pickletester, and
use it both places.  Once extension codes get assigned, it won't be
safe to overwrite them willy nilly in test suites, and ExtensionSaver
does a thorough job of undoing any possible damage.

Beefed up the EXT[124] tests a bit, to check the smallest and largest
codes in each opcode's range too.

21 years agoIf a float is passed where a int is expected, issue a DeprecationWarning
Neil Schemenauer [Tue, 4 Feb 2003 20:59:40 +0000 (20:59 +0000)]
If a float is passed where a int is expected, issue a DeprecationWarning
instead of raising a TypeError.  Closes #660144 (again).

21 years agocPickle now generates proto 2 EXT[124] when appropriate.
Tim Peters [Tue, 4 Feb 2003 20:56:09 +0000 (20:56 +0000)]
cPickle now generates proto 2 EXT[124] when appropriate.
Moved such EXT tests as currently exist from TempAbstractPickleTests to
AbstractPickleTests, so that test_cpickle runs them too.

21 years agoRemove forward static reference since it is not required
Neal Norwitz [Tue, 4 Feb 2003 20:46:50 +0000 (20:46 +0000)]
Remove forward static reference since it is not required

21 years agoWhitespace normalization
Neal Norwitz [Tue, 4 Feb 2003 20:45:17 +0000 (20:45 +0000)]
Whitespace normalization

21 years agoMake sure filter() never returns tuple, str or unicode
Walter Dörwald [Tue, 4 Feb 2003 20:24:45 +0000 (20:24 +0000)]
Make sure filter() never returns tuple, str or unicode
subclasses. (Discussed in SF patch #665835)

21 years agoFix for [ 543344 ] Interpreter crashes when recoding; suggested
Marc-André Lemburg [Tue, 4 Feb 2003 19:35:03 +0000 (19:35 +0000)]
Fix for [ 543344 ] Interpreter crashes when recoding; suggested
by Michael Stone (mbrierst).

Python 2.1.4, 2.2.2 candidate.

21 years agosupports_unicode_filenames was not in the right location.
Fred Drake [Tue, 4 Feb 2003 19:13:07 +0000 (19:13 +0000)]
supports_unicode_filenames was not in the right location.

21 years agoUse size_t instead of int for various variables to prevent
Walter Dörwald [Tue, 4 Feb 2003 18:02:28 +0000 (18:02 +0000)]
Use size_t instead of int for various variables to prevent
signed/unsigned comparison warnings on the call to iconv().

Fix comment typos.

From SF patch #680146.

21 years agoAdded basic tests of copy_reg's extension registry.
Tim Peters [Tue, 4 Feb 2003 17:49:36 +0000 (17:49 +0000)]
Added basic tests of copy_reg's extension registry.

21 years agoAdd a test that checks that filter() honors the sq_item slot for
Walter Dörwald [Tue, 4 Feb 2003 17:04:01 +0000 (17:04 +0000)]
Add a test that checks that filter() honors the sq_item slot for
str and unicode subclasses not just for generating the output
but for testing too.

21 years agoPyUnicode_Resize() doesn't free its argument in case of a failure,
Walter Dörwald [Tue, 4 Feb 2003 16:57:49 +0000 (16:57 +0000)]
PyUnicode_Resize() doesn't free its argument in case of a failure,
so we can jump to the error handling code that does.
(Spotted by Neal Norwitz)

21 years agofilterstring() and filterunicode() in Python/bltinmodule.c
Walter Dörwald [Tue, 4 Feb 2003 16:28:00 +0000 (16:28 +0000)]
filterstring() and filterunicode() in Python/bltinmodule.c
blindly assumed that tp_as_sequence->sq_item always returns
a str or unicode object. This might fail with str or unicode
subclasses.

This patch checks whether the object returned from __getitem__
is a str/unicode object and raises a TypeError if not (and
the filter function returned true).

Furthermore the result for __getitem__ can be more than one
character long, so checks for enough memory have to be done.

21 years ago- Handle the img and MediaFormat modules not being available (by not
Jack Jansen [Tue, 4 Feb 2003 15:36:42 +0000 (15:36 +0000)]
- Handle the img and MediaFormat modules not being available (by not
providing the format info, only the raw data).
- Get rid of fsspecs.
- Make the demo program at least do something if img not available.

21 years agoChanged an edit instruction because of a changed parameter name (sigh).
Jack Jansen [Tue, 4 Feb 2003 15:35:07 +0000 (15:35 +0000)]
Changed an edit instruction because of a changed parameter name (sigh).

21 years agoUpdate to better reflect the usage of struct_time instances throughout;
Fred Drake [Tue, 4 Feb 2003 15:12:06 +0000 (15:12 +0000)]
Update to better reflect the usage of struct_time instances throughout;
continuing to call these "time tuples" is misleading at best.
Closes SF bug #671731; will backport to 2.2.x.

21 years agoTwiddle.
Fred Drake [Tue, 4 Feb 2003 15:01:37 +0000 (15:01 +0000)]
Twiddle.

22 years agoAdd refcount test.
Raymond Hettinger [Tue, 4 Feb 2003 05:47:30 +0000 (05:47 +0000)]
Add refcount test.

22 years agoTypo in comment.
Tim Peters [Tue, 4 Feb 2003 05:20:32 +0000 (05:20 +0000)]
Typo in comment.

22 years agocPickle can load pickles using proto 2 EXT[124] now, but can't yet
Tim Peters [Tue, 4 Feb 2003 05:06:17 +0000 (05:06 +0000)]
cPickle can load pickles using proto 2 EXT[124] now, but can't yet
generate these opcodes.

22 years agoRename the extension registry variables to have leading underscores --
Guido van Rossum [Tue, 4 Feb 2003 01:54:49 +0000 (01:54 +0000)]
Rename the extension registry variables to have leading underscores --
this clarifies that they are part of an internal API (albeit shared
between pickle.py, copy_reg.py and cPickle.c).

I'd like to do the same for copy_reg.dispatch_table, but worry that it
might be used by existing code.  This risk doesn't exist for the
extension registry.

22 years agoWhitespace normalization.
Tim Peters [Tue, 4 Feb 2003 00:38:20 +0000 (00:38 +0000)]
Whitespace normalization.

22 years agoTypo repair.
Tim Peters [Tue, 4 Feb 2003 00:30:46 +0000 (00:30 +0000)]
Typo repair.

22 years agoBrought some module variables into synch with pickle.py's current values.
Tim Peters [Tue, 4 Feb 2003 00:21:07 +0000 (00:21 +0000)]
Brought some module variables into synch with pickle.py's current values.
Imported the extension-registry dicts from copy_reg.py, in preparation for
tackling EXT[124].

22 years agoFix typo.
Walter Dörwald [Mon, 3 Feb 2003 23:05:27 +0000 (23:05 +0000)]
Fix typo.

22 years agoAdd a new test script that tests various features of the sys
Walter Dörwald [Mon, 3 Feb 2003 23:03:49 +0000 (23:03 +0000)]
Add a new test script that tests various features of the sys
module. This increases code coverage of Python/sysmodule.c
from 68% to 77% (on Linux).

The script doesn't exercise the error branch that handles an evil
or lost sys.excepthook in Python/pythonrun.c::PyErr_PrintEx().

Also this script might not work on Jython in its current form.

From SF patch #662807.

22 years agotest_newobj_tuple(), test_newobj_list(): These tests should work under
Tim Peters [Mon, 3 Feb 2003 22:32:18 +0000 (22:32 +0000)]
test_newobj_tuple(), test_newobj_list():  These tests should work under
all protocols, so tried them under all.

22 years agotest_newobj_generic(): Use the global protocols vector instead of a
Tim Peters [Mon, 3 Feb 2003 22:28:41 +0000 (22:28 +0000)]
test_newobj_generic():  Use the global protocols vector instead of a
hardcoded list.

22 years agoAdded a bit to the EXT[124] tests, and refactored them to squash code
Tim Peters [Mon, 3 Feb 2003 22:27:38 +0000 (22:27 +0000)]
Added a bit to the EXT[124] tests, and refactored them to squash code
duplication.  Note that these still don't get run under cPickle.

22 years agoload_counted_long(): Changed a ValueError to an UnpicklingError, just
Tim Peters [Mon, 3 Feb 2003 22:07:24 +0000 (22:07 +0000)]
load_counted_long():  Changed a ValueError to an UnpicklingError, just
because it seems more consistent with the rest of the code.

cPickle_PyMapping_HasKey():  This extern function isn't used anywhere in
Python or Zope, so got rid of it.

22 years agoDo a better job of testing that opcodes aren't generated under protocols
Tim Peters [Mon, 3 Feb 2003 21:31:22 +0000 (21:31 +0000)]
Do a better job of testing that opcodes aren't generated under protocols
earlier than the ones in which they were introduced.

22 years agoFix typo.
Walter Dörwald [Mon, 3 Feb 2003 20:53:14 +0000 (20:53 +0000)]
Fix typo.

22 years ago- Thanks to Scott David Daniels, a subtle bug in how the zlib
Guido van Rossum [Mon, 3 Feb 2003 20:45:52 +0000 (20:45 +0000)]
- Thanks to Scott David Daniels, a subtle bug in how the zlib
  extension implemented flush() was fixed.  Scott also rewrite the
  zlib test suite using the unittest module.  (SF bug #640230 and
  patch #678531.)

Backport candidate I think.

22 years agoSF #661437, apply() should get PendingDeprecation
Neal Norwitz [Mon, 3 Feb 2003 20:23:33 +0000 (20:23 +0000)]
SF #661437, apply() should get PendingDeprecation

22 years agoFix typos.
Walter Dörwald [Mon, 3 Feb 2003 20:22:27 +0000 (20:22 +0000)]
Fix typos.

22 years agoPort test_pow.py to PyUnit. From SF patch #662807
Walter Dörwald [Mon, 3 Feb 2003 20:17:19 +0000 (20:17 +0000)]
Port test_pow.py to PyUnit. From SF patch #662807

22 years ago_slotnames(): this is a fairly expensive calculation. Cache the
Guido van Rossum [Mon, 3 Feb 2003 19:46:54 +0000 (19:46 +0000)]
_slotnames(): this is a fairly expensive calculation.  Cache the
outcome as __slotnames__ on the class.  (Like __slots__, it's not safe
to ask for this as an attribute -- you must look for it in the
specific class's __dict__.  But it must be set using attribute
notation, because __dict__ is a read-only proxy.)

22 years ago[Bug #676292] BaseHTTPServer incorrectly parses protocol; fix by Andrew Dalke
Andrew M. Kuchling [Mon, 3 Feb 2003 19:11:18 +0000 (19:11 +0000)]
[Bug #676292] BaseHTTPServer incorrectly parses protocol; fix by Andrew Dalke
   * Treat major, minor numbers of HTTP version as separate integers
   * Fix errors if version string is "HTTP/1.2.3" or even simply "BLAH".
   * send_error() checks if 'self.command' is a
     HEAD.  However, if there's an error parsing the first line of the
     HTTP request the self.command wasn't set yet; force
     self.command to be initialized to None.

22 years ago_slotnames(): exclude __dict__ and __weakref__; these aren't real
Guido van Rossum [Mon, 3 Feb 2003 18:10:09 +0000 (18:10 +0000)]
_slotnames(): exclude __dict__ and __weakref__; these aren't real
slots even though they can be listed in __slots__.

22 years agoSupport keyword argument 'bin', with a pending deprecation warning.
Guido van Rossum [Mon, 3 Feb 2003 16:59:48 +0000 (16:59 +0000)]
Support keyword argument 'bin', with a pending deprecation warning.

22 years agoProper testing of proto 2 in part requires checking that the new opcodes
Tim Peters [Mon, 3 Feb 2003 16:20:13 +0000 (16:20 +0000)]
Proper testing of proto 2 in part requires checking that the new opcodes
are actually getting generated.  Add helpered method
ensure_opcode_in_pickle to do a correct job checking for that.  Changed
test_long1(), test_long4(), and test_short_tuples() to use it.

22 years agobraino
Skip Montanaro [Mon, 3 Feb 2003 15:48:10 +0000 (15:48 +0000)]
braino

22 years agoPDATA_PUSH and PDATA_APPEND. documented, and reformatted for better
Tim Peters [Mon, 3 Feb 2003 15:45:56 +0000 (15:45 +0000)]
PDATA_PUSH and PDATA_APPEND.  documented, and reformatted for better
readability.

load_bool():  Now that I know the intended difference between _PUSH and
_APPEND, used the right one.

Pdata_grow():  Squashed out a redundant overflow test.

22 years agoBug #678077: Suggest alternative to os.getlogin()
Andrew M. Kuchling [Mon, 3 Feb 2003 15:36:26 +0000 (15:36 +0000)]
Bug #678077: Suggest alternative to os.getlogin()

22 years agotry to avoid gross incompatibilities with older versions of Python
Skip Montanaro [Mon, 3 Feb 2003 15:29:34 +0000 (15:29 +0000)]
try to avoid gross incompatibilities with older versions of Python

22 years agotry to avoid gross incompatibilities with earlier versions of Python
Skip Montanaro [Mon, 3 Feb 2003 15:28:23 +0000 (15:28 +0000)]
try to avoid gross incompatibilities with earlier versions of Python

22 years ago_PyLong_Sign(): remove an assert that needed a variable ndigits that
Guido van Rossum [Mon, 3 Feb 2003 15:28:19 +0000 (15:28 +0000)]
_PyLong_Sign(): remove an assert that needed a variable ndigits that
wasn't used outside the assert (and hence caused a compiler warning
about an unused variable in NDEBUG mode).  The assert wasn't very
useful any more.

_PyLong_NumBits(): moved the calculation of ndigits after asserting
that v != NULL.

22 years agotest_float_overflow(): make shuge (added last week) a little less
Guido van Rossum [Mon, 3 Feb 2003 15:25:01 +0000 (15:25 +0000)]
test_float_overflow(): make shuge (added last week) a little less
huge.  On older Linux systems, the C library's strtod() apparently
gives up before seeing the end of the string when it sees so many
digits that it thinks the result must be Infinity.  (It is wrong, BTW
-- there could be an "e-10000" hiding behind 10,000 digits.)  The
shorter shuge still tests what it's testing, without relying on
strtod() doing a super job.

22 years agoBug #676273: Rewrite paragraph in module docstring
Andrew M. Kuchling [Mon, 3 Feb 2003 15:21:15 +0000 (15:21 +0000)]
Bug #676273: Rewrite paragraph in module docstring

22 years agotest_support.requires(): Instead of raising TestSkipped, raise a new
Fred Drake [Mon, 3 Feb 2003 15:19:30 +0000 (15:19 +0000)]
test_support.requires():  Instead of raising TestSkipped, raise a new
exception, ResourceDenied.  This is used to distinguish between tests that
are skipped for other reasons (platform support, missing data, etc.) from
those that are skipped because a "resource" has not been enabled.  This
prevents those tests from being reported as unexpected skips for the
platform; those should only be considered unexpected skips if the resource
were enabled.

22 years agoadd note about new db2pickle.py and pickle2db.py scripts
Skip Montanaro [Mon, 3 Feb 2003 15:17:25 +0000 (15:17 +0000)]
add note about new db2pickle.py and pickle2db.py scripts

22 years ago[Bug #679251] Use correct constant name
Andrew M. Kuchling [Mon, 3 Feb 2003 15:16:15 +0000 (15:16 +0000)]
[Bug #679251] Use correct constant name

22 years agonote db2pickle.py and pickle2db.py
Skip Montanaro [Mon, 3 Feb 2003 15:09:32 +0000 (15:09 +0000)]
note db2pickle.py and pickle2db.py

22 years agodump database files to pickle format
Skip Montanaro [Mon, 3 Feb 2003 15:09:03 +0000 (15:09 +0000)]
dump database files to pickle format

22 years agoconvert pickles generated by db2pickle.py back to database files
Skip Montanaro [Mon, 3 Feb 2003 15:08:42 +0000 (15:08 +0000)]
convert pickles generated by db2pickle.py back to database files

22 years agoAdd __all__ (suggested by Raymond Hettinger).
Greg Ward [Mon, 3 Feb 2003 14:46:57 +0000 (14:46 +0000)]
Add __all__ (suggested by Raymond Hettinger).

Rename 'whitespace' global to '_whitespace' -- it's not part of the
public interface.

22 years agoRemove test_b1 and test_b2 from the list of tests
Walter Dörwald [Mon, 3 Feb 2003 11:54:39 +0000 (11:54 +0000)]
Remove test_b1 and test_b2 from the list of tests
that are no real tests, because test_b1 and
test_b2 no longer exist. (Spotted by Raymond Hettinger)

22 years agopatch #664131, fix config command on OSX and Linux
Just van Rossum [Mon, 3 Feb 2003 11:43:54 +0000 (11:43 +0000)]
patch #664131, fix config command on OSX and Linux

22 years agoFix bug
Michael W. Hudson [Mon, 3 Feb 2003 11:04:27 +0000 (11:04 +0000)]
Fix bug

[ 676342 ] after using pdb readline does not work correctly

using Michael Stone's patch so the completer functionality of
cmd is only setup between preloop and postloop.

22 years agoadd missing "summary" from long options list
Skip Montanaro [Mon, 3 Feb 2003 06:34:22 +0000 (06:34 +0000)]
add missing "summary" from long options list

22 years ago* Add description of PyInt_FromString.
Skip Montanaro [Mon, 3 Feb 2003 05:13:24 +0000 (05:13 +0000)]
* Add description of PyInt_FromString.
* Correct description of PyFloat_FromString.  While ignored, the pend
  argument still has to be given.
* Typo in PyLong_FromString.

22 years agoversion 4.1.4 (4.1.3 just released)
Gregory P. Smith [Mon, 3 Feb 2003 04:28:26 +0000 (04:28 +0000)]
version 4.1.4 (4.1.3 just released)

22 years agofix for use on python 2.1
Gregory P. Smith [Mon, 3 Feb 2003 04:19:40 +0000 (04:19 +0000)]
fix for use on python 2.1

22 years agoAdd PyFloat_FromString. Left the char **pend argument out of the
Skip Montanaro [Mon, 3 Feb 2003 03:56:36 +0000 (03:56 +0000)]
Add PyFloat_FromString.  Left the char **pend argument out of the
description since while there, it is useless and ignored, according to Tim's
commen.  (PyInt_FromString is also not described, but PyLong_FromString is.
Is the former deprecated?)

22 years agocPickle now implements enough of protocol 2 to enable all
Guido van Rossum [Mon, 3 Feb 2003 01:32:33 +0000 (01:32 +0000)]
cPickle now implements enough of protocol 2 to enable all
cross-pickling tests.

22 years agoFix comment typo.
Walter Dörwald [Sun, 2 Feb 2003 23:39:45 +0000 (23:39 +0000)]
Fix comment typo.

22 years agoFix typos.
Walter Dörwald [Sun, 2 Feb 2003 23:37:05 +0000 (23:37 +0000)]
Fix typos.

22 years agoFix typos.
Walter Dörwald [Sun, 2 Feb 2003 23:08:27 +0000 (23:08 +0000)]
Fix typos.

22 years agoGetting rid of macfs usage and almost all FSSpecs. Untested on MacOS9.
Jack Jansen [Sun, 2 Feb 2003 23:03:50 +0000 (23:03 +0000)]
Getting rid of macfs usage and almost all FSSpecs. Untested on MacOS9.