]> granicus.if.org Git - python/log
python
19 years agoRemove statement about meaning of constants; arguably it's incorrect
Andrew M. Kuchling [Thu, 1 Sep 2005 14:08:38 +0000 (14:08 +0000)]
Remove statement about meaning of constants; arguably it's incorrect

19 years agoFix rest markup and typos.
Walter Dörwald [Thu, 1 Sep 2005 12:04:29 +0000 (12:04 +0000)]
Fix rest markup and typos.

19 years agoSF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads
Walter Dörwald [Thu, 1 Sep 2005 11:56:53 +0000 (11:56 +0000)]
SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.

19 years agoReverting previous checkin. This breaks too much of HTMLParser to be applied
Georg Brandl [Thu, 1 Sep 2005 06:25:34 +0000 (06:25 +0000)]
Reverting previous checkin. This breaks too much of HTMLParser to be applied
without thought. Anyway, such malformed HTML is better handled by something
like BeautifulSoup.

19 years agoNo need to import exceptions, they are builtins
Neal Norwitz [Thu, 1 Sep 2005 00:45:28 +0000 (00:45 +0000)]
No need to import exceptions, they are builtins

19 years agoRemove unused import
Neal Norwitz [Thu, 1 Sep 2005 00:39:02 +0000 (00:39 +0000)]
Remove unused import

19 years agoFix bug in last checkin (2.231). To match previous behavior, unicode
Neil Schemenauer [Wed, 31 Aug 2005 23:02:05 +0000 (23:02 +0000)]
Fix bug in last checkin (2.231).  To match previous behavior, unicode
subclasses should be substituted as-is and not have tp_str called on
them.

19 years agopatch [ 1242454 ] shutil.copytree() quits too soon after an error.
Georg Brandl [Wed, 31 Aug 2005 22:48:45 +0000 (22:48 +0000)]
patch [ 1242454 ] shutil.copytree() quits too soon after an error.

19 years agoWhitespace normalization.
Georg Brandl [Wed, 31 Aug 2005 22:21:15 +0000 (22:21 +0000)]
Whitespace normalization.

19 years agobug [ 761452 ] HTMLParser chokes on my.yahoo.com output
Georg Brandl [Wed, 31 Aug 2005 22:08:45 +0000 (22:08 +0000)]
bug [ 761452 ] HTMLParser chokes on my.yahoo.com output

19 years agoTypo fix
Andrew M. Kuchling [Wed, 31 Aug 2005 17:49:38 +0000 (17:49 +0000)]
Typo fix

19 years agoFrom c.l.py comments: link to zlib manual, and disclaim completeness
Andrew M. Kuchling [Wed, 31 Aug 2005 16:52:40 +0000 (16:52 +0000)]
From c.l.py comments: link to zlib manual, and disclaim completeness

19 years agoUpdate URLs
Andrew M. Kuchling [Wed, 31 Aug 2005 14:43:10 +0000 (14:43 +0000)]
Update URLs

19 years agoExplain what file descriptors are; this change has been sitting in my tree for a...
Andrew M. Kuchling [Wed, 31 Aug 2005 13:50:17 +0000 (13:50 +0000)]
Explain what file descriptors are; this change has been sitting in my tree for a while

19 years agoSF bug #1277016: Turn sentence fragment into a complete sentence.
Walter Dörwald [Wed, 31 Aug 2005 11:03:12 +0000 (11:03 +0000)]
SF bug #1277016: Turn sentence fragment into a complete sentence.

19 years agoupdated __version__
Piers Lauder [Wed, 31 Aug 2005 10:50:03 +0000 (10:50 +0000)]
updated __version__

19 years agochanged select() so readonly flag is treated as a boolean
Piers Lauder [Wed, 31 Aug 2005 10:46:29 +0000 (10:46 +0000)]
changed select() so readonly flag is treated as a boolean

19 years agoSF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
Walter Dörwald [Tue, 30 Aug 2005 10:23:14 +0000 (10:23 +0000)]
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the Nik Haldimann's patch that detects truncated data)

19 years agoSF #1275796, fix distutils typo "sortcut" -> "shortcut"
Neal Norwitz [Tue, 30 Aug 2005 03:34:46 +0000 (03:34 +0000)]
SF #1275796, fix distutils typo "sortcut" -> "shortcut"

19 years agoAdd to-do list
Andrew M. Kuchling [Tue, 30 Aug 2005 01:28:15 +0000 (01:28 +0000)]
Add to-do list

19 years agoRemove rexec howto; it's kind of pointless now
Andrew M. Kuchling [Tue, 30 Aug 2005 01:27:40 +0000 (01:27 +0000)]
Remove rexec howto; it's kind of pointless now

