]> granicus.if.org Git - python/log
python
18 years agoHandle ERROR_ALREADY_EXISTS.
Martin v. Löwis [Sat, 6 May 2006 20:04:08 +0000 (20:04 +0000)]
Handle ERROR_ALREADY_EXISTS.

18 years agoPort access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.
Martin v. Löwis [Sat, 6 May 2006 16:32:54 +0000 (16:32 +0000)]
Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.

18 years agoUse \versionchanged for the feature change
George Yoshida [Sat, 6 May 2006 14:16:51 +0000 (14:16 +0000)]
Use \versionchanged for the feature change

18 years agodescribe optional arguments for DocFileSuite
George Yoshida [Sat, 6 May 2006 13:09:45 +0000 (13:09 +0000)]
describe optional arguments for DocFileSuite

18 years agoClean up.
Thomas Heller [Fri, 5 May 2006 19:14:24 +0000 (19:14 +0000)]
Clean up.

18 years agooops - the function is exported as 'my_free', not 'free'.
Thomas Heller [Fri, 5 May 2006 18:46:27 +0000 (18:46 +0000)]
oops - the function is exported as 'my_free', not 'free'.

18 years agoFix memory leaks in the ctypes test suite, reported by valgrind, by
Thomas Heller [Fri, 5 May 2006 18:43:24 +0000 (18:43 +0000)]
Fix memory leaks in the ctypes test suite, reported by valgrind, by
free()ing the memory we allocate.

18 years agoExport the 'free' standard C function for use in the test suite.
Thomas Heller [Fri, 5 May 2006 18:42:14 +0000 (18:42 +0000)]
Export the 'free' standard C function for use in the test suite.

18 years agoUpdate checks to consider Windows error numbers.
Martin v. Löwis [Thu, 4 May 2006 14:27:52 +0000 (14:27 +0000)]
Update checks to consider Windows error numbers.

18 years agoDrop now-unnecessary arguments to posix_2str.
Martin v. Löwis [Thu, 4 May 2006 12:04:27 +0000 (12:04 +0000)]
Drop now-unnecessary arguments to posix_2str.

18 years agoImplement os.{chdir,rename,rmdir,remove} using Win32 directly.
Martin v. Löwis [Thu, 4 May 2006 10:08:42 +0000 (10:08 +0000)]
Implement os.{chdir,rename,rmdir,remove} using Win32 directly.

18 years agoPatch #1475845: Raise IndentationError for unexpected indent.
Martin v. Löwis [Thu, 4 May 2006 05:51:03 +0000 (05:51 +0000)]
Patch #1475845: Raise IndentationError for unexpected indent.

18 years agoBug #1481530: allow "from os.path import ..." with imputil
Georg Brandl [Thu, 4 May 2006 05:08:10 +0000 (05:08 +0000)]
Bug #1481530: allow "from os.path import ..." with imputil

18 years agoDon't fail the tests when libglut.so or libgle.so cannot be loaded.
Thomas Heller [Wed, 3 May 2006 18:35:39 +0000 (18:35 +0000)]
Don't fail the tests when libglut.so or libgle.so cannot be loaded.

18 years agoBug #1385040: don't allow "def foo(a=1, b): pass" in the compiler package.
Georg Brandl [Wed, 3 May 2006 18:18:32 +0000 (18:18 +0000)]
Bug #1385040: don't allow "def foo(a=1, b): pass" in the compiler package.

18 years agoBug #1472191: convert breakpoint indices to ints before comparing them to ints
Georg Brandl [Wed, 3 May 2006 18:12:33 +0000 (18:12 +0000)]
Bug #1472191: convert breakpoint indices to ints before comparing them to ints

18 years agoRFE #1472176: In httplib, don't encode the netloc and hostname with "idna" if not...
Georg Brandl [Wed, 3 May 2006 18:03:22 +0000 (18:03 +0000)]
RFE #1472176: In httplib, don't encode the netloc and hostname with "idna" if not necessary.

