]> granicus.if.org Git - python/log
python
21 years agoadd an index entry for __getnewargs__()
Fred Drake [Wed, 5 May 2004 04:56:06 +0000 (04:56 +0000)]
add an index entry for __getnewargs__()

21 years ago- note that __getinitargs__() is only for old-style classes
Fred Drake [Wed, 5 May 2004 04:54:37 +0000 (04:54 +0000)]
- note that __getinitargs__() is only for old-style classes
- describe __getnewargs__()
(closes SF bug #873246)

21 years agoRemove list of pickle protocol names used by the copy module; there
Fred Drake [Wed, 5 May 2004 04:24:30 +0000 (04:24 +0000)]
Remove list of pickle protocol names used by the copy module; there
are enough subtleties to pickling that we don't want misunderstanding
to spread because we don't provide all the information twice.  The
reference to the pickle module for information will have to suffice;
at least only one portion of the docs will be out of date.  ;-(

21 years agonote that the error code for socket.gaierror will be one of the EAI_*
Fred Drake [Wed, 5 May 2004 04:18:11 +0000 (04:18 +0000)]
note that the error code for socket.gaierror will be one of the EAI_*
constants
(closes SF bug #837929)

21 years agoSF #814606: merge from release23-maint branch: clarify/cleanup
Greg Ward [Wed, 5 May 2004 01:36:16 +0000 (01:36 +0000)]
SF #814606: merge from release23-maint branch: clarify/cleanup
mixer docs; trim \platform{}, add \versionadded{}.

21 years agoRemoved 'U' from the documentation for Py_BuildValue to bring it in line
Nicholas Bastin [Tue, 4 May 2004 19:25:56 +0000 (19:25 +0000)]
Removed 'U' from the documentation for Py_BuildValue to bring it in line
with the elimination of 'U' in modsupport.c on 2000/04/28 (replaced
with 'u' and 'u#' per fdrake's comments).

21 years agoDocument readline module functions added in Python 2.3. See:
Phillip J. Eby [Tue, 4 May 2004 19:20:22 +0000 (19:20 +0000)]
Document readline module functions added in Python 2.3.  See:

http://mail.python.org/pipermail/python-dev/2003-September/037922.html

for background.  It appears I forgot to ever submit a bug report or patch.

21 years agoUsing reversed() is not compatible with Python 1.5.2.
Guido van Rossum [Tue, 4 May 2004 18:18:59 +0000 (18:18 +0000)]
Using reversed() is not compatible with Python 1.5.2.

21 years agoReplace str.find()!=1 with the more readable "in" operator.
Raymond Hettinger [Tue, 4 May 2004 09:21:43 +0000 (09:21 +0000)]
Replace str.find()!=1 with the more readable "in" operator.

21 years agoTesting for None should be done with 'is'
Raymond Hettinger [Tue, 4 May 2004 08:34:56 +0000 (08:34 +0000)]
Testing for None should be done with 'is'

21 years agoStacks based on lists work better and read more clearly when they
Raymond Hettinger [Tue, 4 May 2004 08:21:52 +0000 (08:21 +0000)]
Stacks based on lists work better and read more clearly when they
grow and shrink on the right.

21 years agoFix [ 947405 ] os.utime() raises bad exception for unicode filenames
Mark Hammond [Tue, 4 May 2004 08:10:37 +0000 (08:10 +0000)]
Fix [ 947405 ] os.utime() raises bad exception for unicode filenames

21 years agoDo not use the default namespace for attributes.
Martin v. Löwis [Sun, 2 May 2004 20:37:13 +0000 (20:37 +0000)]
Do not use the default namespace for attributes.
Fixes http://bugs.debian.org/229885
Will backport to 2.3.

21 years agoMinor documentation nits.
Raymond Hettinger [Sat, 1 May 2004 08:31:36 +0000 (08:31 +0000)]
Minor documentation nits.

21 years agoAdd an example application to the docs.
Raymond Hettinger [Fri, 30 Apr 2004 22:52:50 +0000 (22:52 +0000)]
Add an example application to the docs.

21 years agothe headers in an HTTP request are HTTP headers, not MIME headers
Fred Drake [Thu, 29 Apr 2004 02:47:38 +0000 (02:47 +0000)]
the headers in an HTTP request are HTTP headers, not MIME headers

21 years agoAdd a test script for the colorsys module.
Walter Dörwald [Wed, 28 Apr 2004 17:07:50 +0000 (17:07 +0000)]
Add a test script for the colorsys module.

21 years agoremove out-of-date count of the functions in winsound
Fred Drake [Wed, 28 Apr 2004 03:57:47 +0000 (03:57 +0000)]
remove out-of-date count of the functions in winsound

21 years agofix typo reported in a long-buried email
Fred Drake [Wed, 28 Apr 2004 03:16:49 +0000 (03:16 +0000)]
fix typo reported in a long-buried email

21 years agoThe filename of this module changed again...
Thomas Heller [Tue, 27 Apr 2004 18:34:08 +0000 (18:34 +0000)]
The filename of this module changed again...

21 years agoComplete perky's name change patch.
Raymond Hettinger [Tue, 27 Apr 2004 04:52:47 +0000 (04:52 +0000)]
Complete perky's name change patch.

21 years agoFix a bug I introduced which causes all block openers at an indent level
Kurt B. Kaiser [Mon, 26 Apr 2004 22:26:04 +0000 (22:26 +0000)]
Fix a bug I introduced which causes all block openers at an  indent level
to be shown, instead of outdenting each level.

21 years agoCorrect the file name of _heapq module.
Hye-Shik Chang [Sun, 25 Apr 2004 17:51:47 +0000 (17:51 +0000)]
Correct the file name of _heapq module.

21 years ago1. Add an Options menu entry: Code Context
Kurt B. Kaiser [Sat, 24 Apr 2004 03:08:13 +0000 (03:08 +0000)]
1. Add an Options menu entry: Code Context
2. Add a <<toggle-code-context>> envent to the [CodeContext] section of
   config-extensions.def and also a default-on variable, set to 0.
3. Update the help file to include Code Context.

M CodeContext.py
M config-extensions.def
M help.txt

21 years ago1. Polish variables in EditorWindow extension loading and Tkinter variable code.
Kurt B. Kaiser [Sat, 24 Apr 2004 03:01:48 +0000 (03:01 +0000)]
1. Polish variables in EditorWindow extension loading and Tkinter variable code.
2. Add exception handling to EditorWindow Tkinter variable setvar() and getvar() fcns.
3. EditorWindow: remove some unneeded comments.
4. Add a separator to the Options menu
5. extend.txt: describe how to create a menu entry which has no keybinding.

M Bindings.py
M EditorWindow.py
M extend.txt

21 years agoSF bug #940579: section 5.10: 'not' returns boolean, not int
Raymond Hettinger [Fri, 23 Apr 2004 17:11:47 +0000 (17:11 +0000)]
SF bug #940579: section 5.10: 'not' returns boolean, not int

21 years agoRemove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
Thomas Heller [Thu, 22 Apr 2004 18:30:17 +0000 (18:30 +0000)]
Remove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
that the project compiles again with VC6.

21 years agoForgot to mention the SF number, and that Bob Ippolito provided the patch.
Thomas Heller [Thu, 22 Apr 2004 17:28:25 +0000 (17:28 +0000)]
Forgot to mention the SF number, and that Bob Ippolito provided the patch.

21 years agoTwo new public API functions, Py_IncRef and Py_DecRef. Useful for
Thomas Heller [Thu, 22 Apr 2004 17:23:49 +0000 (17:23 +0000)]
Two new public API functions, Py_IncRef and Py_DecRef.  Useful for
dynamic embedders of Python.

21 years agocvs ignore the user options files *.suo
Thomas Heller [Thu, 22 Apr 2004 17:11:49 +0000 (17:11 +0000)]
cvs ignore the user options files *.suo

21 years agoModules/heapqmodule.c removed.
Thomas Heller [Thu, 22 Apr 2004 17:03:33 +0000 (17:03 +0000)]
Modules/heapqmodule.c removed.
Modules/_heapmodule.c added.

21 years ago- New Extension: CodeContext. Provides block structuring hints for code
Kurt B. Kaiser [Wed, 21 Apr 2004 20:06:26 +0000 (20:06 +0000)]
- New Extension: CodeContext.  Provides block structuring hints for code
  which has scrolled above an edit window. Patch 936169 Noam Raphael.

A CodeContext.py
M NEWS.txt
M config-extensions.def

21 years agoSF #926075: Fixed the bug that returns a wrong pattern object for
Hye-Shik Chang [Tue, 20 Apr 2004 21:30:07 +0000 (21:30 +0000)]
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.

21 years agoSF #926075: Fixed the bug that returns a wrong pattern object for
Hye-Shik Chang [Tue, 20 Apr 2004 21:11:11 +0000 (21:11 +0000)]
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.

21 years ago* Restore the pure python version of heapq.py.
Raymond Hettinger [Mon, 19 Apr 2004 19:21:43 +0000 (19:21 +0000)]
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.

21 years ago* Restore the pure python version of heapq.py.
Raymond Hettinger [Mon, 19 Apr 2004 19:06:21 +0000 (19:06 +0000)]
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.

21 years agoSpecial case normalization of empty strings. Fixes #924361.
Martin v. Löwis [Sat, 17 Apr 2004 19:36:48 +0000 (19:36 +0000)]
Special case normalization of empty strings. Fixes #924361.
Backported to 2.3.

21 years agoSF bug #936827: PyNumber_And() 's description
Raymond Hettinger [Sat, 17 Apr 2004 11:57:40 +0000 (11:57 +0000)]
SF bug #936827:  PyNumber_And() 's description

Fix typo.

21 years agoThe wininst-6.exe template binary for bdist_wininst is now linked
Thomas Heller [Fri, 16 Apr 2004 18:49:35 +0000 (18:49 +0000)]
The wininst-6.exe template binary for bdist_wininst is now linked
with zlib-1.2.1.

21 years agoThe wininst-7.1.exe template binary for bdist_wininst is now linked
Thomas Heller [Fri, 16 Apr 2004 18:47:50 +0000 (18:47 +0000)]
The wininst-7.1.exe template binary for bdist_wininst is now linked
with zlib-1.2.1.

UPX needs the --force flag to be able to compress it.

21 years agoreally scream out that people should use the file objects instead of
Fred Drake [Fri, 16 Apr 2004 15:20:01 +0000 (15:20 +0000)]
really scream out that people should use the file objects instead of
file descriptor operations for normal applications

21 years agoOpen file in universal newline mode when passing to compile(). Solution
Skip Montanaro [Fri, 16 Apr 2004 03:28:19 +0000 (03:28 +0000)]
Open file in universal newline mode when passing to compile().  Solution
from Felix Wiemann.  Closes patch #934971.

21 years agobring description of optional and keyword args for DictReader and DictWriter
Skip Montanaro [Fri, 16 Apr 2004 03:21:01 +0000 (03:21 +0000)]
bring description of optional and keyword args for DictReader and DictWriter
classes into line with the actual code.  I didn't see any obvious examples
of latex formatting for *args and **kwds so I just guessed.

21 years agodelete timing output - it appears after the </html> line.
Skip Montanaro [Fri, 16 Apr 2004 03:12:12 +0000 (03:12 +0000)]
delete timing output - it appears after the </html> line.

21 years agoMinor reformatting.
Thomas Heller [Thu, 15 Apr 2004 18:19:02 +0000 (18:19 +0000)]
Minor reformatting.

21 years agoremove bogus markup that caused the docs to be wrong
Fred Drake [Thu, 15 Apr 2004 06:18:48 +0000 (06:18 +0000)]
remove bogus markup that caused the docs to be wrong

21 years agoBug #934635: Fix a bug where the configure script couldn't detect
Hye-Shik Chang [Wed, 14 Apr 2004 07:55:31 +0000 (07:55 +0000)]
Bug #934635: Fix a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)

21 years agoChange two instance of format strings for PyString_FromFormat() to use %ld
Brett Cannon [Tue, 13 Apr 2004 02:43:53 +0000 (02:43 +0000)]
Change two instance of format strings for PyString_FromFormat() to use %ld
instead of %d .

21 years ago* Add unittests for iterators that report their length
Raymond Hettinger [Mon, 12 Apr 2004 18:10:01 +0000 (18:10 +0000)]
* Add unittests for iterators that report their length
* Document the differences between them
* Fix corner cases covered by the unittests
* Use Py_RETURN_NONE where possible for dictionaries

21 years agoUse Py_RETURN_NONE macro where applicable.
Raymond Hettinger [Mon, 12 Apr 2004 17:21:03 +0000 (17:21 +0000)]
Use Py_RETURN_NONE macro where applicable.

21 years agoSmall refactoring saving one function() and eliminating some indirection.
Raymond Hettinger [Mon, 12 Apr 2004 14:01:16 +0000 (14:01 +0000)]
Small refactoring saving one function() and eliminating some indirection.
* Applied app1() to listappend().
* Inlined ins() into its one remaining caller.

21 years ago* Specialize ins1() into app1() for appends. Saves several unnecessary
Raymond Hettinger [Mon, 12 Apr 2004 13:05:09 +0000 (13:05 +0000)]
* Specialize ins1() into app1() for appends.  Saves several unnecessary
  steps and further improves the speed of list append.

* Add guards to the list iterator length method to handle corner cases.

21 years agoRecord test_bsddb3 test results on WinXP.
Tim Peters [Sun, 11 Apr 2004 19:02:59 +0000 (19:02 +0000)]
Record test_bsddb3 test results on WinXP.

21 years agoUpdate the OpenSSL version example from c to d (the current stable one),
Tim Peters [Sun, 11 Apr 2004 18:23:06 +0000 (18:23 +0000)]
Update the OpenSSL version example from c to d (the current stable one),

21 years agoThe native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
Tim Peters [Sun, 11 Apr 2004 17:45:31 +0000 (17:45 +0000)]
The native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
removed the comment saying they don't work, and changed the build step
to run them.  If they're failing for someone else, please give details
about what failed.

21 years agoRecord Tcl and Tk test results for WinXP Pro.
Tim Peters [Sun, 11 Apr 2004 17:29:12 +0000 (17:29 +0000)]
Record Tcl and Tk test results for WinXP Pro.

21 years agoSome (but not all) of the why code bitfield tests ran faster as
Raymond Hettinger [Sun, 11 Apr 2004 14:59:33 +0000 (14:59 +0000)]
Some (but not all) of the why code bitfield tests ran faster as
separate equality tests.  Now, all are set to their best timing.

21 years agoadd AF_UNIX notes
Andrew MacIntyre [Sun, 11 Apr 2004 12:05:28 +0000 (12:05 +0000)]
add AF_UNIX notes

21 years agoFixes for AF_UNIX support on OS/2:
Andrew MacIntyre [Sun, 11 Apr 2004 12:03:57 +0000 (12:03 +0000)]
Fixes for AF_UNIX support on OS/2:
- return the full size of the sockaddr_un structure, without which
  bind() fails with EINVAL;
- set test_socketserver to use a socket name that meets the form
  required by the underlying implementation;
- don't bother exercising the forking AF_UNIX tests on EMX - its
  fork() can't handle the stress.

21 years agoM EditorWindow.py
Kurt B. Kaiser [Sun, 11 Apr 2004 03:16:07 +0000 (03:16 +0000)]
M EditorWindow.py
M IOBinding.py
M NEWS.txt
M configDialog.py

- If nulls somehow got into the strings in recent-files.lst
  EditorWindow.update_recent_files_list() was failing.  Python Bug 931336.

21 years agoRevert 2.393, elimination of pre-decrementing, which
Raymond Hettinger [Sat, 10 Apr 2004 23:34:17 +0000 (23:34 +0000)]
Revert 2.393, elimination of pre-decrementing, which
did not stand-up to additional timings.

21 years agoatof: correct parameter name
Skip Montanaro [Sat, 10 Apr 2004 16:39:32 +0000 (16:39 +0000)]
atof: correct parameter name

21 years agoRefactor common code out of globaltrace_trackcallers() and
Skip Montanaro [Sat, 10 Apr 2004 16:29:58 +0000 (16:29 +0000)]
Refactor common code out of globaltrace_trackcallers() and
globaltrace_countfuncs() into file_module_function_of().

In that function use Michael Hudson's suggestion of gc.get_referrers() to
back up from the code object to a function, then to a class's dict and
finally to a class object if one exists.

21 years agofix up some markup
Fred Drake [Fri, 9 Apr 2004 18:26:40 +0000 (18:26 +0000)]
fix up some markup

21 years agoProvide more information representations of repeat() and count().
Raymond Hettinger [Thu, 8 Apr 2004 21:54:00 +0000 (21:54 +0000)]
Provide more information representations of repeat() and count().

21 years agogive rational filenames to some of the generated HTML
Fred Drake [Thu, 8 Apr 2004 19:44:31 +0000 (19:44 +0000)]
give rational filenames to some of the generated HTML

21 years agoswitch to PNG navigation icons by default
Fred Drake [Thu, 8 Apr 2004 18:51:39 +0000 (18:51 +0000)]
switch to PNG navigation icons by default

21 years agoinclude both the GIF and PNG icons in the HTML package
Fred Drake [Thu, 8 Apr 2004 18:50:51 +0000 (18:50 +0000)]
include both the GIF and PNG icons in the HTML package

21 years agoavoid stripping space after indexing macros
Fred Drake [Thu, 8 Apr 2004 15:30:12 +0000 (15:30 +0000)]
avoid stripping space after indexing macros

21 years agonote --trackcalls flag in trace module
Skip Montanaro [Wed, 7 Apr 2004 16:03:02 +0000 (16:03 +0000)]
note --trackcalls flag in trace module

21 years agoAdded --trackcalls command line arg to display crude caller/callee
Skip Montanaro [Wed, 7 Apr 2004 15:46:05 +0000 (15:46 +0000)]
Added --trackcalls command line arg to display crude caller/callee
relationships at program exit.  Output is a bit prettier than that for
--listfuncs but won't parse as easily using downstream postprocessing tools.

21 years agoUse continue instead of break whereever possible.
Raymond Hettinger [Wed, 7 Apr 2004 14:38:08 +0000 (14:38 +0000)]
Use continue instead of break whereever possible.

21 years ago* Improve readability and remove data dependencies by converting
Raymond Hettinger [Wed, 7 Apr 2004 13:17:27 +0000 (13:17 +0000)]
* Improve readability and remove data dependencies by converting
pre-increment forms to post-increment forms.  Post-incrementing
also eliminates the need for negative array indices for oparg fetches.

* In exception handling code, check for class based exceptions before
  the older string based exceptions.

21 years agoSmall code improvements for readability, code size, and/or speed.
Raymond Hettinger [Wed, 7 Apr 2004 11:39:21 +0000 (11:39 +0000)]
Small code improvements for readability, code size, and/or speed.

BINARY_SUBSCR:
    * invert test for normal case fall through
    * eliminate err handling code by jumping to slow_case

LOAD_LOCALS:
    * invert test for normal case fall through
    * continue instead of break for the non-error case

STORE_NAME and DELETE_NAME:
    * invert test for normal case fall through

LOAD_NAME:
    * continue instead of break for the non-error case

DELETE_FAST:
    * invert test for normal case fall through

LOAD_DEREF:
    * invert test for normal case fall through
    * continue instead of break for the non-error case

21 years agoFix comment typo
Andrew M. Kuchling [Tue, 6 Apr 2004 19:43:03 +0000 (19:43 +0000)]
Fix comment typo

21 years agoRemove specific Python version from #!
Andrew M. Kuchling [Tue, 6 Apr 2004 19:42:34 +0000 (19:42 +0000)]
Remove specific Python version from #!

21 years agoSimplify previous checkin (bitfields for WHY codes).
Raymond Hettinger [Tue, 6 Apr 2004 10:11:10 +0000 (10:11 +0000)]
Simplify previous checkin (bitfields for WHY codes).
Restores the self-documenting enum declaration.

21 years agoCoded WHY flags as bitfields (taking inspiration from tp_flags).
Raymond Hettinger [Tue, 6 Apr 2004 09:37:35 +0000 (09:37 +0000)]
Coded WHY flags as bitfields (taking inspiration from tp_flags).

This allows multiple flags to be tested in a single compare
which eliminates unnecessary compares and saves a few bytes.

21 years agoSF Patch #926375: Remove a useless UTF-16 support code that is never
Hye-Shik Chang [Tue, 6 Apr 2004 07:24:51 +0000 (07:24 +0000)]
SF Patch #926375: Remove a useless UTF-16 support code that is never
been used. (Suggested by Martin v. Loewis)

21 years agoSince the fast_yield branch target was introduced, it appears that most
Tim Peters [Mon, 5 Apr 2004 19:36:21 +0000 (19:36 +0000)]
Since the fast_yield branch target was introduced, it appears that most
tests of "why" against WHY_YIELD became useless.  This patch removes them,
but assert()s that why != WHY_YIELD everywhere such a test was removed.
The test suite ran fine under a debug build (i.e., the asserts never
triggered).

21 years agoImprove previous checkin to use a slot check instead of equivalent
Raymond Hettinger [Mon, 5 Apr 2004 08:14:48 +0000 (08:14 +0000)]
Improve previous checkin to use a slot check instead of equivalent
attribute name lookup.

21 years agoImprove accuracy of sequence and mapping checks.
Raymond Hettinger [Sun, 4 Apr 2004 08:51:41 +0000 (08:51 +0000)]
Improve accuracy of sequence and mapping checks.

21 years agoOS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that
Andrew MacIntyre [Sun, 4 Apr 2004 07:13:49 +0000 (07:13 +0000)]
OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that
the socket name must start with /socket32/.  Unlike Unix systems, this
file never exists in the file system.

21 years agoOS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
Andrew MacIntyre [Sun, 4 Apr 2004 07:11:43 +0000 (07:11 +0000)]
OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).

Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.

21 years agoIf a file is opened with an explicit buffer size >= 1, repeated
Andrew MacIntyre [Sun, 4 Apr 2004 07:01:35 +0000 (07:01 +0000)]
If a file is opened with an explicit buffer size >= 1, repeated
close() calls would attempt to free() the buffer already free()ed on
the first close().     [bug introduced with patch #788249]

Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.

21 years ago#928751, fix typos in socket doc
Neal Norwitz [Sat, 3 Apr 2004 18:02:37 +0000 (18:02 +0000)]
#928751, fix typos in socket doc

21 years agoIt would help if I deleted the old pystack!
Skip Montanaro [Fri, 2 Apr 2004 14:53:55 +0000 (14:53 +0000)]
It would help if I deleted the old pystack!
Also, move pystack comment down next to it

21 years agoinclude local variables when dumping Python stack trace
Skip Montanaro [Fri, 2 Apr 2004 14:51:13 +0000 (14:51 +0000)]
include local variables when dumping Python stack trace

21 years agoFix support for the "prog" keyword to the OptionParser constructor, as well
Fred Drake [Thu, 1 Apr 2004 07:40:35 +0000 (07:40 +0000)]
Fix support for the "prog" keyword to the OptionParser constructor, as well
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964.

21 years agofix typo that wasn't properly fixed in revision 1.144
Fred Drake [Thu, 1 Apr 2004 04:30:29 +0000 (04:30 +0000)]
fix typo that wasn't properly fixed in revision 1.144

21 years agoBump the magic number to avoid sharing bytecode between 2.3 and 2.4.
Jeremy Hylton [Thu, 1 Apr 2004 02:45:22 +0000 (02:45 +0000)]
Bump the magic number to avoid sharing bytecode between 2.3 and 2.4.
Revise the long comment that explained details of the magic number
in gory detail.

21 years ago[Bugfix candidate] Escape traceback type and value. There are probably additional...
Andrew M. Kuchling [Wed, 31 Mar 2004 20:17:56 +0000 (20:17 +0000)]
[Bugfix candidate] Escape traceback type and value.  There are probably additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)

21 years agoPatch #924497: find(1) all files with /usr/local/bin/python in them.
Martin v. Löwis [Wed, 31 Mar 2004 18:59:04 +0000 (18:59 +0000)]
Patch #924497: find(1) all files with /usr/local/bin/python in them.
Backported to 2.3.

21 years agoWhen /tmp has certain sticky bits set, newly created subdirectories
Guido van Rossum [Wed, 31 Mar 2004 18:53:29 +0000 (18:53 +0000)]
When /tmp has certain sticky bits set, newly created subdirectories
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.

21 years agoadd a heavy box around warning notices to make them really stand out in the
Fred Drake [Wed, 31 Mar 2004 08:08:34 +0000 (08:08 +0000)]
add a heavy box around warning notices to make them really stand out in the
PDF and PostScript versions of the docs (the CSS already does this for HTML)

21 years agoadd missing and forthcoming releases
Fred Drake [Wed, 31 Mar 2004 08:04:46 +0000 (08:04 +0000)]
add missing and forthcoming releases

21 years agoEmphasize the requirement that Python.h be included first more strongly.
Fred Drake [Wed, 31 Mar 2004 07:45:46 +0000 (07:45 +0000)]
Emphasize the requirement that Python.h be included first more strongly.
Closes SF bug #837228; backporting for Python 2.3.4.

21 years agoadded scripts to the list of files automatically included in the
Fred Drake [Wed, 31 Mar 2004 01:50:37 +0000 (01:50 +0000)]
added scripts to the list of files automatically included in the
distribution (see SF bug #796042)

21 years agoOS/2 VACPP build updates/fixes
Andrew MacIntyre [Mon, 29 Mar 2004 11:53:38 +0000 (11:53 +0000)]
OS/2 VACPP build updates/fixes

21 years agoAdded a comment about the unreferenced PyThreadState.tick_counter
Tim Peters [Mon, 29 Mar 2004 02:24:26 +0000 (02:24 +0000)]
Added a comment about the unreferenced PyThreadState.tick_counter
member.