Steven M. Gava
7d9ed726fb
activate new about dialog for testing
2001-07-31 07:01:47 +00:00
Steven M. Gava
646c65c117
removed redundant separate idlfefork ver
2001-07-31 07:00:39 +00:00
Steven M. Gava
44d3d1a394
some new dialogs and support files for new about and configuration implementations
2001-07-31 06:59:02 +00:00
Guido van Rossum
3fc9582821
Amazing. This would open the sound file in text mode. Fixed.
...
SF bug #446219 .
2001-07-31 06:27:07 +00:00
Tim Peters
108efac24e
test_codeup should not have had an expected-output file; removing it.
2001-07-30 23:10:44 +00:00
Jeremy Hylton
b7a7731e01
Add tests for getattr() and hasattr() with non-string args
2001-07-30 22:49:11 +00:00
Fred Drake
c974bf4dc2
Get the whitespace right!
2001-07-30 22:41:23 +00:00
Jeremy Hylton
5121e7de11
Fix for SF bug [ #443866 ] Evaluating func_code causing core dump
...
Add test that calls eval with a code object that has free variables.
2001-07-30 21:55:29 +00:00
Jeremy Hylton
e3c37d660f
Ugly fix used when pyexpat is not available.
...
If pyexpat is not available and more than one attempt is made to load
an expat-based xml parser, an empty xml.parser.expat module will be
created. This empty module will confuse xml.sax.expatreader into
thinking that pyexpat is available.
The ugly fix is to verify that the expat module actually defines the
names that are imported from pyexpat.
2001-07-30 21:49:22 +00:00
Jeremy Hylton
3c19ec4eab
Fix when pyexpat not built
...
Import pyexpat first so that import error occurs when it is not
available.
2001-07-30 21:47:25 +00:00
Martin v. Löwis
3bd071e3f7
Patch #442866 : Tests for codeop.py.
2001-07-30 12:30:08 +00:00
Martin v. Löwis
27c430e54e
Patch #445538 : add completion for pstats.py sort cmd.
2001-07-30 10:21:13 +00:00
Just van Rossum
8d8e7a3256
Do convert_path() on script paths (now PyXML builds out of the box
...
under MacOS.)
2001-07-29 21:39:18 +00:00
Martin v. Löwis
70195da3ff
Patch #443337 : Fix incompatibilities in imputil's behavior.
2001-07-28 20:33:41 +00:00
Martin v. Löwis
d3011cd1d3
Remove usage of strop module.
2001-07-28 17:59:34 +00:00
Martin v. Löwis
66b6e192b9
Patch #416224 : add readline completion to cmd.Cmd.
2001-07-28 14:44:03 +00:00
Tim Peters
33dc0a1705
One more crack at join(): stop trying to pretend this isn't a mass of
...
special cases. test_pkg works again on Windows.
2001-07-27 08:09:54 +00:00
Tim Peters
4223f89edd
Change ntpath.join() so that join("d:/", "/whatever") returns
...
d:/whatever instead of /whatever. While I'm afraid changing isabs()
to be *consistent* with this would break lots of code, it makes
best sense for join() to do it this way. Thanks to Alex Martelli for
pushing back on this one!
2001-07-26 21:54:37 +00:00
Tim Peters
7321ec437b
SF bug #444510 : int() should guarantee truncation.
...
It's guaranteed now, assuming the platform modf() works correctly.
2001-07-26 20:02:17 +00:00
Marc-André Lemburg
7cf92fa1c8
Add backwards compatibility.
2001-07-26 18:06:58 +00:00
Martin v. Löwis
4f1cd8bdcb
Patch #411138 : Rename config.h to pyconfig.h. Closes bug #231774 .
2001-07-26 13:41:06 +00:00
Martin v. Löwis
4eb5940a4d
Untabify IPv6 changes.
2001-07-26 13:37:33 +00:00
Guido van Rossum
2e441f7836
Fix a denial-of-service attack, SF bug #443120 .
...
Code by Evan Simpson.
2001-07-25 21:00:19 +00:00
Greg Ward
7cf7e7e529
Undo revision 1.7: always mangle a #! line containing "python" to point
...
to the current Python interpreter (ie. the one used for
building/installation), even (especially!) if "/usr/bin/env" appears in
the #! line.
Rationale: installing scripts with "#!/usr/bin/env python" is asking for
trouble, because
1) it might pick the wrong interpreter (not the one used to
build/install the script)
2) it doesn't work on all platforms (try it on IRIX 5, or on Linux
with command-line options for python)
3) "env" might not be in /usr/bin
2001-07-25 20:20:11 +00:00
Greg Ward
e628a2fa85
Don't "import *" from stat at all -- just import what's needed, and
...
do it back in copy_file() (not at module level).
2001-07-25 19:48:03 +00:00
Marc-André Lemburg
80d1dd5f3b
Fix for bug #444493 : u'\U00010001' segfaults with current CVS on
...
wide builds.
2001-07-25 16:05:59 +00:00
Martin v. Löwis
1669669f4c
Remove unused imports from previous checkin.
2001-07-25 06:12:16 +00:00
Martin v. Löwis
a43c2f845e
Patch #401196 : Use getaddrinfo and AF_INET6 in TCP servers and clients.
2001-07-24 20:34:08 +00:00
Fred Drake
5e9eb98ff6
Oh, ok, so plainpager is probably marginally better.
2001-07-23 19:48:10 +00:00
Fred Drake
0a66fcb116
If $TERM is "dumb" or "emacs", just dump the text instead of trying to run
...
"less".
Patch contributed by Alex Convertry.
This closes SF patch #443551 .
2001-07-23 19:44:30 +00:00
Fred Drake
f973c6d594
Make this test work under Windows as well.
2001-07-23 16:30:21 +00:00
Fred Drake
99e87f9e23
Test for the "glob" module, contributed by Nick Mathewson.
...
Heavily modified so this doesn't break on Windows.
This closes SF patch #441175 .
2001-07-23 16:08:36 +00:00
Tim Peters
fa712ca1ed
Whitespace normalization.
...
Note: This test fails on Windows. Don't know why yet.
2001-07-23 09:44:21 +00:00
Fred Drake
4c81d60fcb
Tests for the "commands" module, contributed by Nick Mathewson.
...
This closes SF patch #440291 .
2001-07-23 04:08:01 +00:00
Fred Drake
1586136193
New tests by Nick Mathewson, for the fpformat module.
...
This closes SF patch #440290 .
2001-07-23 02:46:35 +00:00
Steven M. Gava
ba247a6bbb
updated about info for 0.8.1 release
2001-07-21 09:59:58 +00:00
Steven M. Gava
88ff736ee2
new material for 0.8.1 release
2001-07-21 09:50:55 +00:00
Tim Peters
137759407b
On WIndows, skip the part of test_dircache that can't work on Windows.
2001-07-21 02:22:14 +00:00
Tim Peters
87cc0c329e
Whitespace normalization, plus:
...
+ test_quopri.py relied on significant trailing spaces. Fixed.
+ test_dircache.py (still) doesn't work on Windows (directory mtime on
Windows doesn't work like it does on Unix).
2001-07-21 01:41:30 +00:00
Fred Drake
7f5296e7c0
Make the add*() helper functions more robust for use after intialization
...
is complete: recompute _dirs_in_sys_path each time these functions are
entered after module initialization is complete, and reset before
returning to user code.
This closes SF patch #442983 .
2001-07-20 20:06:17 +00:00
Andrew M. Kuchling
5a3e4cb0a2
Patch #429442 from Jason Tishler: Corrects sys.platform and
...
distutils.util.get_platform() problems caused by the cruft contained
in Cygwin's uname -s.
2001-07-20 19:29:04 +00:00
Fred Drake
79e75e1916
Use string.ascii_letters instead of string.letters (SF bug #226706 ).
2001-07-20 19:05:50 +00:00
Fred Drake
0f715d2aa1
Use string.ascii_letters instead of string.letters (SF bug #226706 ).
...
Work-around a font-lock bogosity.
2001-07-20 18:53:34 +00:00
Fred Drake
27eebb8c76
Use string.ascii_letters instead of string.letters.
...
Remove unused import.
2001-07-20 18:52:02 +00:00
Fred Drake
960fdf9ac3
Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase
...
to the string module. This was determined to be the right approach in
SF bug #226706 .
2001-07-20 18:38:26 +00:00
Marc-André Lemburg
6c6bfb7c70
Make the unicode-escape and the UTF-16 codecs handle surrogates
...
correctly and thus roundtrip-safe.
Some minor cleanups of the code.
Added tests for the roundtrip-safety.
2001-07-20 17:39:11 +00:00
Guido van Rossum
27451d0fc8
Copying this 2.1.1 bugfix to the trunk:
...
Fix showstopper SF bug #442983 : use of site.addsitedir() was broken
because it references the global dirs_in_sys_path which is deleted.
The fix avoids deleting that global.
(My email through python.org or digicool.com is non-functional at the
moment; use gvanrossum@home.com to reach me.)
2001-07-20 14:57:12 +00:00
Piers Lauder
15e5d5344d
apply patch item #416253
2001-07-20 10:52:06 +00:00
Piers Lauder
34d9705943
fix missed conversion in ESR's string conversion
2001-07-20 10:28:51 +00:00
Steven M. Gava
fae9fb197b
update in preparation for 0.8.1 alpha release
2001-07-20 08:53:38 +00:00