18 years agoAdd seamonkey to list of Windows browsers too.
Georg Brandl [Wed, 3 May 2006 17:46:13 +0000 (17:46 +0000)]
Add seamonkey to list of Windows browsers too.

18 years agoGet rid of a couple more context object references, fix some markup and clarify what...
Nick Coghlan [Wed, 3 May 2006 13:17:49 +0000 (13:17 +0000)]
Get rid of a couple more context object references, fix some markup and clarify what happens when a generator context function swallows an exception.

18 years agoFinish bringing SVN into line with latest version of PEP 343 by getting rid of all...
Nick Coghlan [Wed, 3 May 2006 13:02:47 +0000 (13:02 +0000)]
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()

18 years agoMove network tests from test_urllib2 to test_urllib2net.
Georg Brandl [Wed, 3 May 2006 05:15:10 +0000 (05:15 +0000)]
Move network tests from test_urllib2 to test_urllib2net.

18 years agoPatch #1480067: don't redirect HTTP digest auth in urllib2
Georg Brandl [Wed, 3 May 2006 05:05:02 +0000 (05:05 +0000)]
Patch #1480067: don't redirect HTTP digest auth in urllib2

18 years agoCorrect some formulations, fix XXX comments.
Martin v. Löwis [Wed, 3 May 2006 04:52:04 +0000 (04:52 +0000)]
Correct some formulations, fix XXX comments.

18 years agoWhitespace normalization.
Tim Peters [Wed, 3 May 2006 04:46:14 +0000 (04:46 +0000)]
Whitespace normalization.

18 years agofix up whitespace in prompt strings
Fred Drake [Wed, 3 May 2006 02:29:39 +0000 (02:29 +0000)]
fix up whitespace in prompt strings

18 years agoone more place to avoid extra markup (how many will there be?)
Fred Drake [Wed, 3 May 2006 02:29:09 +0000 (02:29 +0000)]
one more place to avoid extra markup (how many will there be?)

18 years agoone more place to avoid extra markup
Fred Drake [Wed, 3 May 2006 02:27:40 +0000 (02:27 +0000)]
one more place to avoid extra markup

18 years agoat least comment on why curly-quotes are not enabled
Fred Drake [Wed, 3 May 2006 02:12:47 +0000 (02:12 +0000)]
at least comment on why curly-quotes are not enabled

18 years agoavoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
Fred Drake [Wed, 3 May 2006 02:04:40 +0000 (02:04 +0000)]
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here

18 years agotell LaTeX2HTML to:
Fred Drake [Wed, 3 May 2006 01:48:24 +0000 (01:48 +0000)]
tell LaTeX2HTML to:
- use UTF-8 output
- not mess with the >>> prompt!

18 years agoremove unnecessary assignment
Fred Drake [Wed, 3 May 2006 01:46:52 +0000 (01:46 +0000)]
remove unnecessary assignment

18 years agoUpdate context manager section for removal of __context__
Andrew M. Kuchling [Tue, 2 May 2006 22:47:49 +0000 (22:47 +0000)]
Update context manager section for removal of __context__

18 years agoUse open() instead of file()
Andrew M. Kuchling [Tue, 2 May 2006 21:44:33 +0000 (21:44 +0000)]
Use open() instead of file()

