Georg Brandl
1f663574ee
bug #1365984 : urllib and data: URLs. Problem was that cStringIO objects cannot be assigned attributes on the fly.
2005-11-26 16:50:44 +00:00
Martin v. Löwis
7dece6690e
Patch #1227966 : Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
...
Also set _XOPEN_SOURCE to 500.
Will backport to 2.4.
2005-11-26 11:38:24 +00:00
Walter Dörwald
d4bfe2c878
SF patch #1364946 : Add a reference link from the dcoumentation of the encode
...
and decode methods to the documentation of the default error handlers.
2005-11-25 17:17:12 +00:00
Walter Dörwald
9356fb9881
SF patch #1364545 : test_cmd_line.py relied on english error messages when
...
invoking the Python interpreter (which didn't work on non-english Windows
versions). Check return codes instead.
2005-11-25 15:22:10 +00:00
Neal Norwitz
212a575242
Remove unused _callers member. No need for types, use isinstance
2005-11-25 03:19:29 +00:00
Neal Norwitz
ef260c0803
Stop looping to do nothing, just pass.
2005-11-25 03:18:58 +00:00
Neal Norwitz
d752f7d8e8
No need for types, use isinstance
2005-11-25 03:17:59 +00:00
Neal Norwitz
f9232678ae
Use sorted() builtin
2005-11-25 03:16:34 +00:00
Neal Norwitz
89886ab2b0
Test is still disabled, but access through public module
2005-11-25 03:15:49 +00:00
Neal Norwitz
21d19f7203
Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work.
2005-11-25 03:14:00 +00:00
Neal Norwitz
545d4962f5
Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is sometimes stable, at least in isolation)
2005-11-25 02:55:49 +00:00
Neal Norwitz
7025ce6fb0
Fix some comment typos
2005-11-25 02:02:50 +00:00
Neal Norwitz
2fcf206a6f
Fix typo in comment.
...
Delete globals which contain variable information at the end of the test.
This makes the test stable (no reported leaks) when running regrtest -R
to find reference leaks.
2005-11-24 23:28:37 +00:00
Neal Norwitz
3715c3e576
Fix a few more ref leaks. Backport candidate
2005-11-24 22:09:18 +00:00
Neal Norwitz
430f68b447
Move registration of the codec search function to the module scope
...
so it is only executed once. Otherwise the same search function is
repeated added to the codec search path when regrtest is run with -R
and leaks are reported.
2005-11-24 22:00:56 +00:00
Neal Norwitz
a98e7694ee
move test into a unittest.TestCase, no functional changes
2005-11-24 21:58:51 +00:00
Georg Brandl
f06e30af4a
bug #1281408 : make Py_BuildValue work with unsigned longs and long longs
2005-11-24 15:37:42 +00:00
Kurt B. Kaiser
9df23ea1fc
Fix main() call
...
Patch 1315161 sebastien blanchet
2005-11-23 15:12:19 +00:00
Brett Cannon
ad07ff2c77
Prevent threading.Thread.join() from blocking when a previous call raised an
...
exception (e.g., passing in an illegal argument).
Applies patch #1314396 . Thanks Eric Blossom.
2005-11-23 02:15:50 +00:00
Kurt B. Kaiser
5c6e0a1a0c
1. Made advanced keybinding dialog functional.
...
2. Allow binding of movement keys
2005-11-22 21:09:37 +00:00
Georg Brandl
e3faaeb1d6
Bug #1357604 : os.makedirs handles UNC paths
2005-11-22 20:14:29 +00:00
Georg Brandl
3c9f9ac62b
Added example for the ** operator in function calls
2005-11-22 19:50:14 +00:00
Georg Brandl
4bd165afa3
Patch #1255218 : libmultifile.tex: tell what a decoration is
2005-11-22 19:42:45 +00:00
Georg Brandl
a13c2446dc
Bug #869197 : setgroups rejects long integer argument
2005-11-22 19:30:31 +00:00
Georg Brandl
f96f5f5bbe
Bug #1359053 : Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode strings
2005-11-22 19:23:58 +00:00
Georg Brandl
4a5a91838b
Prefer GNOME browser over mozilla.
2005-11-22 19:18:01 +00:00
Georg Brandl
a6ba60232a
Add a note to os.chown that permission constants can be combined
2005-11-22 19:15:27 +00:00
Andrew M. Kuchling
841d25ee66
[Patch #1094164 ] replaceChild(x,x) ends up removing x of the tree. Add fix from Felix Rabe and a test case
2005-11-22 19:03:16 +00:00
Andrew M. Kuchling
bb7e800506
[Patch #1350573 ] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo.
2005-11-22 15:32:28 +00:00
Andrew M. Kuchling
b2a739d19b
Typo fix
2005-11-22 15:14:44 +00:00
Andrew M. Kuchling
db57135226
Add generator-expression nodes
2005-11-22 15:09:07 +00:00
Andrew M. Kuchling
a6d4b68254
Add comment about updating docs
2005-11-22 15:01:13 +00:00
Andrew M. Kuchling
cc9ab14a97
[Bug #449093 ] FloorDiv AST node type not listed
2005-11-22 14:52:31 +00:00
Walter Dörwald
d331b433c3
Use optparse instead of getopt for command line options.
...
Use "raise instance" instead of "raise class, args".
Modernize the code in other spots (bools, startswith()).
2005-11-22 14:12:21 +00:00
Walter Dörwald
91043f3286
Avoid using str as a variable name.
2005-11-22 12:58:19 +00:00
Neal Norwitz
5898fa2dcd
improve test coverage in Python/pystrtod.c and Python/mystrtoul.c.
2005-11-22 05:17:40 +00:00
Kurt B. Kaiser
3b148ca43d
Fix typo and update comment obsoleted by 'syntax' patch
2005-11-22 02:17:10 +00:00
Kurt B. Kaiser
2bf2af6d9b
Default two second delay on attribute pop-up, less noisy interface.
...
(Opens immediately if TAB is typed after '.')
2005-11-22 01:52:22 +00:00
Kurt B. Kaiser
5a67f9b815
Following 'syntax' patch, accelerator keys in menus weren't being
...
updated after a keyset change. Also, formatted ApplyKeyBindings()
2005-11-22 01:47:14 +00:00
Walter Dörwald
09f0dd5842
Use basestring instead of type.StringType for checking whether a input
...
or output file is a file name instead of a file object. This enables
unicode file names as arguments to uu.encode() and uu.decode().
2005-11-21 19:10:07 +00:00
Walter Dörwald
705fd474e9
Add a test for uu.encode() that passed filenames as
...
in_file and out_file.
2005-11-21 18:55:56 +00:00
Walter Dörwald
c69d1c498f
Add a rudimentary test for the platform module that at least calls each
...
documented function once.
2005-11-21 17:48:12 +00:00
Walter Dörwald
e5a7fad356
Fix typo.
2005-11-21 17:01:27 +00:00
Jack Jansen
09eef173b2
Enable optional "const" argument to _New routines.
2005-11-21 13:24:25 +00:00
Neal Norwitz
7bcabc60a3
Fix a few more memory leaks
...
Document more info about the benefits of configuring without
pymalloc when running valgrind
2005-11-20 23:58:38 +00:00
Neal Norwitz
4aef41ffe7
Remove import string and use string methods
2005-11-20 00:24:18 +00:00
Neal Norwitz
4737b2348b
Last batch of ref leaks in new AST code.
...
Also converted a bunch of assert(0) to SystemError's.
There are still printfs, etc that need to be cleaned up.
2005-11-19 23:58:29 +00:00
Andrew M. Kuchling
5040fee5c1
Fix up incomplete sentence
2005-11-19 18:43:38 +00:00
Kurt B. Kaiser
b17544551f
Merge IDLE-syntax-branch r39668:41449 into trunk
...
A idlelib/AutoCompleteWindow.py
A idlelib/AutoComplete.py
A idlelib/HyperParser.py
M idlelib/PyShell.py
M idlelib/ParenMatch.py
M idlelib/configDialog.py
M idlelib/EditorWindow.py
M idlelib/PyParse.py
M idlelib/CallTips.py
M idlelib/CallTipWindow.py
M idlelib/run.py
M idlelib/config-extensions.def
A idlelib/MultiCall.py
2005-11-18 22:05:48 +00:00
Walter Dörwald
c85c74cd08
Increase code coverage in Python/structmember.c from 33% to 40%
...
(by forcing a call to the listmember() function).
2005-11-18 16:51:05 +00:00