Martin v. Löwis
84f6de9d7e
Patch #1517891 : Make 'a' create the file if it doesn't exist.
...
Fixes #1514451 .
2007-02-13 10:10:39 +00:00
Martin v. Löwis
c6d626ed9f
Patch #698833 : Support file decryption in zipfile.
2007-02-13 09:49:38 +00:00
Martin v. Löwis
07aa3ed372
Patch #685268 : Consider a package's __path__ in imputil.
...
Will backport.
2007-02-13 08:34:45 +00:00
Armin Rigo
b8d6d73121
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__).
2007-02-12 16:23:24 +00:00
Martin v. Löwis
2bad58f5a4
Patch 1463026: Support default namespace in XMLGenerator.
...
Fixes #847665 . Will backport.
2007-02-12 12:21:10 +00:00
Skip Montanaro
691acf2879
fix trace.py --ignore-dir
2007-02-11 18:24:37 +00:00
Martin v. Löwis
0a2032673c
Bug #1600860 : Search for shared python library in LIBDIR, not
...
lib/python/config, on "linux" and "gnu" systems.
Will backport.
2007-02-09 12:36:48 +00:00
Kurt B. Kaiser
209de1f6ca
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.
2007-02-08 22:58:18 +00:00
Martin v. Löwis
4c11a92625
Bug #1653736 : Complain about keyword arguments to time.isoformat.
...
Will backport to 2.5.
2007-02-08 09:13:36 +00:00
Raymond Hettinger
495df4716f
Fix docstring bug
2007-02-08 01:42:35 +00:00
Raymond Hettinger
6d121f168c
Do not let overflows in enumerate() and count() pass silently.
2007-02-08 00:07:32 +00:00
Raymond Hettinger
4da5bf644a
Bug #1575169 : operator.isSequenceType() now returns False for subclasses of dict.
2007-02-07 22:24:07 +00:00
Raymond Hettinger
5a0217efea
Check for a common user error with defaultdict().
2007-02-07 21:42:17 +00:00
Raymond Hettinger
0922d71604
SF #1615701 : make d.update(m) honor __getitem__() and keys() in dict subclasses
2007-02-07 20:08:22 +00:00
Kurt B. Kaiser
814ef237a2
Handle AttributeError during calltip lookup
2007-02-07 08:07:13 +00:00
Kurt B. Kaiser
ca30acfea8
[ 1621265 ] Auto-completion list placement
...
Move AC window below input line unless not enough space, then put it above.
Patch: Tal Einat
2007-02-07 03:39:41 +00:00
Kurt B. Kaiser
f30ff3b8fd
narrow exception per [ 1540849 ] except too broad
2007-02-06 19:21:19 +00:00
Kurt B. Kaiser
4864b2bcd7
Updated patch (CodeContext.061217.patch) to
...
[ 1362975 ] CodeContext - Improved text indentation
Tal Einat 16Dec06
2007-02-06 19:09:43 +00:00
Lars Gustäbel
3f8aca1164
Patch #1652681 : create nonexistent files in append mode and
...
allow appending to empty files.
2007-02-06 18:38:13 +00:00
Peter Astrand
5f9c6ae545
Applied patch 1124861.3.patch to solve bug #1124861 : Automatically create pipes on Windows, if GetStdHandle fails. Will backport.
2007-02-06 15:37:50 +00:00
Kurt B. Kaiser
dddeb0eec4
Clean up ModifiedInterpreter.runcode() structure
2007-02-06 03:21:40 +00:00
Kurt B. Kaiser
ecf796ed43
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.
2007-02-05 23:02:16 +00:00
Kurt B. Kaiser
90f84922ee
Add 'raw' support to configHandler. Patch 1650174 Tal Einat.
2007-02-05 06:03:18 +00:00
Peter Astrand
f54000325b
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.
2007-02-02 19:06:36 +00:00
Brett Cannon
129bd52146
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.
2007-01-30 21:34:36 +00:00
Tim Peters
f733abb783
Whitespace normalization.
2007-01-30 03:03:46 +00:00
Brett Cannon
e05e6b0032
Add a test for slicing an exception.
2007-01-29 04:41:44 +00:00
Brett Cannon
af3d627022
Use the thread lock's context manager instead of a try/finally statement.
2007-01-28 20:58:00 +00:00
Georg Brandl
4ba9e5bdc7
Patch #1634778 : add missing encoding aliases for iso8859_15 and
...
iso8859_16.
2007-01-27 17:59:42 +00:00
Georg Brandl
ab49684f55
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.
2007-01-27 17:43:02 +00:00
Brett Cannon
9875ba4d4e
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.
2007-01-25 23:30:39 +00:00
Brett Cannon
07e1db317d
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).
2007-01-25 20:22:02 +00:00
Walter Dörwald
4b884a5cc2
Port test_popen.py to unittest.
2007-01-24 00:42:19 +00:00
Brett Cannon
f5bee30e30
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.
2007-01-23 23:21:22 +00:00
Lars Gustäbel
d2e22903d3
Patch #1507247 : tarfile.py: use current umask for intermediate
...
directories.
2007-01-23 11:17:33 +00:00
Georg Brandl
e498083b59
Bug #1627316 : handle error in condition/ignore pdb commands more gracefully.
2007-01-22 21:23:41 +00:00
Georg Brandl
626349526e
Bug #1249573 : fix rfc822.parsedate not accepting a certain date format
2007-01-22 21:10:33 +00:00
Andrew M. Kuchling
b94c0c3ea1
Make comment match the code
2007-01-22 20:27:50 +00:00
Andrew M. Kuchling
b78bb74c41
Improve pattern used for mbox 'From' lines; add a simple test
2007-01-22 20:26:40 +00:00
Georg Brandl
5a096e1b10
Use new email module names ( #1637162 , #1637159 , #1637157 ).
2007-01-22 19:40:21 +00:00
Georg Brandl
dd7b0525e9
Patch #1627441 : close sockets properly in urllib2.
2007-01-21 10:35:10 +00:00
Georg Brandl
b84c13792d
Bug #1486663 : don't reject keyword arguments for subclasses of builtin
...
types.
2007-01-21 10:28:43 +00:00
Martin v. Löwis
aef4c6bc00
Patch #1610575 : Add support for _Bool to struct.
2007-01-21 09:33:07 +00:00
Walter Dörwald
71cd55150b
Port test_new.py to unittest.
2007-01-20 23:07:28 +00:00
Walter Dörwald
d414302eec
resource.RUSAGE_BOTH might not exist.
2007-01-20 19:03:17 +00:00
Walter Dörwald
66262ab064
Add argument tests an calls of resource.getrusage().
2007-01-20 18:19:33 +00:00
Walter Dörwald
9fab9a7da8
Port test_resource.py to unittest.
2007-01-20 17:28:31 +00:00
Raymond Hettinger
1b0ce85271
SF# 1635892: Fix docs for betavariate's input parameters .
2007-01-19 18:07:18 +00:00
Neal Norwitz
06a9a0ccf4
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).
2007-01-18 06:20:55 +00:00
Neal Norwitz
7beeb2b0a5
Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode
2007-01-18 05:40:58 +00:00