18 years agoHopefully this will fix the spurious failures of test_mailbox.py that I'm
Guido van Rossum [Tue, 2 May 2006 20:47:36 +0000 (20:47 +0000)]
Hopefully this will fix the spurious failures of test_mailbox.py that I'm
experiencing.  (This code and mailbox.py itself are full of calls to file()
that should be calls to open() -- but I'm not fixing those.)

18 years agoDocumentation bug: PySet_Pop() returns a new reference (because the
Armin Rigo [Tue, 2 May 2006 19:52:32 +0000 (19:52 +0000)]
Documentation bug: PySet_Pop() returns a new reference (because the
caller becomes the owner of that reference).

18 years agoGet rid of __context__, per the latest changes to PEP 343 and python-dev
Guido van Rossum [Tue, 2 May 2006 19:47:52 +0000 (19:47 +0000)]
Get rid of __context__, per the latest changes to PEP 343 and python-dev
discussion.
There are two places of documentation that still mention __context__:
Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without
spending a whole lot of time thinking about it; and whatsnew, which Andrew
usually likes to change himself.

18 years agoFix the formatting of KeyboardInterrupt -- a bad issubclass() call.
Guido van Rossum [Tue, 2 May 2006 17:36:09 +0000 (17:36 +0000)]
Fix the formatting of KeyboardInterrupt -- a bad issubclass() call.

18 years agoProvide encoding as keyword argument; soften warning paragraph about encodings
Andrew M. Kuchling [Tue, 2 May 2006 11:30:03 +0000 (11:30 +0000)]
Provide encoding as keyword argument; soften warning paragraph about encodings

18 years agoReplaced my dumb way of calculating seconds to midnight with Tim Peters' much more...
Vinay Sajip [Tue, 2 May 2006 08:35:36 +0000 (08:35 +0000)]
Replaced my dumb way of calculating seconds to midnight with Tim Peters' much more sensible suggestion. What was I thinking ?!?

18 years agoFix breakage from patch 1471883 (r45800 & r45808) on OSF/1.
Neal Norwitz [Tue, 2 May 2006 07:27:47 +0000 (07:27 +0000)]
Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.
The problem was that pyconfig.h was being included before some system headers
which caused redefinitions and other breakage.  This moves system headers
after expat_config.h which includes pyconfig.h.

18 years agoSF #1479988: add methods to allow access to weakrefs for the
Fred Drake [Tue, 2 May 2006 06:53:59 +0000 (06:53 +0000)]
SF #1479988: add methods to allow access to weakrefs for the
weakref.WeakKeyDictionary and weakref.WeakValueDictionary

18 years agoTry to fix breakage caused by patch #1479181, r45850
Neal Norwitz [Tue, 2 May 2006 06:23:22 +0000 (06:23 +0000)]
Try to fix breakage caused by patch #1479181, r45850

18 years agoSF #1479181: split open() and file() from being aliases for each other.
Neal Norwitz [Tue, 2 May 2006 04:43:14 +0000 (04:43 +0000)]
SF #1479181: split open() and file() from being aliases for each other.

18 years agoMarkup fixes
Andrew M. Kuchling [Mon, 1 May 2006 17:06:54 +0000 (17:06 +0000)]
Markup fixes

18 years agoAdd item
Andrew M. Kuchling [Mon, 1 May 2006 16:32:49 +0000 (16:32 +0000)]
Add item

18 years agoMarkup fixes; add some XXX comments noting problems
Andrew M. Kuchling [Mon, 1 May 2006 16:30:25 +0000 (16:30 +0000)]
Markup fixes; add some XXX comments noting problems

18 years agoadd dependency
Fred Drake [Mon, 1 May 2006 16:28:54 +0000 (16:28 +0000)]
add dependency

18 years agoRename parameters to match the documentation (which
Martin v. Löwis [Mon, 1 May 2006 16:14:16 +0000 (16:14 +0000)]
Rename parameters to match the documentation (which
in turn matches Microsoft's documentation).
Drop unused parameter in CAB.append.

18 years agoAdd msilib documentation.
Martin v. Löwis [Mon, 1 May 2006 16:12:44 +0000 (16:12 +0000)]
Add msilib documentation.

18 years agoRename uisample to text, drop all non-text tables.
Martin v. Löwis [Mon, 1 May 2006 15:56:03 +0000 (15:56 +0000)]
Rename uisample to text, drop all non-text tables.

18 years agoFurther integration of the documentation for the sqlite3 module. There's still
Gerhard Häring [Mon, 1 May 2006 15:14:48 +0000 (15:14 +0000)]
Further integration of the documentation for the sqlite3 module. There's still
quite some content to move over from the pysqlite manual, but it's a start now.

18 years agoSome ElementTree fixes: import from xml, not xmlcore; fix case of module name; mentio...
Andrew M. Kuchling [Mon, 1 May 2006 12:45:02 +0000 (12:45 +0000)]
Some ElementTree fixes: import from xml, not xmlcore; fix case of module name; mention list() instead of getchildren()

18 years agoWork around deadlock risk. Will backport.
Martin v. Löwis [Mon, 1 May 2006 06:28:01 +0000 (06:28 +0000)]
Work around deadlock risk. Will backport.

18 years ago- minor clarification in section title
Fred Drake [Mon, 1 May 2006 06:25:58 +0000 (06:25 +0000)]
- minor clarification in section title
- markup adjustments
(there is clearly much to be done in this section)

18 years agoPort forward from 2.4 branch:
Barry Warsaw [Mon, 1 May 2006 03:03:02 +0000 (03:03 +0000)]
Port forward from 2.4 branch:

Patch #1464708 from William McVey: fixed handling of nested comments in mail
addresses.  E.g.

"Foo ((Foo Bar)) <foo@example.com>"

Fixes for both rfc822.py and email package.  This patch needs to be back
ported to Python 2.3 for email 2.5.

18 years agoAdd item
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:49 +0000 (21:19 +0000)]
Add item

18 years agoAdd urllib2 HOWTO from Michael Foord
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:31 +0000 (21:19 +0000)]
Add urllib2 HOWTO from Michael Foord

18 years agoPatch #1479438: add \keyword markup for "with".
Georg Brandl [Sun, 30 Apr 2006 19:34:19 +0000 (19:34 +0000)]
Patch #1479438: add \keyword markup for "with".

18 years agoPatch #1472854: make the rlcompleter.Completer class usable on non-
Georg Brandl [Sun, 30 Apr 2006 18:14:54 +0000 (18:14 +0000)]
Patch #1472854: make the rlcompleter.Completer class usable on non-
UNIX platforms.

18 years agoFix another problem in inspect: if the module for an object cannot be found, don...
Georg Brandl [Sun, 30 Apr 2006 17:42:26 +0000 (17:42 +0000)]
Fix another problem in inspect: if the module for an object cannot be found, don't try to give its __dict__ to linecache.

18 years agoFix infinite regress when inspecting <string> or <stdin> frames.
Phillip J. Eby [Sun, 30 Apr 2006 15:59:26 +0000 (15:59 +0000)]
Fix infinite regress when inspecting <string> or <stdin> frames.

18 years agoBug #1473625: stop cPickle making float dumps locale dependent in protocol 0.
Georg Brandl [Sun, 30 Apr 2006 11:13:56 +0000 (11:13 +0000)]
Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0.

On the way, add a decorator to test_support to facilitate running single
test functions in different locales with automatic cleanup.

18 years agoPatch #1470976: don't NLST files when retrieving over FTP.
Georg Brandl [Sun, 30 Apr 2006 09:23:59 +0000 (09:23 +0000)]
Patch #1470976: don't NLST files when retrieving over FTP.

18 years agoIn stdlib, use hashlib instead of deprecated md5 and sha modules.
Georg Brandl [Sun, 30 Apr 2006 08:57:35 +0000 (08:57 +0000)]
In stdlib, use hashlib instead of deprecated md5 and sha modules.

18 years agoPatch #1470846: fix urllib2 ProxyBasicAuthHandler.
Georg Brandl [Sun, 30 Apr 2006 07:06:11 +0000 (07:06 +0000)]
Patch #1470846: fix urllib2 ProxyBasicAuthHandler.

18 years agoUse \versionchanged instead of \versionadded for new parameter support.
George Yoshida [Sun, 30 Apr 2006 03:49:56 +0000 (03:49 +0000)]
Use \versionchanged instead of \versionadded for new parameter support.

18 years agoAdd two items
Andrew M. Kuchling [Sun, 30 Apr 2006 01:07:09 +0000 (01:07 +0000)]
Add two items

18 years agoThis is the start of documentation for the sqlite3 module. Please feel free to
Gerhard Häring [Sat, 29 Apr 2006 23:12:41 +0000 (23:12 +0000)]
This is the start of documentation for the sqlite3 module. Please feel free to
find a better place for the link to it than alongside bsddb & friends.

18 years agoFix docstring for contextfactory; mentioned old contextmanager name.
Brett Cannon [Sat, 29 Apr 2006 21:29:50 +0000 (21:29 +0000)]
Fix docstring for contextfactory; mentioned old contextmanager name.

18 years agoFurther changes for #1471883: Edit Misc/NEWS, and
Martin v. Löwis [Sat, 29 Apr 2006 12:37:25 +0000 (12:37 +0000)]
Further changes for #1471883: Edit Misc/NEWS, and
add expat_config.h.

18 years agoAdd item
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:43 +0000 (12:10 +0000)]
Add item

18 years agoMake case of 'ZIP' consistent
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:28 +0000 (12:10 +0000)]
Make case of 'ZIP' consistent

