]> granicus.if.org Git - python/log
python
21 years agoAdd some more code page aliases needed for completeness.
Marc-André Lemburg [Tue, 20 Jan 2004 09:38:52 +0000 (09:38 +0000)]
Add some more code page aliases needed for completeness.

21 years agoFix a typo: s/iso_3022/iso2022/
Hye-Shik Chang [Tue, 20 Jan 2004 09:33:30 +0000 (09:33 +0000)]
Fix a typo: s/iso_3022/iso2022/

21 years agoTest not the standard utf-8 codec but gb18030 which is the most complex
Hye-Shik Chang [Tue, 20 Jan 2004 09:11:48 +0000 (09:11 +0000)]
Test not the standard utf-8 codec but gb18030 which is the most complex
codec in multibytecodec consumers.

21 years agoFor whatever reason, these files had \r\r\n line endings on Windows,
Tim Peters [Sun, 18 Jan 2004 21:03:23 +0000 (21:03 +0000)]
For whatever reason, these files had \r\r\n line endings on Windows,
meaning they must have been checked in to CVS from a Linuxish box with
Windowish \r\n line endings to begin with.

21 years agoRevert another local change that snuck into a whitespace normalization
Tim Peters [Sun, 18 Jan 2004 20:39:35 +0000 (20:39 +0000)]
Revert another local change that snuck into a whitespace normalization
patch.

21 years agoRevert change accidentally checked in as part of a whitespace normalization
Tim Peters [Sun, 18 Jan 2004 20:31:02 +0000 (20:31 +0000)]
Revert change accidentally checked in as part of a whitespace normalization
patch.

21 years agoWhitespace normalization.
Tim Peters [Sun, 18 Jan 2004 20:29:55 +0000 (20:29 +0000)]
Whitespace normalization.

21 years agoAdd CJK codecs
Andrew M. Kuchling [Sun, 18 Jan 2004 15:55:51 +0000 (15:55 +0000)]
Add CJK codecs

21 years agoAdd a news entry for importing of CJK codecs.
Hye-Shik Chang [Sat, 17 Jan 2004 14:59:36 +0000 (14:59 +0000)]
Add a news entry for importing of CJK codecs.

