]>
granicus.if.org Git - python/log
Lars Gustäbel [Wed, 14 Feb 2007 14:45:12 +0000 (14:45 +0000)]
A missing binary mode in AppendTest caused failures in Windows
Buildbot.
Martin v. Löwis [Wed, 14 Feb 2007 11:30:56 +0000 (11:30 +0000)]
Ignore directory time stamps when considering
whether to rerun libffi configure.
Martin v. Löwis [Wed, 14 Feb 2007 11:30:07 +0000 (11:30 +0000)]
Update
1432399 to removal of _BT_SOCKADDR_MEMB.
Martin v. Löwis [Wed, 14 Feb 2007 10:07:37 +0000 (10:07 +0000)]
Patch #
1432399 : Add HCI sockets.
Lars Gustäbel [Tue, 13 Feb 2007 16:24:00 +0000 (16:24 +0000)]
Strip the '.gz' extension from the filename that is written to the
gzip header.
Lars Gustäbel [Tue, 13 Feb 2007 16:09:24 +0000 (16:09 +0000)]
Patch #
1647484 : Renamed GzipFile's filename attribute to name. The
filename attribute is still accessible as a property that emits a
DeprecationWarning.
Martin v. Löwis [Tue, 13 Feb 2007 12:14:19 +0000 (12:14 +0000)]
Patch #
1657276 : Make NETLINK_DNRTMSG conditional.
Will backport.
Martin v. Löwis [Tue, 13 Feb 2007 12:08:24 +0000 (12:08 +0000)]
Bug #
1658794 : Remove extraneous 'this'.
Will backport to 2.5.
Martin v. Löwis [Tue, 13 Feb 2007 10:10:39 +0000 (10:10 +0000)]
Patch #
1517891 : Make 'a' create the file if it doesn't exist.
Fixes #
1514451 .
Martin v. Löwis [Tue, 13 Feb 2007 09:49:38 +0000 (09:49 +0000)]
Patch #698833: Support file decryption in zipfile.
Martin v. Löwis [Tue, 13 Feb 2007 08:34:45 +0000 (08:34 +0000)]
Patch #685268: Consider a package's __path__ in imputil.
Will backport.
Armin Rigo [Mon, 12 Feb 2007 16:23:24 +0000 (16:23 +0000)]
Fix the line to what is my guess at the original author's meaning.
(The line has no effect anyway, but is present because it's
customary call the base class __init__).
Martin v. Löwis [Mon, 12 Feb 2007 12:21:10 +0000 (12:21 +0000)]
Patch
1463026 : Support default namespace in XMLGenerator.
Fixes #847665. Will backport.
Lars Gustäbel [Mon, 12 Feb 2007 09:25:53 +0000 (09:25 +0000)]
Bug #
1656581 : Point out that external file objects are supposed to be
at position 0.
Brett Cannon [Mon, 12 Feb 2007 03:51:02 +0000 (03:51 +0000)]
Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c
is specified at the top of the file. Also add a note that Python/Python-ast.c
needs to be committed separately after a change to the AST grammar to capture
the revision number of the change (which is what __version__ is set to).
Brett Cannon [Sun, 11 Feb 2007 19:44:41 +0000 (19:44 +0000)]
Check in changed Python-ast.c from a cosmetic change to Python.asdl (in
r53731).
Skip Montanaro [Sun, 11 Feb 2007 18:24:37 +0000 (18:24 +0000)]
fix trace.py --ignore-dir
Brett Cannon [Sun, 11 Feb 2007 05:36:00 +0000 (05:36 +0000)]
Change a very minor inconsistency (that is purely cosmetic) in the AST
definition.
Georg Brandl [Fri, 9 Feb 2007 18:48:41 +0000 (18:48 +0000)]
Bug #
1656078 : typo in in profile docs.
Martin v. Löwis [Fri, 9 Feb 2007 12:58:49 +0000 (12:58 +0000)]
Update broken link. Will backport to 2.5.
Martin v. Löwis [Fri, 9 Feb 2007 12:36:48 +0000 (12:36 +0000)]
Bug #
1600860 : Search for shared python library in LIBDIR, not
lib/python/config, on "linux" and "gnu" systems.
Will backport.
Martin v. Löwis [Fri, 9 Feb 2007 12:19:32 +0000 (12:19 +0000)]
Bug #
1653736 : Properly discard third argument to slot_nb_inplace_power.
Will backport.
Kurt B. Kaiser [Thu, 8 Feb 2007 22:58:18 +0000 (22:58 +0000)]
Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
mouse and cursor selection in ACWindow implemented; double Tab inserts current
selection and closes ACW (similar to double-click and Return); scroll wheel now
works in ACW. Added AutoComplete instructions to IDLE Help.
Martin v. Löwis [Thu, 8 Feb 2007 09:13:36 +0000 (09:13 +0000)]
Bug #
1653736 : Complain about keyword arguments to time.isoformat.
Will backport to 2.5.
Raymond Hettinger [Thu, 8 Feb 2007 01:42:35 +0000 (01:42 +0000)]
Fix docstring bug
Raymond Hettinger [Thu, 8 Feb 2007 00:50:39 +0000 (00:50 +0000)]
Bypass set specific optimizations for set and frozenset subclasses.
Raymond Hettinger [Thu, 8 Feb 2007 00:07:32 +0000 (00:07 +0000)]
Do not let overflows in enumerate() and count() pass silently.
Raymond Hettinger [Wed, 7 Feb 2007 23:49:03 +0000 (23:49 +0000)]
Silence compiler warning
Raymond Hettinger [Wed, 7 Feb 2007 22:24:07 +0000 (22:24 +0000)]
Bug #
1575169 : operator.isSequenceType() now returns False for subclasses of dict.
Raymond Hettinger [Wed, 7 Feb 2007 21:42:17 +0000 (21:42 +0000)]
Check for a common user error with defaultdict().
Raymond Hettinger [Wed, 7 Feb 2007 21:04:20 +0000 (21:04 +0000)]
SF:
1397711 Set docs conflated immutable and hashable
Raymond Hettinger [Wed, 7 Feb 2007 20:08:22 +0000 (20:08 +0000)]
SF #
1615701 : make d.update(m) honor __getitem__() and keys() in dict subclasses
Kurt B. Kaiser [Wed, 7 Feb 2007 08:07:13 +0000 (08:07 +0000)]
Handle AttributeError during calltip lookup
Kurt B. Kaiser [Wed, 7 Feb 2007 03:39:41 +0000 (03:39 +0000)]
[
1621265 ] Auto-completion list placement
Move AC window below input line unless not enough space, then put it above.
Patch: Tal Einat
Kurt B. Kaiser [Tue, 6 Feb 2007 19:21:19 +0000 (19:21 +0000)]
narrow exception per [
1540849 ] except too broad
Kurt B. Kaiser [Tue, 6 Feb 2007 19:09:43 +0000 (19:09 +0000)]
Updated patch (CodeContext.061217.patch) to
[
1362975 ] CodeContext - Improved text indentation
Tal Einat
16Dec06
Lars Gustäbel [Tue, 6 Feb 2007 18:38:13 +0000 (18:38 +0000)]
Patch #
1652681 : create nonexistent files in append mode and
allow appending to empty files.
Peter Astrand [Tue, 6 Feb 2007 15:37:50 +0000 (15:37 +0000)]
Applied patch
1124861 .3.patch to solve bug #
1124861 : Automatically create pipes on Windows, if GetStdHandle fails. Will backport.
Kurt B. Kaiser [Tue, 6 Feb 2007 03:21:40 +0000 (03:21 +0000)]
Clean up ModifiedInterpreter.runcode() structure
Kurt B. Kaiser [Mon, 5 Feb 2007 23:02:16 +0000 (23:02 +0000)]
1. Calltips now 'handle' tuples in the argument list (display '<tuple>' :)
Suggested solution by Christos Georgiou, Bug 791968.
2. Clean up tests, were not failing when they should have been.
4. Remove some camelcase and an unneeded try/except block.
Kurt B. Kaiser [Mon, 5 Feb 2007 06:03:18 +0000 (06:03 +0000)]
Add 'raw' support to configHandler. Patch
1650174 Tal Einat.
Peter Astrand [Fri, 2 Feb 2007 19:06:36 +0000 (19:06 +0000)]
We had several if statements checking the value of a fd. This is unsafe, since valid fds might be zero. We should check for not None instead.
Raymond Hettinger [Thu, 1 Feb 2007 21:02:59 +0000 (21:02 +0000)]
Bug #
1648179 : set.update() not recognizing __iter__ overrides in dict subclasses.
Brett Cannon [Tue, 30 Jan 2007 21:34:36 +0000 (21:34 +0000)]
No more raising of string exceptions!
The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError. Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.
Georg Brandl [Tue, 30 Jan 2007 20:21:30 +0000 (20:21 +0000)]
Bug #
1648191 : typo in docs.
Tim Peters [Tue, 30 Jan 2007 03:03:46 +0000 (03:03 +0000)]
Whitespace normalization.
Andrew M. Kuchling [Mon, 29 Jan 2007 21:28:48 +0000 (21:28 +0000)]
More edits
Andrew M. Kuchling [Mon, 29 Jan 2007 20:55:40 +0000 (20:55 +0000)]
Various minor edits
Andrew M. Kuchling [Mon, 29 Jan 2007 20:21:43 +0000 (20:21 +0000)]
Minor edits to the curses HOWTO
Brett Cannon [Mon, 29 Jan 2007 04:41:44 +0000 (04:41 +0000)]
Add a test for slicing an exception.
Brett Cannon [Sun, 28 Jan 2007 20:58:00 +0000 (20:58 +0000)]
Use the thread lock's context manager instead of a try/finally statement.
Georg Brandl [Sat, 27 Jan 2007 19:38:50 +0000 (19:38 +0000)]
Bug #
1645944 : os.access now returns bool but docstring is not updated
Georg Brandl [Sat, 27 Jan 2007 17:59:42 +0000 (17:59 +0000)]
Patch #
1634778 : add missing encoding aliases for iso8859_15 and
iso8859_16.
Georg Brandl [Sat, 27 Jan 2007 17:43:02 +0000 (17:43 +0000)]
Patch #
1638243 : the compiler package is now able to correctly compile
a with statement; previously, executing code containing a with statement
compiled by the compiler package crashed the interpreter.
Fred Drake [Fri, 26 Jan 2007 16:28:44 +0000 (16:28 +0000)]
fix typo (extraneous ")")
Brett Cannon [Thu, 25 Jan 2007 23:30:39 +0000 (23:30 +0000)]
Remove specific mention of my name and email address from modules. Not really
needed and all bug reports should go to the bug tracker, not directly to me.
Plus I am not the only person to have edited these files at this point.
Brett Cannon [Thu, 25 Jan 2007 20:22:02 +0000 (20:22 +0000)]
Fix time.strptime's %U support. Basically rewrote the algorithm to be more
generic so that one only has to shift certain values based on whether the week
was specified to start on Monday or Sunday. Cut out a lot of edge case code
compared to the previous version. Also broke algorithm out into its own
function (that is private to the module).
Fixes bug #
1643943 (thanks Biran Nahas for the report).
Andrew M. Kuchling [Thu, 25 Jan 2007 20:02:13 +0000 (20:02 +0000)]
Add item
Thomas Heller [Thu, 25 Jan 2007 18:34:14 +0000 (18:34 +0000)]
Fix for #
1643874 : When calling SysAllocString, create a PyCObject
which will eventually call SysFreeString to free the BSTR resource.
Andrew M. Kuchling [Wed, 24 Jan 2007 20:06:41 +0000 (20:06 +0000)]
Strengthen warning about using lock()
Walter Dörwald [Wed, 24 Jan 2007 00:42:19 +0000 (00:42 +0000)]
Port test_popen.py to unittest.
Brett Cannon [Tue, 23 Jan 2007 23:21:22 +0000 (23:21 +0000)]
Fix crasher for when an object's __del__ creates a new weakref to itself.
Patch only fixes new-style classes; classic classes still buggy.
Closes bug #
1377858 . Already backported.
Martin v. Löwis [Tue, 23 Jan 2007 21:11:47 +0000 (21:11 +0000)]
Make PyTraceBack_Here use the current thread, not the
frame's thread state. Fixes #
1579370 .
Will backport.
Thomas Wouters [Tue, 23 Jan 2007 13:50:49 +0000 (13:50 +0000)]
Add news entry about last checkin (oops.)
Thomas Wouters [Tue, 23 Jan 2007 13:42:00 +0000 (13:42 +0000)]
SF patch #
1630975 : Fix crash when replacing sys.stdout in sitecustomize
When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.
This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)
Lars Gustäbel [Tue, 23 Jan 2007 11:17:33 +0000 (11:17 +0000)]
Patch #
1507247 : tarfile.py: use current umask for intermediate
directories.
Georg Brandl [Mon, 22 Jan 2007 21:23:41 +0000 (21:23 +0000)]
Bug #
1627316 : handle error in condition/ignore pdb commands more gracefully.
Georg Brandl [Mon, 22 Jan 2007 21:10:33 +0000 (21:10 +0000)]
Bug #
1249573 : fix rfc822.parsedate not accepting a certain date format
Andrew M. Kuchling [Mon, 22 Jan 2007 20:27:50 +0000 (20:27 +0000)]
Make comment match the code
Andrew M. Kuchling [Mon, 22 Jan 2007 20:26:40 +0000 (20:26 +0000)]
Improve pattern used for mbox 'From' lines; add a simple test
Georg Brandl [Mon, 22 Jan 2007 19:40:21 +0000 (19:40 +0000)]
Use new email module names (#
1637162 , #
1637159 , #
1637157 ).
Georg Brandl [Sun, 21 Jan 2007 10:35:10 +0000 (10:35 +0000)]
Patch #
1627441 : close sockets properly in urllib2.
Georg Brandl [Sun, 21 Jan 2007 10:28:43 +0000 (10:28 +0000)]
Bug #
1486663 : don't reject keyword arguments for subclasses of builtin
types.
Martin v. Löwis [Sun, 21 Jan 2007 09:33:07 +0000 (09:33 +0000)]
Patch #
1610575 : Add support for _Bool to struct.
Walter Dörwald [Sat, 20 Jan 2007 23:07:28 +0000 (23:07 +0000)]
Port test_new.py to unittest.
Walter Dörwald [Sat, 20 Jan 2007 19:03:17 +0000 (19:03 +0000)]
resource.RUSAGE_BOTH might not exist.
Walter Dörwald [Sat, 20 Jan 2007 18:19:33 +0000 (18:19 +0000)]
Add argument tests an calls of resource.getrusage().
Walter Dörwald [Sat, 20 Jan 2007 17:28:31 +0000 (17:28 +0000)]
Port test_resource.py to unittest.
Martin v. Löwis [Sat, 20 Jan 2007 14:05:39 +0000 (14:05 +0000)]
Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.
Raymond Hettinger [Fri, 19 Jan 2007 18:07:18 +0000 (18:07 +0000)]
SF#
1635892 : Fix docs for betavariate's input parameters .
Martin v. Löwis [Fri, 19 Jan 2007 18:01:38 +0000 (18:01 +0000)]
Add UUIDs for 2.5.1 and 2.5.2
Martin v. Löwis [Fri, 19 Jan 2007 06:42:22 +0000 (06:42 +0000)]
Prefix AST symbols with _Py_. Fixes #
1637022 .
Will backport.
Neal Norwitz [Fri, 19 Jan 2007 05:53:33 +0000 (05:53 +0000)]
SF #
1635217 , Fix unbalanced paren
Neal Norwitz [Thu, 18 Jan 2007 06:20:55 +0000 (06:20 +0000)]
This test doesn't pass on Windows. The cause seems to be that chmod
doesn't support the same funcationality as on Unix. I'm not sure if
this fix is the best (or if it will even work)--it's a test to see
if the buildbots start passing again.
It might be better to not even run this test if it's windows (or non-posix).
Fred Drake [Thu, 18 Jan 2007 05:42:30 +0000 (05:42 +0000)]
add missing version entry
Neal Norwitz [Thu, 18 Jan 2007 05:40:58 +0000 (05:40 +0000)]
Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode
Georg Brandl [Wed, 17 Jan 2007 21:19:58 +0000 (21:19 +0000)]
Bug #
1629125 : fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
Georg Brandl [Wed, 17 Jan 2007 21:09:04 +0000 (21:09 +0000)]
Bug #
1637967 : missing //= operator in list.
Andrew M. Kuchling [Wed, 17 Jan 2007 19:55:06 +0000 (19:55 +0000)]
[Part of bug #
1599254 ] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them
Thomas Heller [Wed, 17 Jan 2007 09:40:34 +0000 (09:40 +0000)]
Replace C++ comments with C comments.
Neal Norwitz [Wed, 17 Jan 2007 08:37:26 +0000 (08:37 +0000)]
Remove Calvin since he only has access to the website currently.
Neal Norwitz [Wed, 17 Jan 2007 06:23:51 +0000 (06:23 +0000)]
Give Calvin Spealman access for python-dev summaries.
Sjoerd Mullender [Tue, 16 Jan 2007 16:42:38 +0000 (16:42 +0000)]
Fixed ntpath.expandvars to not replace references to non-existing
variables with nothing. Also added tests.
This fixes bug #494589.
Marc-André Lemburg [Tue, 16 Jan 2007 13:03:06 +0000 (13:03 +0000)]
Add news items for the recent pybench and platform changes.
Vinay Sajip [Tue, 16 Jan 2007 09:50:07 +0000 (09:50 +0000)]
Updated rotating file handlers to use _open().
Brett Cannon [Mon, 15 Jan 2007 19:12:08 +0000 (19:12 +0000)]
Add a note for strptime that just because strftime supports some extra
directive that is not documented that strptime will as well.
Guido van Rossum [Mon, 15 Jan 2007 00:02:35 +0000 (00:02 +0000)]
Doc patch matching r53434 (htonl etc. now always take/return positive ints).
Vinay Sajip [Sun, 14 Jan 2007 21:50:50 +0000 (21:50 +0000)]
Added documentation for WatchedFileHandler (based on SF patch #
1598415 )
Vinay Sajip [Sun, 14 Jan 2007 21:49:59 +0000 (21:49 +0000)]
Added WatchedFileHandler (based on SF patch #
1598415 )
Guido van Rossum [Sun, 14 Jan 2007 17:03:32 +0000 (17:03 +0000)]
Patch #
1635058 by Mark Roberts: ensure that htonl and friends never accept or
return negative numbers, per the underlying C implementation.