18 years agoAdd item
Andrew M. Kuchling [Sat, 29 Apr 2006 11:53:15 +0000 (11:53 +0000)]
Add item

18 years agoPatch 1471883: --enable-universalsdk on Mac OS X
Ronald Oussoren [Sat, 29 Apr 2006 11:31:35 +0000 (11:31 +0000)]
Patch 1471883: --enable-universalsdk on Mac OS X

18 years agogrammar fix
George Yoshida [Sat, 29 Apr 2006 02:43:30 +0000 (02:43 +0000)]
grammar fix

18 years agoBug #1478429: make datetime.datetime.fromtimestamp accept every float,
Georg Brandl [Fri, 28 Apr 2006 19:09:24 +0000 (19:09 +0000)]
Bug #1478429: make datetime.datetime.fromtimestamp accept every float,
possibly "rounding up" to the next whole second.

18 years agoRemove a duplicated test (the same test is in test_incomplete.py).
Thomas Heller [Fri, 28 Apr 2006 17:02:18 +0000 (17:02 +0000)]
Remove a duplicated test (the same test is in test_incomplete.py).

18 years agoBug #1478326: don't allow '/' in distutils.util.get_platform machine names
Georg Brandl [Fri, 28 Apr 2006 16:58:52 +0000 (16:58 +0000)]
Bug #1478326: don't allow '/' in distutils.util.get_platform machine names
since this value is used to name the build directory.