21 years agoAdd CJK codecs support as discussed on python-dev. (SF #873597)
Hye-Shik Chang [Sat, 17 Jan 2004 14:29:29 +0000 (14:29 +0000)]
Add CJK codecs support as discussed on python-dev. (SF #873597)

Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!

21 years agodocument PEP 11 progress so far.
Skip Montanaro [Sat, 17 Jan 2004 14:22:44 +0000 (14:22 +0000)]
document PEP 11 progress so far.

21 years agoRemove support for SunOS 4.
Skip Montanaro [Sat, 17 Jan 2004 14:19:44 +0000 (14:19 +0000)]
Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).

21 years agoMore updates for zlib 1.2.1
Martin v. Löwis [Sat, 17 Jan 2004 11:20:17 +0000 (11:20 +0000)]
More updates for zlib 1.2.1

21 years agoUpdate to 1.2.1 for release build too.
Martin v. Löwis [Sat, 17 Jan 2004 11:10:34 +0000 (11:10 +0000)]
Update to 1.2.1 for release build too.

21 years agoRemove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld
Skip Montanaro [Sat, 17 Jan 2004 04:04:13 +0000 (04:04 +0000)]
Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld

21 years agoRemove support for systems defining __d6_pthread_create.
Skip Montanaro [Sat, 17 Jan 2004 03:04:46 +0000 (03:04 +0000)]
Remove support for systems defining __d6_pthread_create.

21 years agoremove DGUX support.
Skip Montanaro [Sat, 17 Jan 2004 00:29:32 +0000 (00:29 +0000)]
remove DGUX support.

21 years agoRemove support for minix.
Skip Montanaro [Sat, 17 Jan 2004 00:16:12 +0000 (00:16 +0000)]
Remove support for minix.
Remove unused and unnecessary checks for sizeof(char).

21 years ago- add warning that hotshot doesn't work well with threads
Fred Drake [Fri, 16 Jan 2004 17:30:16 +0000 (17:30 +0000)]
- add warning that hotshot doesn't work well with threads
- fix some markup

21 years agominor markup improvements
Fred Drake [Fri, 16 Jan 2004 16:07:04 +0000 (16:07 +0000)]
minor markup improvements

21 years agoMake parameter names in docstring more mnemonic
Andrew M. Kuchling [Fri, 16 Jan 2004 13:18:42 +0000 (13:18 +0000)]
Make parameter names in docstring more mnemonic

21 years agoadd a note about memory consumption and LaTeX
Fred Drake [Tue, 13 Jan 2004 23:56:03 +0000 (23:56 +0000)]
add a note about memory consumption and LaTeX
closes SF bug #721157

21 years ago- add comment about $CUSTOM_BUTTONS
Fred Drake [Tue, 13 Jan 2004 23:43:58 +0000 (23:43 +0000)]
- add comment about $CUSTOM_BUTTONS
- use_icon(): fix the check for whether a supplemental link is being
  used

21 years agomarkup changes
Fred Drake [Tue, 13 Jan 2004 23:41:32 +0000 (23:41 +0000)]
markup changes

21 years ago__init__.py: keep it compatible with older python (True and False == 1 and 0)
Gregory P. Smith [Tue, 13 Jan 2004 19:59:57 +0000 (19:59 +0000)]
__init__.py:  keep it compatible with older python (True and False == 1 and 0)
test_basics.py: updated for the set_get_returns_none() default of 2 change.

21 years agoSF Patch #871704: Py_SequenceFast can mask errors
Raymond Hettinger [Sun, 11 Jan 2004 23:26:51 +0000 (23:26 +0000)]
SF Patch #871704:  Py_SequenceFast can mask errors
(Contributed by Greg Chapman.)

Since this only changes the error message, I doubt that it should be
backported.

21 years ago[Bug #873205] Update URL
Andrew M. Kuchling [Sun, 11 Jan 2004 23:00:16 +0000 (23:00 +0000)]
[Bug #873205] Update URL

21 years agoMore cases of input parameters passed by reference without const.
Jack Jansen [Sun, 11 Jan 2004 22:52:12 +0000 (22:52 +0000)]
More cases of input parameters passed by reference without const.

21 years agoAdded support for APIs in QuickTimeMusic.h. This one is a bit dodgy:
Jack Jansen [Sun, 11 Jan 2004 22:27:42 +0000 (22:27 +0000)]
Added support for APIs in QuickTimeMusic.h. This one is a bit dodgy:
the header file seems to be hand-written and missing the "const" keywords
for input parameters passed by reference.

21 years agoThe format of the string data used in the imageop module is described
Sjoerd Mullender [Sat, 10 Jan 2004 20:43:43 +0000 (20:43 +0000)]
The format of the string data used in the imageop module is described
as "This is the same format as used by gl.lrectwrite() and the imgfile
module."  This implies a certain byte order in multi-byte pixel
formats.  However, the code was originally written on an SGI
(big-endian) and *uses* the fact that bytes are stored in a particular
order in ints.  This means that the code uses and produces different
byte order on little-endian systems.

This fix adds a module-level flag "backward_compatible" (default not
set, and if not set, behaves as if set to 1--i.e. backward compatible)
that can be used on a little-endian system to use the same byte order
as the SGI.  Using this flag it is then possible to prepare
SGI-compatible images on a little-endian system.

This patch is the result of a (small) discussion on python-dev and was
submitted to SourceForge as patch #874358.

21 years agoAdded support for APIs in MediaHandlers.h.
Jack Jansen [Fri, 9 Jan 2004 23:18:47 +0000 (23:18 +0000)]
Added support for APIs in MediaHandlers.h.

21 years agoUpdate Windows build to use zlib 1.2.1
Jeremy Hylton [Fri, 9 Jan 2004 16:05:07 +0000 (16:05 +0000)]
Update Windows build to use zlib 1.2.1

21 years agoFix some digicool addresses I noticed
Andrew M. Kuchling [Thu, 8 Jan 2004 15:01:08 +0000 (15:01 +0000)]
Fix some digicool addresses I noticed

21 years agoadd link to the red-dove.com page about the logging package
Fred Drake [Thu, 8 Jan 2004 14:59:02 +0000 (14:59 +0000)]
add link to the red-dove.com page about the logging package

21 years agoadd new reference macro: \seelink
Fred Drake [Thu, 8 Jan 2004 14:57:27 +0000 (14:57 +0000)]
add new reference macro: \seelink

21 years agoSF bug #872461: list.extend() described as experimental
Raymond Hettinger [Thu, 8 Jan 2004 00:31:50 +0000 (00:31 +0000)]
SF bug #872461:  list.extend() described as experimental

21 years ago__all__: Remove freenet_b64encode and freenet_b64decode.
Barry Warsaw [Wed, 7 Jan 2004 22:32:12 +0000 (22:32 +0000)]
__all__: Remove freenet_b64encode and freenet_b64decode.

21 years agoAdd the _bisectmodule.c source file to the pythoncore project - seems to have been...
Thomas Heller [Tue, 6 Jan 2004 19:27:38 +0000 (19:27 +0000)]
Add the _bisectmodule.c source file to the pythoncore project - seems to have been forgotten.

21 years agoUpdate information about building bsddb, particularly re with and without
Mark Hammond [Tue, 6 Jan 2004 04:04:01 +0000 (04:04 +0000)]
Update information about building bsddb, particularly re with and without
strong crypto.

21 years agoSF Patch #864863: Bisect C implementation
Raymond Hettinger [Mon, 5 Jan 2004 10:13:35 +0000 (10:13 +0000)]
SF Patch #864863:  Bisect C implementation
(Contributed by Dmitry Vasiliev.)

21 years agoSmall correction to example
Raymond Hettinger [Mon, 5 Jan 2004 08:15:20 +0000 (08:15 +0000)]
Small correction to example

21 years ago* Add various updates reflecting the last two weeks of checkins:
Raymond Hettinger [Mon, 5 Jan 2004 00:29:57 +0000 (00:29 +0000)]
* Add various updates reflecting the last two weeks of checkins:
  timeit, base64, MSVC++ 7.1 build, METH_COEXISTS, and optimizations.

* Put in a comment suggesting an improvement to the rsplit() example.

21 years ago[SF #866875] Add a specialized routine for one character
Hye-Shik Chang [Mon, 5 Jan 2004 00:29:51 +0000 (00:29 +0000)]
[SF #866875] Add a specialized routine for one character
separaters on str.split() and str.rsplit().

21 years agoAllow passing NULL pointers by passing None. This also works for the
Jack Jansen [Sun, 4 Jan 2004 22:33:33 +0000 (22:33 +0000)]
Allow passing NULL pointers by passing None. This also works for the
factory functions, so you can call quicktime functions that are implemented
as methods on NULL too.

Still don't allow quicktime functions to return NULL pointers, though: I
think this always signals an error condition.

21 years agoShow how to re-enable GC during timings.
Raymond Hettinger [Sun, 4 Jan 2004 21:19:18 +0000 (21:19 +0000)]
Show how to re-enable GC during timings.

21 years agoFIx unicodefilename support of posix.uname(). This fixes test_unicode_file
Hye-Shik Chang [Sun, 4 Jan 2004 13:54:25 +0000 (13:54 +0000)]
FIx unicodefilename support of posix.uname(). This fixes test_unicode_file
failure on FreeBSD.

21 years agoExercise sorted() where possible
Raymond Hettinger [Sun, 4 Jan 2004 11:14:51 +0000 (11:14 +0000)]
Exercise sorted() where possible

21 years agoApply pre-sizing optimization to a broader class of objects.
Raymond Hettinger [Sun, 4 Jan 2004 11:00:08 +0000 (11:00 +0000)]
Apply pre-sizing optimization to a broader class of objects.
Formerly, the length was only fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.

21 years agoBump build number
Martin v. Löwis [Sun, 4 Jan 2004 09:58:33 +0000 (09:58 +0000)]
Bump build number

21 years agoApply map/zip pre-sizing optimization to a broader class of objects.
Raymond Hettinger [Sun, 4 Jan 2004 08:54:44 +0000 (08:54 +0000)]
Apply map/zip pre-sizing optimization to a broader class of objects.
Formerly, the length was only fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.

21 years agoApply tuple/list pre-sizing optimization to a broader class of objects.
Raymond Hettinger [Sun, 4 Jan 2004 06:08:16 +0000 (06:08 +0000)]
Apply tuple/list pre-sizing optimization to a broader class of objects.
Formerly, length data fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.

On one sample timing, it gave a threefold speedup for list(s) where s
was a set object.

21 years agoConvert return value to boolean.
Raymond Hettinger [Sun, 4 Jan 2004 04:00:13 +0000 (04:00 +0000)]
Convert return value to boolean.

21 years agoSF patch #868736: Disable GC for timeit
Raymond Hettinger [Sun, 4 Jan 2004 03:47:51 +0000 (03:47 +0000)]
SF patch #868736:  Disable GC for timeit

Make timings more consistent by temporarily disabling GC.

21 years agoFix small factual error.
Raymond Hettinger [Sun, 4 Jan 2004 03:11:45 +0000 (03:11 +0000)]
Fix small factual error.

21 years agoUpdate to record .pyd files removed for Python 2.4.
Tim Peters [Sun, 4 Jan 2004 03:00:51 +0000 (03:00 +0000)]
Update to record .pyd files removed for Python 2.4.

21 years agoThat's it -- works as well under VC6 as it ever did now.
Tim Peters [Sun, 4 Jan 2004 02:51:36 +0000 (02:51 +0000)]
That's it -- works as well under VC6 as it ever did now.

21 years agoThe _tkinter subproject works with VC6 again.
Tim Peters [Sun, 4 Jan 2004 02:32:53 +0000 (02:32 +0000)]
The _tkinter subproject works with VC6 again.

21 years agoThe bz2 subproject works with VC6 again.
Tim Peters [Sun, 4 Jan 2004 02:30:49 +0000 (02:30 +0000)]
The bz2 subproject works with VC6 again.

21 years agoThe _ssl subproject may <heh> be working w/ VC6 again.
Tim Peters [Sun, 4 Jan 2004 02:27:33 +0000 (02:27 +0000)]
The _ssl subproject may <heh> be working w/ VC6 again.

21 years agoThe _bsddb subproject works again under VC6.
Tim Peters [Sun, 4 Jan 2004 02:12:55 +0000 (02:12 +0000)]
The _bsddb subproject works again under VC6.

21 years agoRemoved dead text about MS subprojects that no longer exist.
Tim Peters [Sun, 4 Jan 2004 02:04:35 +0000 (02:04 +0000)]
Removed dead text about MS subprojects that no longer exist.

21 years agoGetting closer (but not yet there) to being able to compile under VC6
Tim Peters [Sun, 4 Jan 2004 02:00:47 +0000 (02:00 +0000)]
Getting closer (but not yet there) to being able to compile under VC6
again.  Removed the following subprojects and folded them into pythoncore,
to match what's being done under VC7.  We *can* build the core DLL
under VC6 again after this:

datetime.dsp
winreg.dsp
parser.dsp
_sre.dsp
_csv.dsp
mmap.dsp
_symtable.dsp

21 years agoDocumentation for new RFC 3548 functions.
Barry Warsaw [Sun, 4 Jan 2004 01:14:01 +0000 (01:14 +0000)]
Documentation for new RFC 3548 functions.

21 years agoAdd note about new base64.py module support for RFC 3548.
Barry Warsaw [Sun, 4 Jan 2004 01:13:43 +0000 (01:13 +0000)]
Add note about new base64.py module support for RFC 3548.

21 years agoMore complete code coverage, including testing the new RFC 3548 support.
Barry Warsaw [Sun, 4 Jan 2004 01:13:02 +0000 (01:13 +0000)]
More complete code coverage, including testing the new RFC 3548 support.

21 years agoAdded more complete RFC 3548 support for Base64, Base32, and Base16
Barry Warsaw [Sun, 4 Jan 2004 01:12:26 +0000 (01:12 +0000)]
Added more complete RFC 3548 support for Base64, Base32, and Base16
encoding and decoding, including optional case folding and optional
alternative alphabets.

21 years agoCosmetic fix for wrongly indented tabs with ts=4.
Hye-Shik Chang [Sat, 3 Jan 2004 19:35:43 +0000 (19:35 +0000)]
Cosmetic fix for wrongly indented tabs with ts=4.

21 years agoAdded interfaces for most of the stuff in QuickTimeComponents.h.
Jack Jansen [Sat, 3 Jan 2004 17:23:27 +0000 (17:23 +0000)]
Added interfaces for most of the stuff in QuickTimeComponents.h.

21 years agoTons of changes to get this closer to being buildable from this directory;
Tim Peters [Sat, 3 Jan 2004 05:45:59 +0000 (05:45 +0000)]
Tons of changes to get this closer to being buildable from this directory;
still far away, but a lot closer than it was.

21 years agoAdded support for ImageCompression.h APIs.
Jack Jansen [Fri, 2 Jan 2004 23:51:22 +0000 (23:51 +0000)]
Added support for ImageCompression.h APIs.

21 years agoUpdated for QuickTime 6.0, Universal Header 3.4.2.
Jack Jansen [Fri, 2 Jan 2004 23:27:42 +0000 (23:27 +0000)]
Updated for QuickTime 6.0, Universal Header 3.4.2.

21 years agoAdd comment to mollify Tim.
Jeremy Hylton [Fri, 2 Jan 2004 23:25:32 +0000 (23:25 +0000)]
Add comment to mollify Tim.

21 years agoMove VC6 project files here.
Martin v. Löwis [Fri, 2 Jan 2004 21:15:07 +0000 (21:15 +0000)]
Move VC6 project files here.

21 years agoUpdate build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis [Fri, 2 Jan 2004 21:14:37 +0000 (21:14 +0000)]
Update build procedure to VC 7.1; make more modules builtin.

21 years agoUpdate build procedure to VC 7.1.
Martin v. Löwis [Fri, 2 Jan 2004 21:13:59 +0000 (21:13 +0000)]
Update build procedure to VC 7.1.

21 years agoUpdate build procedure to VC 7.1 and newer versions of several packages.
Martin v. Löwis [Fri, 2 Jan 2004 21:13:28 +0000 (21:13 +0000)]
Update build procedure to VC 7.1 and newer versions of several packages.

21 years agoThe script now takes an optional command-line argument to specify how many
Alex Martelli [Fri, 2 Jan 2004 17:11:54 +0000 (17:11 +0000)]
The script now takes an optional command-line argument to specify how many
loops to run (default remains 50,000 if no argument is specified).

21 years ago[Bug #812325 ] tarfile.close() can write out more bytes to the output
Andrew M. Kuchling [Fri, 2 Jan 2004 15:44:29 +0000 (15:44 +0000)]
[Bug #812325 ] tarfile.close() can write out more bytes to the output
   than are specified by the buffer size.  The patch calls .__write()
   to ensure that any full blocks are written out.

21 years agolist the Python Software Foundation on all the documents
Fred Drake [Fri, 2 Jan 2004 06:57:50 +0000 (06:57 +0000)]
list the Python Software Foundation on all the documents

21 years agoPythonLabs --> Python Software Foundation
Fred Drake [Fri, 2 Jan 2004 06:52:06 +0000 (06:52 +0000)]
PythonLabs --> Python Software Foundation

21 years ago- Print correct exception even if source file changed since shell was
Kurt B. Kaiser [Fri, 2 Jan 2004 04:04:04 +0000 (04:04 +0000)]
- Print correct exception even if source file changed since shell was
  restarted.  IDLEfork Patch 869012 Noam Raphael

Modified Files:
NEWS.txt run.py

21 years agoUse 'input' as variable name, even though it shadows a built-in
Andrew M. Kuchling [Thu, 1 Jan 2004 18:33:34 +0000 (18:33 +0000)]
Use 'input' as variable name, even though it shadows a built-in
Remove applications of rsplit() and random numbers
Typo fixes; minor tweaks

21 years agoin the section "The interpreter stack":
Fred Drake [Thu, 1 Jan 2004 07:21:14 +0000 (07:21 +0000)]
in the section "The interpreter stack":
- rearranged a bit to avoid duplicated information
- provide more complete (and hopefully less confusing) descriptions of
  the return values for most of these functions
  (close SF bug #563298)

21 years agoAdd sets to list of picklable objects.
Raymond Hettinger [Thu, 1 Jan 2004 05:53:51 +0000 (05:53 +0000)]
Add sets to list of picklable objects.

21 years agoclean up indexing for None, NotImplemented
Fred Drake [Thu, 1 Jan 2004 05:43:53 +0000 (05:43 +0000)]
clean up indexing for None, NotImplemented
closes SF bug #820344

21 years agofix reference to File Object documentation
Fred Drake [Thu, 1 Jan 2004 03:41:27 +0000 (03:41 +0000)]
fix reference to File Object documentation
closes SF bug #825810

21 years agoSF Patch 681780: Faster commonprefix (OS independent)
Raymond Hettinger [Wed, 31 Dec 2003 22:44:29 +0000 (22:44 +0000)]
SF Patch 681780: Faster commonprefix (OS independent)

Improved based on discussions at:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177
http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com

21 years agoSF patch #859286: documentation bool change fix
Raymond Hettinger [Wed, 31 Dec 2003 18:37:28 +0000 (18:37 +0000)]
SF patch #859286:  documentation bool change fix
(Contributed by George Yoshida.)

21 years ago* Simplify and speedup logic for tp_print.
Raymond Hettinger [Wed, 31 Dec 2003 14:08:58 +0000 (14:08 +0000)]
* Simplify and speedup logic for tp_print.
* Speed-up intersection whenever PyDict_Next can be used.

21 years agouse conventional whitespace in interactive example
Fred Drake [Wed, 31 Dec 2003 07:41:52 +0000 (07:41 +0000)]
use conventional whitespace in interactive example

21 years agoCorrect misrepresentation of print (it uses str(), not `...` for
Guido van Rossum [Wed, 31 Dec 2003 06:32:38 +0000 (06:32 +0000)]
Correct misrepresentation of print (it uses str(), not `...` for
conversion).  Hopefully I've not messed up the formatting.

21 years ago- general markup cleanup
Fred Drake [Wed, 31 Dec 2003 05:18:46 +0000 (05:18 +0000)]
- general markup cleanup
- rearrange so two small sections become one; this avoids an extra
  page in the HTML format

21 years agogeneral markup improvements
Fred Drake [Wed, 31 Dec 2003 05:01:23 +0000 (05:01 +0000)]
general markup improvements

21 years ago- add link to the datetime module
Fred Drake [Wed, 31 Dec 2003 04:52:36 +0000 (04:52 +0000)]
- add link to the datetime module

21 years ago- update description of isleap()
Fred Drake [Wed, 31 Dec 2003 04:51:56 +0000 (04:51 +0000)]
- update description of isleap()
- add link to the datetime module

21 years ago- use the same markup for the deprecation as for that of
Fred Drake [Wed, 31 Dec 2003 04:41:47 +0000 (04:41 +0000)]
- use the same markup for the deprecation as for that of
  file.xreadlines()

21 years ago- add a "See also" reference to the doctest module
Fred Drake [Wed, 31 Dec 2003 04:34:50 +0000 (04:34 +0000)]
- add a "See also" reference to the doctest module
- slightly simplify a couple of examples
- clean up some markup

21 years agoStrengthen the test for hash effectiveness
Raymond Hettinger [Wed, 31 Dec 2003 02:01:33 +0000 (02:01 +0000)]
Strengthen the test for hash effectiveness

21 years agoVarious fixups:
Raymond Hettinger [Wed, 31 Dec 2003 01:59:18 +0000 (01:59 +0000)]
Various fixups:
* Add comment on the future of the sets module.
* Change a variable from "input" to "data" to avoid shadowing a builtin.
* Added possible applications for str.rsplit() and itertools.tee().
* Repaired the example for sorted().
* Cleaned-up the example for operator.itemgetter().

21 years agofix truly evil markup typo
Fred Drake [Tue, 30 Dec 2003 23:08:14 +0000 (23:08 +0000)]
fix truly evil markup typo