]> granicus.if.org Git - python/log
python
20 years agotest_codecmaps_hk is also expected to be skipped when a mapping file
Hye-Shik Chang [Mon, 19 Jul 2004 06:39:37 +0000 (06:39 +0000)]
test_codecmaps_hk is also expected to be skipped when a mapping file
isn't available. (Spotted by Raymond Hettinger)

20 years agoGet doc to build (add missing backslash)
Neal Norwitz [Mon, 19 Jul 2004 01:39:54 +0000 (01:39 +0000)]
Get doc to build (add missing backslash)

20 years agoSilence a GCC unused variable warning in debug builds.
Raymond Hettinger [Mon, 19 Jul 2004 00:10:24 +0000 (00:10 +0000)]
Silence a GCC unused variable warning in debug builds.

20 years agoDon't try to create the directory if it already exists, otherwise the test fails
Neal Norwitz [Mon, 19 Jul 2004 00:08:59 +0000 (00:08 +0000)]
Don't try to create the directory if it already exists, otherwise the test fails

20 years agoRecord that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;
Tim Peters [Sun, 18 Jul 2004 23:58:17 +0000 (23:58 +0000)]
Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;
another hack remains in test___all__.py, but the problem that one
addresses is more general than *just* FCNTL, so leaving it alone.

20 years agoRemove FCNTL.py, following python-dev discussion
Andrew M. Kuchling [Sun, 18 Jul 2004 23:44:58 +0000 (23:44 +0000)]
Remove FCNTL.py, following python-dev discussion

20 years agotest_sf_950057's gen1() used an assert statement, which caused the test
Tim Peters [Sun, 18 Jul 2004 17:34:03 +0000 (17:34 +0000)]
test_sf_950057's gen1() used an assert statement, which caused the test
to fail when running with -O.  Changed to raise AssertionError instead.

20 years agoWhitespace normalization. Had to break guido's lock on rev 1.1 to do
Tim Peters [Sun, 18 Jul 2004 16:56:37 +0000 (16:56 +0000)]
Whitespace normalization.  Had to break guido's lock on rev 1.1 to do
this, but I'm sure it wasn't locked intentionally.

20 years agoTeach VC6 project file about the new cjkcodecs structure.
Hye-Shik Chang [Sun, 18 Jul 2004 15:36:31 +0000 (15:36 +0000)]
Teach VC6 project file about the new cjkcodecs structure.

20 years agoReplace an extern magic to assigning declared pointer from array's.
Hye-Shik Chang [Sun, 18 Jul 2004 15:02:45 +0000 (15:02 +0000)]
Replace an extern magic to assigning declared pointer from array's.
And unifdef(1) compatibility blocks.

20 years agoOops -kb bit had been in my CVS/Entries. Converting it to plain
Hye-Shik Chang [Sun, 18 Jul 2004 08:53:18 +0000 (08:53 +0000)]
Oops -kb bit had been in my CVS/Entries.  Converting it to plain
text again.  Sorry.

20 years agocjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1.
Hye-Shik Chang [Sun, 18 Jul 2004 08:45:15 +0000 (08:45 +0000)]
cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1.

20 years agoRemove unused CNS-11643 mapping which shouldn't merged into main Python
Hye-Shik Chang [Sun, 18 Jul 2004 08:35:43 +0000 (08:35 +0000)]
Remove unused CNS-11643 mapping which shouldn't merged into main Python
yet.

20 years agoRepair bizarre generated Python.
Tim Peters [Sun, 18 Jul 2004 06:35:21 +0000 (06:35 +0000)]
Repair bizarre generated Python.

20 years agoIgnore more encoding input files.
Tim Peters [Sun, 18 Jul 2004 06:27:59 +0000 (06:27 +0000)]
Ignore more encoding input files.