19 years agoCommit the howto source to the main Python repository, with Fred's approval
Andrew M. Kuchling [Tue, 30 Aug 2005 01:25:05 +0000 (01:25 +0000)]
Commit the howto source to the main Python repository, with Fred's approval

19 years agoFix logic error introduced in last commit. Also add a comment to explain what
Brett Cannon [Mon, 29 Aug 2005 18:25:55 +0000 (18:25 +0000)]
Fix logic error introduced in last commit.  Also add a comment to explain what
the code is doing.

19 years agoAdd missing \end, noted by George Yoshida
Andrew M. Kuchling [Mon, 29 Aug 2005 13:30:12 +0000 (13:30 +0000)]
Add missing \end, noted by George Yoshida

19 years agofix bug where str.find() was being misused where __contains__ should have been
Brett Cannon [Sat, 27 Aug 2005 19:25:59 +0000 (19:25 +0000)]
fix bug where str.find() was being misused where __contains__ should have been
used.

19 years agoWrite section on PEP 342
Andrew M. Kuchling [Sat, 27 Aug 2005 18:45:47 +0000 (18:45 +0000)]
Write section on PEP 342

19 years agopatch [ 1274550 ] libtarfile.tex: external URL changed
Georg Brandl [Sat, 27 Aug 2005 17:10:35 +0000 (17:10 +0000)]
patch [ 1274550 ] libtarfile.tex: external URL changed

19 years agopatch [ 1274630 ] documentation fixes
Georg Brandl [Sat, 27 Aug 2005 17:04:58 +0000 (17:04 +0000)]
patch [ 1274630 ] documentation fixes

19 years agopatch [ 1274630 ] documentation fixes
Georg Brandl [Sat, 27 Aug 2005 17:04:58 +0000 (17:04 +0000)]
patch [ 1274630 ] documentation fixes

19 years agoPatch #1168594: set sizes of non-regular files to zero. Fixes #1167128.
Martin v. Löwis [Sat, 27 Aug 2005 10:07:56 +0000 (10:07 +0000)]
Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128.
Will backport to 2.4.

19 years agoWhitespace normalization (via reindent.py).
Tim Peters [Fri, 26 Aug 2005 15:20:46 +0000 (15:20 +0000)]
Whitespace normalization (via reindent.py).

19 years agotestSeekBackwardsFromEnd(): Repair obvious syntax error.
Tim Peters [Fri, 26 Aug 2005 14:33:57 +0000 (14:33 +0000)]
testSeekBackwardsFromEnd():  Repair obvious syntax error.

19 years agoAdd list() around xreadlines()
Georg Brandl [Fri, 26 Aug 2005 13:23:54 +0000 (13:23 +0000)]
Add list() around xreadlines()

19 years ago*** empty log message ***
Georg Brandl [Fri, 26 Aug 2005 13:21:50 +0000 (13:21 +0000)]
*** empty log message ***

19 years ago__new__ is a static method
Georg Brandl [Fri, 26 Aug 2005 12:56:22 +0000 (12:56 +0000)]
__new__ is a static method

19 years agopatch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve
Georg Brandl [Fri, 26 Aug 2005 08:51:34 +0000 (08:51 +0000)]
patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve

19 years agoSF bug #1072182: bad arg type to isspace in struct module
Raymond Hettinger [Fri, 26 Aug 2005 08:39:56 +0000 (08:39 +0000)]
SF bug #1072182: bad arg type to isspace in struct module

19 years agopatch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows
Georg Brandl [Fri, 26 Aug 2005 08:34:00 +0000 (08:34 +0000)]
patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows

19 years agotypo
Georg Brandl [Fri, 26 Aug 2005 06:43:52 +0000 (06:43 +0000)]
typo