18 years agoBug #1472949: stringify IOErrors in shutil.copytree when appending
Georg Brandl [Fri, 28 Apr 2006 16:54:25 +0000 (16:54 +0000)]
Bug #1472949: stringify IOErrors in shutil.copytree when appending
them to the Error errors list.

18 years agocorrect a dead link
George Yoshida [Fri, 28 Apr 2006 16:40:14 +0000 (16:40 +0000)]
correct a dead link

18 years agoBug #1475009: clarify ntpath.join behavior with absolute components
Georg Brandl [Fri, 28 Apr 2006 16:36:55 +0000 (16:36 +0000)]
Bug #1475009: clarify ntpath.join behavior with absolute components

18 years agoAdd SeaMonkey to the list of Mozilla browsers.
Georg Brandl [Fri, 28 Apr 2006 16:31:17 +0000 (16:31 +0000)]
Add SeaMonkey to the list of Mozilla browsers.

18 years agofix markup glitch
George Yoshida [Fri, 28 Apr 2006 16:09:45 +0000 (16:09 +0000)]
fix markup glitch

18 years agoFix a warning on ppc (debian)
Neal Norwitz [Fri, 28 Apr 2006 05:28:54 +0000 (05:28 +0000)]
Fix a warning on ppc (debian)

18 years agoFix a warning on alpha
Neal Norwitz [Fri, 28 Apr 2006 05:28:30 +0000 (05:28 +0000)]
Fix a warning on alpha

18 years agoFix some warnings on Mac OS X 10.4
Neal Norwitz [Fri, 28 Apr 2006 05:28:05 +0000 (05:28 +0000)]
Fix some warnings on Mac OS X 10.4