20 years agoIgnore input files for encoding tests (these aren't checked in).
Tim Peters [Sun, 18 Jul 2004 06:27:12 +0000 (06:27 +0000)]
Ignore input files for encoding tests (these aren't checked in).

20 years agoWhitespace normalization, via reindent.py.
Tim Peters [Sun, 18 Jul 2004 06:25:50 +0000 (06:25 +0000)]
Whitespace normalization, via reindent.py.

20 years agoWhitespace normalization, via reindent.py.
Tim Peters [Sun, 18 Jul 2004 06:16:08 +0000 (06:16 +0000)]
Whitespace normalization, via reindent.py.

20 years agoWhitespace normalization. Ran reindent.py over the entire source tree.
Tim Peters [Sun, 18 Jul 2004 05:56:09 +0000 (05:56 +0000)]
Whitespace normalization.  Ran reindent.py over the entire source tree.

20 years agoWTF is with this script? It contained illegal syntax and illegal
Tim Peters [Sun, 18 Jul 2004 05:31:31 +0000 (05:31 +0000)]
WTF is with this script?  It contained illegal syntax and illegal
indentation -- it could never have been run, under any version of Python.

20 years agoWoo hoo! All the encoding tests pass on Windows (& I downloaded the
Tim Peters [Sun, 18 Jul 2004 05:06:31 +0000 (05:06 +0000)]
Woo hoo!  All the encoding tests pass on Windows (& I downloaded the
14 input files needed to run all of them).

20 years agoRepair MS compiler warning about signed-vs-unsigned mismatch. The plane
Tim Peters [Sun, 18 Jul 2004 04:34:33 +0000 (04:34 +0000)]
Repair MS compiler warning about signed-vs-unsigned mismatch.  The plane
and width clearly don't need to be signed.

20 years agoMore cjkcodecs recovery: Python at least compiles on Window again.
Tim Peters [Sun, 18 Jul 2004 04:30:37 +0000 (04:30 +0000)]
More cjkcodecs recovery:  Python at least compiles on Window again.

20 years agoAdded a comment explaining the extern ugliness.
Tim Peters [Sun, 18 Jul 2004 04:26:10 +0000 (04:26 +0000)]
Added a comment explaining the extern ugliness.

20 years agoChanged the "predefinitions" of codec_list and mapping_list from static
Tim Peters [Sun, 18 Jul 2004 04:20:15 +0000 (04:20 +0000)]
Changed the "predefinitions" of codec_list and mapping_list from static
to extern.  It's not legal C to say

     static whatever[];

because the size isn't given.  Presumably this is a gcc extension.

20 years agoTeach VC 7.1 about the new cjkcodecs structure. This still doesn't compile
Tim Peters [Sun, 18 Jul 2004 03:48:47 +0000 (03:48 +0000)]
Teach VC 7.1 about the new cjkcodecs structure.  This still doesn't compile
on Windows, because of non-standard code in cjkcodes.h, but it's *almost*
there.

20 years agoBring CJKCodecs 1.1 into trunk. This completely reorganizes source
Hye-Shik Chang [Sun, 18 Jul 2004 03:06:29 +0000 (03:06 +0000)]
Bring CJKCodecs 1.1 into trunk.  This completely reorganizes source
and installed layouts to make maintenance simple and easy.  And it
also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004
and iso2022-jp-2004.

20 years agoOops! Restored the pickle test to test_pyclbr, but changed types.py so
Tim Peters [Sun, 18 Jul 2004 00:08:11 +0000 (00:08 +0000)]
Oops!  Restored the pickle test to test_pyclbr, but changed types.py so
that pyclbr doesn't need to special-case modules that do "from types
import *".

20 years agoThe Darwin-specific getproxies_internetconfig() was added to urllib,
Tim Peters [Sun, 18 Jul 2004 00:00:03 +0000 (00:00 +0000)]
The Darwin-specific getproxies_internetconfig() was added to urllib,
causing test_pyclbr to fail on all other platforms.  Added that routine
to the urllib "ignore" list.
Removed the special case for "g" in the pickle module.  types.py deletes
"g" from its namespace; maybe it didn't always.  Whatever, the special
case isn't needed today.

20 years agoTemporarily add the Tcl/Tk bin directory to PATH, so that test_tcl can
Tim Peters [Sat, 17 Jul 2004 23:44:32 +0000 (23:44 +0000)]
Temporarily add the Tcl/Tk bin directory to PATH, so that test_tcl can
actually run.  When it fails, it pops up a dialog box, and the test run
hangs waiting for you to click OK -- that sucks too much to bear.

20 years agoUpgrade None assignment SyntaxWarning to a SyntaxError.
Raymond Hettinger [Sat, 17 Jul 2004 21:46:25 +0000 (21:46 +0000)]
Upgrade None assignment SyntaxWarning to a SyntaxError.

20 years agoChange CJK encoding aliases to their most popular variation of
Hye-Shik Chang [Sat, 17 Jul 2004 14:44:43 +0000 (14:44 +0000)]
Change CJK encoding aliases to their most popular variation of
hyphen and underscores in consistency of non-CJK aliases.
(Spotted by Mike Brown at SF #969415)

20 years agoFix comment typo
Andrew M. Kuchling [Sat, 17 Jul 2004 14:44:17 +0000 (14:44 +0000)]
Fix comment typo

20 years agoAdd a definition (found in the Debian patches for 2.3.4)
Andrew M. Kuchling [Sat, 17 Jul 2004 14:43:32 +0000 (14:43 +0000)]
Add a definition (found in the Debian patches for 2.3.4)

20 years agoSF #990497: Fix a trivial typo in sorted() example.
Hye-Shik Chang [Sat, 17 Jul 2004 13:53:48 +0000 (13:53 +0000)]
SF #990497: Fix a trivial typo in sorted() example.
(Submitted by Daniel Pezely)

20 years agoMinor edits
Andrew M. Kuchling [Sat, 17 Jul 2004 13:35:43 +0000 (13:35 +0000)]
Minor edits

20 years agooptimize_code(): Repaired gross error in new special-casing for None.
Tim Peters [Sat, 17 Jul 2004 05:00:52 +0000 (05:00 +0000)]
optimize_code():  Repaired gross error in new special-casing for None.
The preceding case statement was missing a terminating "break" stmt,
so fell into the new code by mistake.  This caused uncaught out-of-bounds
accesses to the "names" tuple, leading to a variety of insane behaviors.

20 years agoSupply missing word in new datetime docs, aggravated by copy-paste-edit.
Tim Peters [Sat, 17 Jul 2004 01:42:26 +0000 (01:42 +0000)]
Supply missing word in new datetime docs, aggravated by copy-paste-edit.

20 years agoThe new distutils features justify a new version number, imo.
Thomas Heller [Fri, 16 Jul 2004 18:14:37 +0000 (18:14 +0000)]
The new distutils features justify a new version number, imo.

If someone has other ideas for the numbering scheme, please change to
something else (1.1.0 ?).

20 years agoThe interpreter popup was never filled with any data, fixed.
Jack Jansen [Fri, 16 Jul 2004 12:36:02 +0000 (12:36 +0000)]
The interpreter popup was never filled with any data, fixed.
Fixes #775878.

20 years agoMade preference window resizable (and do the most logical thing on resize)
Jack Jansen [Fri, 16 Jul 2004 12:35:06 +0000 (12:35 +0000)]
Made preference window resizable (and do the most logical thing on resize)

20 years agoCleaned up list of interpreters.
Jack Jansen [Fri, 16 Jul 2004 12:34:23 +0000 (12:34 +0000)]
Cleaned up list of interpreters.

20 years agoTreat None as a constant.
Raymond Hettinger [Fri, 16 Jul 2004 12:16:48 +0000 (12:16 +0000)]
Treat None as a constant.

20 years agoFix for #779167: use InternetConfig proxy settings on MacOSX (in addition
Jack Jansen [Fri, 16 Jul 2004 11:45:00 +0000 (11:45 +0000)]
Fix for #779167: use InternetConfig proxy settings on MacOSX (in addition
to unix-style).

20 years agoDon't hardcode "Python" as the framework name, we have a variable for it:
Jack Jansen [Fri, 16 Jul 2004 08:43:47 +0000 (08:43 +0000)]
Don't hardcode "Python" as the framework name, we have a variable for it:
$PYTHONFRAMEWORK.

20 years agoFix for #795649: explain how to use TextEdit for editing Python code.
Jack Jansen [Thu, 15 Jul 2004 22:38:06 +0000 (22:38 +0000)]
Fix for #795649: explain how to use TextEdit for editing Python code.

20 years agoFix for 838140: don't call NSUnlinkModule when we fail to find our
Jack Jansen [Thu, 15 Jul 2004 22:28:48 +0000 (22:28 +0000)]
Fix for 838140: don't call NSUnlinkModule when we fail to find our
expected entrypoint. The unlinking will crash the application if the
module contained ObjC code. The price of this is small: a little wasted
memory, and only in a case than isn't expected to occur often.

20 years agoAfter more than two years of puzzlement Jurjen Bos found the reason for
Jack Jansen [Thu, 15 Jul 2004 22:08:33 +0000 (22:08 +0000)]
After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.

20 years agoApply VISIT macro.
Raymond Hettinger [Thu, 15 Jul 2004 21:32:18 +0000 (21:32 +0000)]
Apply VISIT macro.

20 years ago- Added a note about fixversions.py
Jack Jansen [Thu, 15 Jul 2004 21:30:41 +0000 (21:30 +0000)]
- Added a note about fixversions.py
- Ran it.

20 years agoCall the correct tp_dealloc.
Jack Jansen [Thu, 15 Jul 2004 21:24:07 +0000 (21:24 +0000)]
Call the correct tp_dealloc.

20 years ago_localemodule now needs to be linked with CoreFoundation on darwin.
Jack Jansen [Thu, 15 Jul 2004 19:56:25 +0000 (19:56 +0000)]
_localemodule now needs to be linked with CoreFoundation on darwin.

20 years ago[Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows
Andrew M. Kuchling [Thu, 15 Jul 2004 16:17:07 +0000 (16:17 +0000)]
[Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows

20 years agoA script to fix version strings in .plist files.
Jack Jansen [Thu, 15 Jul 2004 16:03:55 +0000 (16:03 +0000)]
A script to fix version strings in .plist files.

20 years agoMoved SunPro warning suppression into pyport.h and out of individual
Nicholas Bastin [Thu, 15 Jul 2004 15:54:05 +0000 (15:54 +0000)]
Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.

20 years agoAllow overriding of bgen pathnames in an optional module bgenlocationcustomize.
Jack Jansen [Thu, 15 Jul 2004 15:06:07 +0000 (15:06 +0000)]
Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.

20 years agoThe CF inheritance could cause double frees of the underlying objects.
Jack Jansen [Thu, 15 Jul 2004 14:25:48 +0000 (14:25 +0000)]
The CF inheritance could cause double frees of the underlying objects.
Fixed.

20 years agoCFStringGetUnicode() returned an extra null character at the end of the string.
Jack Jansen [Thu, 15 Jul 2004 14:11:30 +0000 (14:11 +0000)]
CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.

20 years agoMake CF module PEP253 based (finally).
Jack Jansen [Thu, 15 Jul 2004 13:42:06 +0000 (13:42 +0000)]
Make CF module PEP253 based (finally).

20 years agoMoved PyMac_GetScript() to _localemodule, which is the only place where
Jack Jansen [Thu, 15 Jul 2004 13:31:39 +0000 (13:31 +0000)]
Moved PyMac_GetScript() to _localemodule, which is the only place where
it is used, and made it private. Should fix #978662.

20 years agoGet rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
Jack Jansen [Thu, 15 Jul 2004 13:21:16 +0000 (13:21 +0000)]
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.

20 years agoTypo fixes
Andrew M. Kuchling [Thu, 15 Jul 2004 12:17:26 +0000 (12:17 +0000)]
Typo fixes

20 years agoAdd thread-local feature
Andrew M. Kuchling [Thu, 15 Jul 2004 11:52:40 +0000 (11:52 +0000)]
Add thread-local feature

20 years agoCorrect a paragraph: basicConfig() isn't actually new
Andrew M. Kuchling [Thu, 15 Jul 2004 11:44:42 +0000 (11:44 +0000)]
Correct a paragraph: basicConfig() isn't actually new

20 years agoSF bug 990749: os constants missing
Tim Peters [Thu, 15 Jul 2004 05:46:37 +0000 (05:46 +0000)]
SF bug 990749: os constants missing

A LaTeX comment identified the 6 os.O_XXX constants the docs claimed
are available on Windows but aren't.  The bug report listed the same 6.
Split these non-Windows constants into a different table with a possibly
correct "Availability:" claim.

20 years agoExercise Jim's VISIT macro.
Raymond Hettinger [Thu, 15 Jul 2004 05:32:47 +0000 (05:32 +0000)]
Exercise Jim's VISIT macro.

20 years agoChecking sys.platform for substring 'win' was breaking IDLE docs on Mac
Kurt B. Kaiser [Thu, 15 Jul 2004 04:54:57 +0000 (04:54 +0000)]
Checking sys.platform for substring 'win' was breaking IDLE docs on Mac
(darwin). Also, Mac Safari browser requires full file:// URIs.  SF 900580

M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py

20 years agoFix typo.
Hye-Shik Chang [Thu, 15 Jul 2004 04:30:25 +0000 (04:30 +0000)]
Fix typo.

20 years agos/it's/its/, s/NULL/NULL{}/, where appropriate.
Tim Peters [Thu, 15 Jul 2004 04:23:13 +0000 (04:23 +0000)]
s/it's/its/, s/NULL/NULL{}/, where appropriate.

20 years agoFormalize that the Py_VISIT macro requires that the tp_traverse
Tim Peters [Thu, 15 Jul 2004 04:05:59 +0000 (04:05 +0000)]
Formalize that the Py_VISIT macro requires that the tp_traverse
implementation it's used in must give its arguments specific names.

20 years agoBump version; update date
Andrew M. Kuchling [Wed, 14 Jul 2004 21:56:19 +0000 (21:56 +0000)]
Bump version; update date

20 years agoImprove examples for working with the context API.
Raymond Hettinger [Wed, 14 Jul 2004 21:06:55 +0000 (21:06 +0000)]
Improve examples for working with the context API.

20 years agoUse threading.local() instead of threading.currentThread().
Raymond Hettinger [Wed, 14 Jul 2004 21:04:27 +0000 (21:04 +0000)]
Use threading.local() instead of threading.currentThread().

20 years agoFactor out two unnecessary global variables.
Raymond Hettinger [Wed, 14 Jul 2004 19:56:56 +0000 (19:56 +0000)]
Factor out two unnecessary global variables.

20 years agoImplemented thread-local data as proposed on python-dev:
Jim Fulton [Wed, 14 Jul 2004 19:11:50 +0000 (19:11 +0000)]
Implemented thread-local data as proposed on python-dev:

http://mail.python.org/pipermail/python-dev/2004-June/045785.html

20 years agoSummarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
Jim Fulton [Wed, 14 Jul 2004 19:08:28 +0000 (19:08 +0000)]
Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
tutorial.

20 years agoDocumented the new Py_VISIT macro to simplify implementation of
Jim Fulton [Wed, 14 Jul 2004 19:08:17 +0000 (19:08 +0000)]
Documented the new Py_VISIT macro to simplify implementation of
tp_traverse handlers. (Tim made me do it. ;)

20 years agoImplemented a new Py_CLEAR macro. This macro should be used when
Jim Fulton [Wed, 14 Jul 2004 19:07:35 +0000 (19:07 +0000)]
Implemented a new Py_CLEAR macro. This macro should be used when
decrementing the refcount of variables that might be accessed as a
result of calling Python

20 years agoUpdated documentation to:
Jim Fulton [Wed, 14 Jul 2004 19:07:24 +0000 (19:07 +0000)]
Updated documentation to:

- point out the importance of reassigning data members before
  assigning thier values

- correct my missconception about return values from visitprocs. Sigh.

- mention the labor saving Py_VISIT and Py_CLEAR macros.

20 years agoPorted some features from zope:
Jim Fulton [Wed, 14 Jul 2004 19:06:50 +0000 (19:06 +0000)]
Ported some features from zope:

- Fixed the display of tests in verbose output
- Allow setUp and tearDown functions to be provided for DocTestSuites.

20 years ago* Hide a loop induction variable that was inadvertantly being picked up
Raymond Hettinger [Wed, 14 Jul 2004 16:35:30 +0000 (16:35 +0000)]
* Hide a loop induction variable that was inadvertantly being picked up
  by the locals() call in the context constructor.

* Remove unnecessary properties for int, exp, and sign which duplicated
  information returned by as_tuple().

20 years ago* Rename "Signals" to "_signals" making it non-public.
Raymond Hettinger [Wed, 14 Jul 2004 15:41:57 +0000 (15:41 +0000)]
* Rename "Signals" to "_signals" making it non-public.
* Context.create_decimal can take a zero default just like Decimal().
* Fix typo in comment.

20 years agoRecompiled after source file changes.
Thomas Heller [Wed, 14 Jul 2004 15:22:05 +0000 (15:22 +0000)]
Recompiled after source file changes.

20 years agoIgnore some more build products.
Thomas Heller [Wed, 14 Jul 2004 15:19:45 +0000 (15:19 +0000)]
Ignore some more build products.

20 years agoAdd a warning so that it isn't forgotten to recreate the binaries AND
Thomas Heller [Wed, 14 Jul 2004 15:17:04 +0000 (15:17 +0000)]
Add a warning so that it isn't forgotten to recreate the binaries AND
CHECK INTO CVS if these files are changed.

20 years agoDon't complain that non-existant registry entries cannot be deleted.
Thomas Heller [Wed, 14 Jul 2004 14:53:50 +0000 (14:53 +0000)]
Don't complain that non-existant registry entries cannot be deleted.

20 years agoThis is Pete Shinners' patch from his bug report
Michael W. Hudson [Wed, 14 Jul 2004 11:28:06 +0000 (11:28 +0000)]
This is Pete Shinners' patch from his bug report

[ 984722 ] Py_BuildValue loses reference counts on error

I'm ever-so-slightly uneasy at the amount of work this can do with an
exception pending, but I don't think that this can result in anything
more serious than a strange error message.

20 years ago- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
Guido van Rossum [Wed, 14 Jul 2004 00:48:58 +0000 (00:48 +0000)]
- Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
  the documented behavior: the function passed to the onerror()
  handler can now also be os.listdir.

[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]

20 years ago- Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affects
Guido van Rossum [Wed, 14 Jul 2004 00:45:59 +0000 (00:45 +0000)]
- Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
  the documented behavior: the function passed to the onerror()
  handler can now also be os.listdir.

[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]

20 years agoIt helps when doing checks if something is in a tuple of strings that if you
Brett Cannon [Wed, 14 Jul 2004 00:43:51 +0000 (00:43 +0000)]
It helps when doing checks if something is in a tuple of strings that if you
put everything in the tuple in caps to use str.upper() instead of str.lower().

20 years agoclarify where \versionadded and \versionchanged should be placed when
Fred Drake [Tue, 13 Jul 2004 21:04:26 +0000 (21:04 +0000)]
clarify where \versionadded and \versionchanged should be placed when
they are used

20 years agoClaifications: visit procs are supplied by the core, users aren't
Tim Peters [Tue, 13 Jul 2004 17:18:10 +0000 (17:18 +0000)]
Claifications:  visit procs are supplied by the core, users aren't
expected to write their own.  A NULL "object" must not be passed to
the visit callback.  A non-zero return from a visit proc isn't
necessarily an error return (and it doesn't matter to the tp_traverse
code *what* it might signify, their only job is to return it).

20 years agogeneralize a bit; no need to mention my user id directly
Fred Drake [Tue, 13 Jul 2004 17:08:10 +0000 (17:08 +0000)]
generalize a bit; no need to mention my user id directly

20 years agoWordsmithing
Andrew M. Kuchling [Tue, 13 Jul 2004 14:03:31 +0000 (14:03 +0000)]
Wordsmithing

20 years agoFixes a bug in testing code handling .pth files that did not restore the original
Brett Cannon [Tue, 13 Jul 2004 07:12:25 +0000 (07:12 +0000)]
Fixes a bug in testing code handling .pth files that did not restore the original
module that is removed for testing "import" lines.  Originally deleted the
entry from sys.modules and then just let other code that needed it to import it
again.  Problem with this solution is that it lead to code that had already
imported the module in question to have their own reference to a new copy of
the module in question that new code couldn't reach.  This lead to a failure in
test_strptime since it monkey-patched the 'time' module it had a reference to
while _strptime had its own reference to another copy of 'time' from being
imported by test___all__ that it was using for a calculation.

Also moved the testing code out of the PthFile class and into the actual test
class.  This was to stop using 'assert' which is useless with a -O execution.

20 years agoAdd another point in the "Restrictions" section about how the handling of FTP
Brett Cannon [Tue, 13 Jul 2004 00:48:42 +0000 (00:48 +0000)]
Add another point in the "Restrictions" section about how the handling of FTP
URLs will seemingly succeed to read a URL that points to a file whose
permissions you do not have to read.

Backport candidate once everyone agrees with the wording.

20 years agoUsing repr() generates entries that the current stats package can't
Nicholas Bastin [Mon, 12 Jul 2004 23:38:02 +0000 (23:38 +0000)]
Using repr() generates entries that the current stats package can't
collate, so setting it back to the function name

20 years agoUpdated my email address to something that works <wink>.
Barry Warsaw [Mon, 12 Jul 2004 23:10:08 +0000 (23:10 +0000)]
Updated my email address to something that works <wink>.

21 years agoFix test case for when time.tzname[0] is either UTC or GMT. Also have test
Brett Cannon [Mon, 12 Jul 2004 19:34:02 +0000 (19:34 +0000)]
Fix test case for when time.tzname[0] is either UTC or GMT.  Also have test
output more telling details when there is a failure.

21 years agoFixed minor bugs in the example configuration file
Vinay Sajip [Mon, 12 Jul 2004 15:48:04 +0000 (15:48 +0000)]
Fixed minor bugs in the example configuration file