19 years agoDisallow keyword arguments for type constructors that don't use them.
Georg Brandl [Fri, 26 Aug 2005 06:42:30 +0000 (06:42 +0000)]
Disallow keyword arguments for type constructors that don't use them.
(fixes bug #1119418)

19 years agobug [ 1248199 ] shelve .sync operation not documented
Georg Brandl [Thu, 25 Aug 2005 22:40:16 +0000 (22:40 +0000)]
bug [ 1248199 ] shelve .sync operation not documented

19 years agobug [ 1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 22:14:15 +0000 (22:14 +0000)]
bug [ 1262320 ] minidom.py alternate newl support is broken

19 years agobug [ 1262320 ] minidom.py alternate newl support is broken
Georg Brandl [Thu, 25 Aug 2005 22:02:43 +0000 (22:02 +0000)]
bug [ 1262320 ] minidom.py alternate newl support is broken

19 years agobug [ 1261229 ] __new__ is class method
Georg Brandl [Thu, 25 Aug 2005 21:56:45 +0000 (21:56 +0000)]
bug [ 1261229 ] __new__ is class method

19 years agoMinor spelling nit.
Georg Brandl [Thu, 25 Aug 2005 20:41:38 +0000 (20:41 +0000)]
Minor spelling nit.

19 years agoCorrecting my last BZ2 entry. Adding one for #1215928.
Georg Brandl [Thu, 25 Aug 2005 13:10:41 +0000 (13:10 +0000)]
Correcting my last BZ2 entry. Adding one for #1215928.

19 years agoOnce upon a time, I used to know TeX...
Georg Brandl [Thu, 25 Aug 2005 12:51:16 +0000 (12:51 +0000)]
Once upon a time, I used to know TeX...

19 years agoMake IDNA return an empty string when the input is empty. Fixes #1163178.
Martin v. Löwis [Thu, 25 Aug 2005 11:03:38 +0000 (11:03 +0000)]
Make IDNA return an empty string when the input is empty. Fixes #1163178.
Will backport to 2.4.

19 years agoCorrect test suite for #848017.
Georg Brandl [Thu, 25 Aug 2005 07:32:42 +0000 (07:32 +0000)]
Correct test suite for #848017.

19 years agoPatch #1160164: Use ReleaseItanium for zlib build.
Martin v. Löwis [Thu, 25 Aug 2005 07:11:31 +0000 (07:11 +0000)]
Patch #1160164: Use ReleaseItanium for zlib build.
Will backport to 2.4.

19 years agopatch #848017: make Cookie more RFC-compliant.
Georg Brandl [Wed, 24 Aug 2005 22:34:21 +0000 (22:34 +0000)]
patch #848017: make Cookie more RFC-compliant.

19 years agoBug #735248: Fix urllib2.parse_http_list.
Georg Brandl [Wed, 24 Aug 2005 22:20:32 +0000 (22:20 +0000)]
Bug #735248: Fix urllib2.parse_http_list.

19 years agoAdd findnocoding.py and pysource.py.
Georg Brandl [Wed, 24 Aug 2005 21:42:14 +0000 (21:42 +0000)]
Add findnocoding.py and pysource.py.

19 years agoBug 1016563: Bug in urllib2 proxy auth
Georg Brandl [Wed, 24 Aug 2005 20:29:32 +0000 (20:29 +0000)]
Bug 1016563: Bug in urllib2 proxy auth

19 years agoPatch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld
Georg Brandl [Wed, 24 Aug 2005 18:46:39 +0000 (18:46 +0000)]
Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld

19 years agoPatch [ 784089 ] A program to scan python files and list those require coding
Georg Brandl [Wed, 24 Aug 2005 18:32:30 +0000 (18:32 +0000)]
Patch [ 784089 ] A program to scan python files and list those require coding

19 years agoPatch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.
Martin v. Löwis [Wed, 24 Aug 2005 14:55:22 +0000 (14:55 +0000)]
Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.
Will backport to 2.4.

19 years agoCorrect names of sha modules.
Raymond Hettinger [Wed, 24 Aug 2005 12:13:23 +0000 (12:13 +0000)]
Correct names of sha modules.

19 years agopatch [ 1141428 ] more __contains__ tests
Georg Brandl [Wed, 24 Aug 2005 09:08:57 +0000 (09:08 +0000)]
patch [ 1141428 ] more __contains__ tests

19 years ago[ 1113421 ] New tutorial tests in test_generators.py
Georg Brandl [Wed, 24 Aug 2005 09:02:29 +0000 (09:02 +0000)]
1113421 ] New tutorial tests in test_generators.py

19 years agoForward UnicodeDecodeError into SyntaxError for source encoding errors.
Martin v. Löwis [Wed, 24 Aug 2005 08:39:24 +0000 (08:39 +0000)]
Forward UnicodeDecodeError into SyntaxError for source encoding errors.
Will backport to 2.4.

19 years agoReturn complete lines from codec stream readers
Martin v. Löwis [Wed, 24 Aug 2005 07:38:12 +0000 (07:38 +0000)]
Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.
Will backport to 2.4.

19 years agobug [ 1192315 ] 'clear -1' in pdb
Georg Brandl [Wed, 24 Aug 2005 07:36:17 +0000 (07:36 +0000)]
bug [ 1192315 ] 'clear -1' in pdb