18 years agoTry to really fix the slow buildbots this time.
Neal Norwitz [Fri, 28 Apr 2006 04:34:43 +0000 (04:34 +0000)]
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush.  This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.

18 years agoAdd some whitespace to be more consistent.
Neal Norwitz [Fri, 28 Apr 2006 04:32:20 +0000 (04:32 +0000)]
Add some whitespace to be more consistent.

18 years agoAdd more ignores of ImportWarnings; these are all just potential triggers
Thomas Wouters [Thu, 27 Apr 2006 23:41:27 +0000 (23:41 +0000)]
Add more ignores of ImportWarnings; these are all just potential triggers
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)

18 years ago - Add new Warning class, ImportWarning
Thomas Wouters [Thu, 27 Apr 2006 23:13:20 +0000 (23:13 +0000)]
 - Add new Warning class, ImportWarning

 - Warn-raise ImportWarning when importing would have picked up a directory
   as package, if only it'd had an __init__.py. This swaps two tests (for
   case-ness and __init__-ness), but case-test is not really more expensive,
   and it's not in a speed-critical section.

 - Test for the new warning by importing a common non-package directory on
   sys.path: site-packages

 - In regrtest.py, silence warnings generated by the build-environment
   because Modules/ (which is added to sys.path for Setup-created modules)
   has 'zlib' and '_ctypes' directories without __init__.py's.

18 years agoAdded SVN access for Steven Bethard and Talin, for PEP updating.
David Goodger [Thu, 27 Apr 2006 22:53:05 +0000 (22:53 +0000)]
Added SVN access for Steven Bethard and Talin, for PEP updating.

18 years agoDo the small-memory run of big-meormy tests using a prime number, rather
Thomas Wouters [Thu, 27 Apr 2006 22:38:32 +0000 (22:38 +0000)]
Do the small-memory run of big-meormy tests using a prime number, rather
than a convenient power-of-2-and-multiple-of-5, so incorrect testing
algorithms fail more easily.

18 years agoSome style fixes and size-calculation fixes. Also do the small-memory run
Thomas Wouters [Thu, 27 Apr 2006 22:37:50 +0000 (22:37 +0000)]
Some style fixes and size-calculation fixes. Also do the small-memory run
using a prime number, rather than a convenient power-of-2-and-multiple-of-5,
so incorrect testing algorithms fail more easily.

18 years agoRerun the libffi configuration if any of the files used for that
Thomas Heller [Thu, 27 Apr 2006 15:50:42 +0000 (15:50 +0000)]
Rerun the libffi configuration if any of the files used for that
are newer then fficonfig.py.

18 years agoSome more size-estimate fixes, for large-list-tests.
Thomas Wouters [Thu, 27 Apr 2006 13:46:59 +0000 (13:46 +0000)]
Some more size-estimate fixes, for large-list-tests.

18 years agomarkup fix
George Yoshida [Thu, 27 Apr 2006 13:41:07 +0000 (13:41 +0000)]
markup fix

18 years agoMention the xmlrpclib.Error base class, which is used in one of the examples
Andrew M. Kuchling [Thu, 27 Apr 2006 12:42:54 +0000 (12:42 +0000)]
Mention the xmlrpclib.Error base class, which is used in one of the examples

18 years ago[Bug #1477140] Import Error base class
Andrew M. Kuchling [Thu, 27 Apr 2006 12:38:35 +0000 (12:38 +0000)]
[Bug #1477140] Import Error base class

18 years ago[Bug #1477102] Add necessary import to example
Andrew M. Kuchling [Thu, 27 Apr 2006 12:34:39 +0000 (12:34 +0000)]
[Bug #1477102] Add necessary import to example

This may be a useful style question for the docs -- should examples show
the necessary imports, or should it be assumed that the reader will
figure it out?  In the What's New, I'm not consistent but usually opt
for omitting the imports.

18 years agoBump document version
Andrew M. Kuchling [Thu, 27 Apr 2006 12:23:07 +0000 (12:23 +0000)]
Bump document version