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
Raymond Hettinger
db67aef672
Bug #1648179 : set.update() not recognizing __iter__ overrides in dict subclasses.
2007-02-01 21:02:59 +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
Georg Brandl
a05153683c
Bug #1648191 : typo in docs.
2007-01-30 20:21:30 +00:00
Tim Peters
f733abb783
Whitespace normalization.
2007-01-30 03:03:46 +00:00
Andrew M. Kuchling
15c1fe5047
More edits
2007-01-29 21:28:48 +00:00
Andrew M. Kuchling
5781dd2d7c
Various minor edits
2007-01-29 20:55:40 +00:00
Andrew M. Kuchling
85acbca511
Minor edits to the curses HOWTO
2007-01-29 20:21:43 +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
7a28447d4c
Bug #1645944 : os.access now returns bool but docstring is not updated
2007-01-27 19:38:50 +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
Fred Drake
7a7cbae77b
fix typo (extraneous ")")
2007-01-26 16:28:44 +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
Andrew M. Kuchling
27b4c8b23c
Add item
2007-01-25 20:02:13 +00:00
Thomas Heller
4378215474
Fix for #1643874 : When calling SysAllocString, create a PyCObject
...
which will eventually call SysFreeString to free the BSTR resource.
2007-01-25 18:34:14 +00:00
Andrew M. Kuchling
391e917b1a
Strengthen warning about using lock()
2007-01-24 20:06:41 +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
Martin v. Löwis
6c5c502b91
Make PyTraceBack_Here use the current thread, not the
...
frame's thread state. Fixes #1579370 .
Will backport.
2007-01-23 21:11:47 +00:00
Thomas Wouters
6ed1965308
Add news entry about last checkin (oops.)
2007-01-23 13:50:49 +00:00
Thomas Wouters
afea529088
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....)
2007-01-23 13:42:00 +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
Martin v. Löwis
cc0eba9d98
Merge 53501 and 53502 from 25 branch:
...
Add /GS- for AMD64 and Itanium builds where missing.
2007-01-20 14:05:39 +00:00
Raymond Hettinger
1b0ce85271
SF# 1635892: Fix docs for betavariate's input parameters .
2007-01-19 18:07:18 +00:00
Martin v. Löwis
0682a52e31
Add UUIDs for 2.5.1 and 2.5.2
2007-01-19 18:01:38 +00:00
Martin v. Löwis
4885e7d098
Prefix AST symbols with _Py_. Fixes #1637022 .
...
Will backport.
2007-01-19 06:42:22 +00:00