19 years agobug [ 1190204 ] 3.29 site is confusing re site-packages on Windows
Georg Brandl [Wed, 24 Aug 2005 07:31:33 +0000 (07:31 +0000)]
bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows

19 years agobug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME
Georg Brandl [Wed, 24 Aug 2005 07:26:55 +0000 (07:26 +0000)]
bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME

19 years agobug [ 728515 ] mmap's resize method resizes the file in win32 but not unix
Georg Brandl [Wed, 24 Aug 2005 07:17:40 +0000 (07:17 +0000)]
bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix

19 years agoSF bug #1100368: Wrong "type()" syntax in docs
Raymond Hettinger [Wed, 24 Aug 2005 07:06:25 +0000 (07:06 +0000)]
SF bug #1100368:  Wrong "type()" syntax in docs

Docs were missing the name/bases/dict form of type().

(Much of the wording contributed by Steven Bethard.)

19 years agoRevert previous checkin.
Martin v. Löwis [Wed, 24 Aug 2005 06:43:09 +0000 (06:43 +0000)]
Revert previous checkin.

19 years agoPatch #1262036: Make tarfile name absolute. Fixes #1257255.
Martin v. Löwis [Wed, 24 Aug 2005 06:06:52 +0000 (06:06 +0000)]
Patch #1262036: Make tarfile name absolute. Fixes #1257255.
Will backport to 2.4.

19 years agoUpdate the PC configuration and project files for sha256 and sha512.
Raymond Hettinger [Wed, 24 Aug 2005 00:28:21 +0000 (00:28 +0000)]
Update the PC configuration and project files for sha256 and sha512.

19 years ago* Add a fast equality check path for frozensets where the hash value has
Raymond Hettinger [Wed, 24 Aug 2005 00:24:40 +0000 (00:24 +0000)]
* Add a fast equality check path for frozensets where the hash value has
  already been computed.
* Apply a GET_SIZE macro().

19 years agoRemove the C99 "ULL" suffix from the 64bit unsigned long constants.
Gregory P. Smith [Tue, 23 Aug 2005 21:30:03 +0000 (21:30 +0000)]
Remove the C99 "ULL" suffix from the 64bit unsigned long constants.
VC++6 doesn't accept them.

This *will* result in tons of the following warning from gcc 3.x:
(gcc "2.96ish" doesn't issue this warning)

 warning: integer constant is too large for "long" type

the code compiles fine regardless.  squashing the gcc warnings
is the next task.

Would someone on windows please confirm that this does or does not
compile and if it does or does not pass the test_hashlib.py unit
tests.

19 years agoAdd a check for the OpenSSL version number to conditionally compile
Gregory P. Smith [Tue, 23 Aug 2005 21:19:40 +0000 (21:19 +0000)]
Add a check for the OpenSSL version number to conditionally compile
the _hashlibopenssl module (>= 0.9.7 required) and to not compile the
sha256 and sha512 modules if OpenSSL >= 0.9.8 is found.

19 years agoMore tutorial nits.
Raymond Hettinger [Tue, 23 Aug 2005 18:26:00 +0000 (18:26 +0000)]
More tutorial nits.

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations (Contributed by Micha...
Raymond Hettinger [Tue, 23 Aug 2005 18:02:28 +0000 (18:02 +0000)]
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations (Contributed by Michael R Bax.)

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations
Raymond Hettinger [Tue, 23 Aug 2005 15:00:45 +0000 (15:00 +0000)]
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)

19 years agoIn an e-mail to the webmaster alias, some suggested adding this text. Windows users...
Andrew M. Kuchling [Tue, 23 Aug 2005 13:48:21 +0000 (13:48 +0000)]
In an e-mail to the webmaster alias, some suggested adding this text.  Windows users, please correct/expand as necessary.

19 years agoord() documentation update; this is what remains applicable from
Fred Drake [Tue, 23 Aug 2005 04:33:29 +0000 (04:33 +0000)]
ord() documentation update; this is what remains applicable from
SF patch #1057588; other changes make the rest of the patch out of date
or otherwise unnecessary

19 years agoadd note about "markupbase" not being intended for direct use
Fred Drake [Tue, 23 Aug 2005 04:06:46 +0000 (04:06 +0000)]
add note about "markupbase" not being intended for direct use
(closes SF bug #736659, patch #901369)

19 years agoRevert previous code elimination, 'filename' is needed.
Kurt B. Kaiser [Tue, 23 Aug 2005 03:25:38 +0000 (03:25 +0000)]
Revert previous code elimination, 'filename' is needed.

19 years ago1. Mac line endings were incorrect when pasting code from some browsers
Kurt B. Kaiser [Tue, 23 Aug 2005 02:27:23 +0000 (02:27 +0000)]
1. Mac line endings were incorrect when pasting code from some browsers
   when using X11 and the Fink distribution.  Python Bug 1263656.
2. Eliminate duplicated code in ScriptBinding.run_module_event()
Modified Files:
  NEWS.txt ScriptBinding.py

19 years agoTypo fixes
Andrew M. Kuchling [Tue, 23 Aug 2005 00:57:07 +0000 (00:57 +0000)]
Typo fixes

19 years agoNote various items; write some shorter sections
Andrew M. Kuchling [Tue, 23 Aug 2005 00:56:06 +0000 (00:56 +0000)]
Note various items; write some shorter sections

19 years agobug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
Georg Brandl [Mon, 22 Aug 2005 19:35:18 +0000 (19:35 +0000)]
bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation

19 years agowhoops, missed adding this last night in my hashlib commit
Gregory P. Smith [Mon, 22 Aug 2005 18:31:41 +0000 (18:31 +0000)]
whoops, missed adding this last night in my hashlib commit

19 years agoBug #1266283: lexists() is not exported from os.path
Georg Brandl [Mon, 22 Aug 2005 18:02:59 +0000 (18:02 +0000)]
Bug #1266283: lexists() is not exported from os.path

19 years ago[ sf.net patch # 1121611 ]
Gregory P. Smith [Sun, 21 Aug 2005 18:45:59 +0000 (18:45 +0000)]
[ sf.net patch # 1121611 ]

A new hashlib module to replace the md5 and sha modules.  It adds
support for additional secure hashes such as SHA-256 and SHA-512.  The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available.  The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.

19 years agoFix BZ2File.(x)readlines() for files without a newline.
Georg Brandl [Sun, 21 Aug 2005 14:16:04 +0000 (14:16 +0000)]
Fix BZ2File.(x)readlines() for files without a newline.

19 years agoSF bug #1168135: Python 2.5a0 Tutorial errors and observations
Raymond Hettinger [Sun, 21 Aug 2005 12:35:29 +0000 (12:35 +0000)]
SF bug #1168135:  Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)

19 years agoEmpty sets and frozensets are also false.
Georg Brandl [Sun, 21 Aug 2005 12:22:58 +0000 (12:22 +0000)]
Empty sets and frozensets are also false.

19 years agoSF bug #1121416: zip incorrectly and incompletely documented
Raymond Hettinger [Sun, 21 Aug 2005 11:58:06 +0000 (11:58 +0000)]
SF bug #1121416:  zip incorrectly and incompletely documented

sequences ==> iterables

19 years agoSF bug #1249837: container methods raise KeyError not IndexError
Raymond Hettinger [Sun, 21 Aug 2005 11:26:14 +0000 (11:26 +0000)]
SF bug #1249837:  container methods raise KeyError not IndexError

Minor clarification.

19 years agoSF bug #1242657: list(obj) can swallow KeyboardInterrupt
Raymond Hettinger [Sun, 21 Aug 2005 11:03:59 +0000 (11:03 +0000)]
SF bug #1242657:   list(obj) can swallow KeyboardInterrupt

Fix over-aggressive PyErr_Clear().  The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().

19 years agoMention explicitly the False is considered false.
Georg Brandl [Sun, 21 Aug 2005 09:41:21 +0000 (09:41 +0000)]
Mention explicitly the False is considered false.

19 years agoFix PySet_Pop() notes.
Raymond Hettinger [Sun, 21 Aug 2005 00:08:36 +0000 (00:08 +0000)]
Fix PySet_Pop() notes.

19 years agoAdd info about the set API.
Raymond Hettinger [Sat, 20 Aug 2005 23:52:30 +0000 (23:52 +0000)]
Add info about the set API.

19 years agoImplement random.sample() using sets instead of dicts.
Raymond Hettinger [Fri, 19 Aug 2005 01:36:35 +0000 (01:36 +0000)]
Implement random.sample() using sets instead of dicts.

19 years agoTypo fix
Andrew M. Kuchling [Thu, 18 Aug 2005 21:45:31 +0000 (21:45 +0000)]
Typo fix

19 years agoFix markup.
Raymond Hettinger [Thu, 18 Aug 2005 21:27:11 +0000 (21:27 +0000)]
Fix markup.

19 years agoFix typo (fixes SF bug #1263086).
Walter Dörwald [Thu, 18 Aug 2005 19:40:39 +0000 (19:40 +0000)]
Fix typo (fixes SF bug #1263086).