Mark Hammond
041307d95c
Remove the test for abspath with an empty path - too hard to do in a cross-platform manner.
2000-08-14 23:06:37 +00:00
Mark Hammond
673c6cf3d4
Test for fix to bug #110673 : os.abspatth() now always returns os.getcwd() on Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
2000-08-14 06:21:26 +00:00
Mark Hammond
647d2fe145
Fix for Bug #110673 : os.abspatth() now always returns os.getcwd() on Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
2000-08-14 06:20:32 +00:00
Mark Hammond
0d0b1e93e1
Check in the correct output - even though the module itself may not survive!
2000-08-14 06:05:40 +00:00
Greg Ward
e8e9d11453
Overhauld 'check_config_h()': now returns a (status, details) tuple,
...
and is much better documented to boot.
2000-08-13 01:18:55 +00:00
Greg Ward
1398045136
Added a whinging comment about the ugliness of constructing the BCPP
...
argument list.
2000-08-13 00:54:39 +00:00
Greg Ward
b1dceae3df
Rene Liebscher:
...
* use self.debug_print() for debug messages
* uses now copy.copy() to copy lists
* added 'shared_lib_extension=".dll"', ... , this is necessary if you
want use the compiler class outside of the standard distutils build
process.
* changed result type of check_config_h() from int to string
2000-08-13 00:43:56 +00:00
Greg Ward
a4662bc1bc
Rene Liebscher:
...
* changed some list.extend([...]) to list.append(...)
* added '/g0' to compiler_options, so compiler doesn't
stop after 100 warnings
2000-08-13 00:43:16 +00:00
Greg Ward
a35c931eb2
get_export_symbols() changed, adds now module init function if not given
...
by the user.
2000-08-13 00:42:35 +00:00
Greg Ward
1f6a0d4568
Rene Liebscher: ext.export_symbols is now always a list (added 'or []').
2000-08-13 00:41:40 +00:00
Greg Ward
45b87bc96d
Typo fix in docstring.
2000-08-13 00:38:58 +00:00
Greg Ward
29124ff4f2
Fix references to functions formerly imported from 'util'.
2000-08-13 00:36:47 +00:00
Thomas Wouters
46cc7c0f7b
Bring Tools/compiler almost up to date. Specifically:
...
- fix tab space issues (SF patch #101167 by Neil Schemenauer)
- fix co_flags for classes to include CO_NEWLOCALS (SF patch #101145 by Neil)
- fix for merger of UNPACK_LIST and UNPACK_TUPLE into UNPACK_SEQUENCE,
(SF patch #101168 by, well, Neil :)
- Adjust bytecode MAGIC to current bytecode.
TODO: teach compile.py about list comprehensions.
2000-08-12 20:32:46 +00:00
Andrew M. Kuchling
c7ef59128b
Updated this module after the recent grammar changes
2000-08-12 19:09:14 +00:00
Skip Montanaro
803d6e5451
list comprehensions. see
...
http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470
for details.
2000-08-12 18:09:51 +00:00
Thomas Wouters
0be5aab04d
Merge UNPACK_LIST and UNPACK_TUPLE into a single UNPACK_SEQUENCE, since they
...
did the same anyway.
I'm not sure what to do with Tools/compiler/compiler/* -- that isn't part of
distutils, is it ? Should it try to be compatible with old bytecode version ?
2000-08-11 22:15:52 +00:00
Trent Mick
f29f47b38b
Add largefile support for Linux64 and WIn64. Add test_largefile and some minor
...
change to regrtest.py to allow optional running of test_largefile ('cause it's
slow on Win64).
This closes patches:
http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100510&group_id=5470
and
http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100511&group_id=5470
2000-08-11 19:02:59 +00:00
Sjoerd Mullender
d2653a9e07
Use built in function filter instead of doing it laboriously by hand.
2000-08-11 07:48:36 +00:00
Peter Schneider-Kamp
7bc82bb1f0
add better algorithm to get fully qualified domain name for localhost
...
in smtplib.ehlo() and smtplib.helo().
closes patch #101103
closes bug #110935
2000-08-10 14:02:23 +00:00
Peter Schneider-Kamp
10e1bf2f64
remove all occurence of math.rint() from the sources
...
(and yes, "Currintly" also counts <0.5 wink>)
2000-08-10 04:23:30 +00:00
Guido van Rossum
0707fea5ee
Improve MHMailbox: messages are now sorted in numerical order.
...
Also don't allow leading zeros in message numbers.
2000-08-10 03:05:26 +00:00
Eric S. Raymond
1ebd3f6c4b
Tweak curses.wrapper so it initializes colors if they are available.
2000-08-09 21:11:07 +00:00
Fredrik Lundh
46a4151674
-- added a couple of missing Tkinter constants (canvas item styles,
...
place bordermode, etc)
2000-08-09 19:37:16 +00:00
Fredrik Lundh
24037f735f
-- don't mess up in winfo_visualsavailable if the system only
...
supports a single visual (closes bug #110603 )
2000-08-09 19:26:47 +00:00
Fredrik Lundh
289ad8f063
-- added optional newstate argument to Wm.state. The newstate arg
...
was added in Tk 8.3 (this fixes the first part of Bug #110605 )
2000-08-09 19:11:59 +00:00
Fredrik Lundh
8fffa208e0
-- use explicit conversion instead of u-string literal in the test
...
code, to make the new Tkinter.py run under 1.5.2
-- changed Text.yview argument name (for consistency with xview)
2000-08-09 18:51:01 +00:00
Fredrik Lundh
5bd2cd663d
-- added xview_moveto, xview_scroll, yview_moveto, yview_scroll
...
to the Text method (closes Bug #110605 )
2000-08-09 18:29:51 +00:00
Fredrik Lundh
06d2815350
-- untabification (use "diff -b" to verify)
2000-08-09 18:03:12 +00:00
Fredrik Lundh
5810064476
-- changed findall to return empty strings instead of None
...
for undefined groups
2000-08-09 09:14:35 +00:00
Fredrik Lundh
8e6d571a7c
-- enabled some temporarily disabled RE tests
...
-- added basic unicode tests to test_re
-- added test case for Sjoerd's xmllib problem to re_tests
2000-08-08 17:06:53 +00:00
Fredrik Lundh
2643b55a77
-- whitespace cleanup (real changes coming in next checkin)
2000-08-08 16:52:51 +00:00
Fredrik Lundh
1151a8cd61
-- whitespace cleanup (more tests to be added in the next commit)
2000-08-08 16:47:42 +00:00
Guido van Rossum
79c9b17d17
Barry's patch to test the new setdefault() method.
2000-08-08 16:13:23 +00:00
Guido van Rossum
164452cec4
Barry's patch to implement the new setdefault() method.
2000-08-08 16:12:54 +00:00
Greg Ward
2b042ded19
Fix so 'split_quoted()' handles any whitespace delimiter (not just space).
2000-08-08 14:38:13 +00:00
Marc-André Lemburg
e5034378cc
Removing UTF-16 aware Unicode comparison code. This kind of compare
...
function (together with other locale aware ones) should into a new collation
support module. See python-dev for a discussion of this removal.
Note: This patch should also be applied to the 1.6 branch.
2000-08-08 08:04:29 +00:00
Fredrik Lundh
7898c3e685
-- reset marks if repeat_one tail doesn't match
...
(this should fix Sjoerd's xmllib problem)
-- added skip field to INFO header
-- changed compiler to generate charset INFO header
-- changed trace messages to support post-mortem analysis
2000-08-07 20:59:04 +00:00
Greg Ward
1b024d37a7
Fix so the 'install_libbase' directory -- where .pth files are installed --
...
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).
2000-08-07 00:48:04 +00:00
Greg Ward
0fd2dd6db0
Fix so we clear or reinitialize various data structures before populating
...
(allows the same FancyGetopt object to be used multiple times with different
option tables).
2000-08-07 00:45:51 +00:00
Vladimir Marangozov
f9d20c3786
Neil Schemenauer: GC enable(), disable(), isenabled() interface.
...
Small stylistic changes by VM:
- is_enabled() -> isenabled()
- static ... Py_<func> -> static ... gc_<func>
2000-08-06 22:45:31 +00:00
Jack Jansen
2fc0109375
Rewrite of normpath() by Corran Webster, so trailing :s are removed
...
(except for : and volume:, where they are needed).
2000-08-06 21:18:35 +00:00
Greg Ward
ab3a0f36ed
Fixed imports from '*util' modules to not just import everything from util.
2000-08-05 01:31:54 +00:00
Greg Ward
5a8aa1ba2e
Drop the 'extend()' function -- old 1.5.1 compatibility hack that
...
wasn't actually used anywhere.
Drop the "from xxx_util import*" backwards compability hacks.
2000-08-05 01:25:24 +00:00
Jeremy Hylton
7daf04d9e0
replace most calls to emit 'SET_LINENO' will call to method set_lineno
...
based on bug report by Neil Schemenauer
2000-08-04 16:56:51 +00:00
Jeremy Hylton
8612f1c152
update my email address
...
fix com_call_function to cope with trailing comma in "f(a, b,)"
2000-08-04 16:54:54 +00:00
Moshe Zadka
92a69138b3
Oooopsss.....tab and space mismatch corrected.
2000-08-04 15:25:58 +00:00
Thomas Wouters
b9fa0a843e
Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
...
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
2000-08-04 13:34:43 +00:00
Moshe Zadka
040c17fe38
Raise TestSkipped, not ImportError.
...
Honesty's the best policy.
2000-08-04 13:26:03 +00:00
Thomas Wouters
3af826ebca
Make test_support.TestSkipped errors work the same way as ImportErrors:
...
mark the test as 'skipped', rather than 'failed'.
2000-08-04 13:17:51 +00:00
Moshe Zadka
323a5086ae
In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there
...
at all (my computer doesn't have a Sound Blaster), this doesn't mean
there's a bug in linuxaudiodev. The only error the test suite skips
is currently ImportError -- so that's what we raise. If you see a problem
with this patch, say so and I'll retract. If you think raising an ImportError
sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna
let the test-suite fail on my machine.
2000-08-04 12:59:40 +00:00
Thomas Wouters
3027b15c8e
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
2000-08-04 08:46:59 +00:00
Eric S. Raymond
5af256ded6
Corrected a bug in handling of ^N and ^P with stripspaces on.
2000-08-04 07:33:18 +00:00
Fred Drake
5750017563
Remove the outer test for __name__; not necessary.
2000-08-04 03:14:55 +00:00
Greg Ward
f813e59d49
Added 'debug_print()'.
2000-08-04 01:31:13 +00:00
Greg Ward
5db2c3ae24
Rewrote 'find_library_file()' much more cleanly (and consistently with
...
MSVCCompiler's version, to aid in factoring common code out of the two
classes when the time comes).
2000-08-04 01:30:03 +00:00
Greg Ward
d142564821
Added 'debug' flag to 'find_library_file()', and changed code to handle it.
2000-08-04 01:29:27 +00:00
Greg Ward
e5e6015e5a
Added 'debug' flag to 'find_library_file()'.
2000-08-04 01:28:39 +00:00
Jeremy Hylton
d9827c476c
test the non-multipart sections of the cgi module
2000-08-03 22:11:43 +00:00
Jeremy Hylton
c253d9a623
Remove very long doc string (it's all in the docs)
...
Modify parse_qsl to interpret 'a=b=c' as key 'a' and value 'b=c'
(which matches Perl's CGI.pm)
2000-08-03 20:57:44 +00:00
Greg Stein
fd342bf453
add a bit more legal junk
...
(too lazy to paste in the whole BSD license tho; included by ref)
2000-08-03 17:39:13 +00:00
Moshe Zadka
73ed8e566e
Checking in empty tests for urlparse, as future place holders
2000-08-03 17:28:50 +00:00
Fredrik Lundh
96ab46529b
-- added recursion limit (currently ~10,000 levels)
...
-- improved error messages
-- factored out SRE_COUNT; the same code is used by
SRE_OP_REPEAT_ONE_TEMPLATE
-- minor cleanups
2000-08-03 16:29:50 +00:00
Barry Warsaw
a873b03ebb
Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gc
...
module is importable.
2000-08-03 15:50:37 +00:00
Barry Warsaw
e027d8dc81
Added output for testsuite for new zip() builtin.
2000-08-03 15:48:31 +00:00
Barry Warsaw
7bfc1a1507
Added testsuite for new zip() builtin.
2000-08-03 15:48:07 +00:00
Andrew M. Kuchling
e6f164622f
Comment out repeated-group test for the moment
2000-08-03 12:16:29 +00:00
Andrew M. Kuchling
a3eacc472c
Add nasty test case that overflows the stack with a repeated group
2000-08-03 02:06:45 +00:00
Greg Ward
dc9fe8a7ba
Typo fix.
2000-08-02 01:49:40 +00:00
Greg Ward
6f628bb877
Added 'wininst' to the 'format_commands' list, so it's included in
...
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
2000-08-02 01:44:44 +00:00
Greg Ward
9dddbb4009
Added 'execute()' method, a thin wrapper around 'util.execute() (just like
...
the one in cmd.py).
2000-08-02 01:38:20 +00:00
Greg Ward
d7faa81616
Replaced 'execute()' method with a thin wrapper around 'util.execute()'.
2000-08-02 01:37:53 +00:00
Greg Ward
1c16ac360a
Added the 'execute()' function (moved here from cmd.py with minor tweakage).
2000-08-02 01:37:30 +00:00
Greg Ward
90c74cc4da
Rene Liebscher: fix 'skipping byte-compilation' message for grammatical
...
consistency.
2000-08-02 01:34:18 +00:00
Greg Ward
bf5c70973f
Latest version from Rene Liebscher; major changes:
...
- added big comment describing possible problems
- look for and react to versions of gcc, ld, and dlltool; mainly
this is done by the 'get_versions()' function and the CygwinCCompiler
and Mingw32CCompiler constructors
- move 'check_config_h()' to end of file and defer calling it until
we need to (ie. in the CygwinCCompiler constructor)
- lots of changes in 'link_shared_object()' -- mostly seems to be
library and DLL stuff, but I don't follow it entirely
2000-08-02 01:31:56 +00:00
Greg Ward
1d526dd3b3
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
...
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
2000-08-02 01:09:11 +00:00
Greg Ward
88608caff2
Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.
2000-08-02 01:08:02 +00:00
Greg Ward
c58c517741
Patch from Rene Liebscher. Some ugly changes, but supposedly this makes
...
it so BCPPCompiler actually works, so I'm provisionally accepting it
-- ugly and working is better than not working! Major changes:
- normalize paths (apparently BC++ doesn't like slashes)
- overhauled how we search for and specify libraries on the linker
command-line
- hacked up 'find_library_file()' so it knows about "debug" library
naming convention as well as "bcpp_xxx.lib" -- the question is,
is this a well-established and sensible convention?
Also:
- change to use 'util.write_file()' to write the .def file
2000-08-02 01:03:23 +00:00
Greg Ward
bb56190422
Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.
2000-08-02 00:37:32 +00:00
Greg Ward
c6a18a5d65
Removed 'export_symbol_file'.
...
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
with every other instance attribute of Extension).
2000-08-02 00:04:13 +00:00
Greg Ward
04c90fc475
Ditched some debugging prints.
2000-08-02 00:01:56 +00:00
Greg Ward
159eb92239
Patch from Rene Liebscher: generate an /IMPLIB: option to ensure that
...
the linker leaves the (temporary) .lib file in the temporary dir. (Moved
from 'msvc_prelink_hack()' method in build_ext.py.)
2000-08-02 00:00:30 +00:00
Greg Ward
0419a4ffba
Patch from Rene Liebscher, tweaked by me:
...
- 'export_symbol_file' (and corresponding 'def_file' in the old
"build info" dict) are gone; warn if we see 'def_file' in the
dict
- the MSVC "pre-link hack" is gone -- all that stuff is now handled
elsewhere (eg. by using 'export_symbols', etc.)
- add 'get_export_symbols()' and 'get_libraries()' methods -- needed
because on Windows, both of those things are a tad more complicated
than fetching them from the Extension instance
2000-08-01 23:54:29 +00:00
Fredrik Lundh
e186983842
final 0.9.8 updates:
...
-- added REPEAT_ONE operator
-- added ANY_ALL operator (used to represent "(?s).")
2000-08-01 22:47:49 +00:00
Guido van Rossum
fb06539e99
My fix to the URL accidentally also switched back to the "pre" module.
...
Undo that!
2000-08-01 21:22:16 +00:00
Fredrik Lundh
2f2c67d7e5
-- fixed width calculations for alternations
...
-- fixed literal check in branch operator
(this broke test_tokenize, as reported by Mark Favas)
-- added REPEAT_ONE operator (still not enabled, though)
-- added some debugging stuff (maxlevel)
2000-08-01 21:05:41 +00:00
Guido van Rossum
8c74335807
Replace the jitterbug page with the SF Bug Tracker page.
2000-08-01 20:28:33 +00:00
Fredrik Lundh
29c4ba9ada
SRE 0.9.8: passes the entire test suite
...
-- reverted REPEAT operator to use "repeat context" strategy
(from 0.8.X), but done right this time.
-- got rid of backtracking stack; use nested SRE_MATCH calls
instead (should probably put it back again in 0.9.9 ;-)
-- properly reset state in scanner mode
-- don't use aggressive inlining by default
2000-08-01 18:20:07 +00:00
Jeremy Hylton
29b8d5acd0
add support for HTTPS
...
Modify HTTP to use delegation instead of inheritance. The
_connection_class attribute of the class defines what class to
delegate to. The HTTPS class is a subclass of HTTP that redefines
_connection_class.
2000-08-01 17:33:32 +00:00
Fredrik Lundh
067bebfe2d
-- SRE 0.9.8: now that the bug is fixed, I might as well enable
...
the test again...
2000-08-01 13:16:55 +00:00
Fredrik Lundh
c2ed621d75
-- SRE 0.9.8: updated test scripts
2000-08-01 13:01:43 +00:00
Andrew M. Kuchling
b45bd325b5
Added Python function to emulate the ncurses has_key() function.
2000-08-01 01:21:11 +00:00
Fred Drake
327e1878ac
Add magic to replace the xml package with _xmlplus at import time.
...
Update docstring to reflect change of name for the parsers subpackage.
2000-08-01 00:05:16 +00:00
Fred Drake
ede77bfda4
Rename the "parser" package to "parsers" to be compatible with the PyXML
...
project.
2000-07-31 23:59:54 +00:00
Peter Schneider-Kamp
5a65c2d436
added count, extend, index, pop and remove to arraymodule
2000-07-31 20:52:21 +00:00
Thomas Wouters
a701597138
Fix inconsistent use of tab/space in indentation.
2000-07-30 15:38:35 +00:00
Mark Hammond
af4cfae300
Test that after resizing the mmap'd file, we can't seek beyond the new size.
2000-07-30 02:20:38 +00:00
Greg Ward
6b24dffd13
Catch syntax errors from processing template lines and turn them into
...
mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.
2000-07-30 01:47:16 +00:00
Greg Ward
979db976a3
Added list-like methods: 'append()', 'extend()', 'sort()'.
...
Added 'remove_duplicates()'.
Simplified constructor: no longer take 'files' or 'allfiles' as args,
and no longer have 'dir' attribute at all.
Added 'set_allfiles()' and 'findall()' so the client does have a
way to set the list of all files.
Changed 'include_pattern()' to use the 'findall()' method instead of
the external function. (Of course, the method is just a trivial
wrapper around the function.)
2000-07-30 01:45:42 +00:00
Greg Ward
23266fe5cf
Replaced 'self.files' with 'self.filelist': now we carry around a FileList
...
instance instead of a list of filenames. Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.
2000-07-30 01:30:31 +00:00
Greg Ward
4571ac15f7
The other half of Rene Liebscher's patch to add the Template class,
...
which I renamed to FileList: remove all the file-list-generation code from
the sdist command and adapt it to use the new FileList class instead.
2000-07-30 01:05:02 +00:00
Greg Ward
d5dcc174b0
Typo fix.
2000-07-30 01:04:22 +00:00
Greg Ward
58bff53320
Added DistutilsTemplateError.
2000-07-30 01:03:31 +00:00
Greg Ward
c019e2c7a8
Ditched the unused 'recursive_exclude_pattern()' method.
2000-07-30 00:37:04 +00:00
Greg Ward
0f341855ac
Renamed 'select_pattern()' to 'include_pattern()'.
...
Other cosmetic/doc/comment tweaks.
2000-07-30 00:36:25 +00:00
Greg Ward
7b3d56c85c
Renamed 'process_line()' to 'process_template_line()', and factored out
...
'_parse_template_line()'.
2000-07-30 00:21:36 +00:00
Greg Ward
c98927a059
Added class docstring and ditched inappropriate class attrs.
...
Indentation/whitspace fixes.
2000-07-30 00:08:13 +00:00
Greg Ward
adc1172064
Provides the FileList class for building a list of filenames by exploring
...
the filesystem, and filtering the list by applying various patterns.
Initial revision (almost) as supplied in a patch by Rene Liebscher; I
just renamed the class from Template to FileList, and the module
accordingly.
2000-07-30 00:04:17 +00:00
Andrew M. Kuchling
85ab7384f6
Exercise .readline() and .readlines(). More data is written to the
...
test file, too, so the methods have more work to do.
2000-07-29 20:18:34 +00:00
Andrew M. Kuchling
41616ee194
SF patch #100740 : Add optional size arguments to .readline() and
...
.readlines() methods. Inspired by a patch from Wolfgang Grafen,
though this version of the patch was completely rewritten from his
code.
2000-07-29 20:15:26 +00:00
Moshe Zadka
7a4409c1b2
Added support to recognize Python's internal "dumbdbm" database.
...
This closes bug 200 on Jitterbug.
2000-07-29 05:31:40 +00:00
Moshe Zadka
37c03ff3a9
Using shutil's function to copy data between file objects instead
...
of rolling our own.
Note:
This is my first sourceforge checkin. If you see anything funny about
this patch, please let me know.
2000-07-29 05:15:56 +00:00
Mark Hammond
152e3f0885
Was quite broken and incomplete. Now passes the test suite, but is still incomplete.
2000-07-28 03:45:32 +00:00
Mark Hammond
abfeff7f44
Fix a type in the docstrings, and make the module Unicode aware.
2000-07-28 03:42:40 +00:00
Trent Mick
c64c8ea71c
Remove erroneous empty trailing line. (cause test_winreg.py failure)
2000-07-27 23:26:28 +00:00
Fredrik Lundh
9407e553c0
-- changed test to work on platforms which have os.popen
...
but no os.fork
2000-07-27 07:42:43 +00:00
Greg Ward
ae0965eb23
Bump version to 0.9.1pre.
2000-07-27 02:17:40 +00:00
Greg Ward
612eb9f58f
Fixed a grab-bag of typos spotted by Rob Hooft.
2000-07-27 02:13:20 +00:00
Greg Ward
aa5372caa7
Remove unused 'search_dir()' method.
...
Comment tweak.
2000-07-27 01:58:45 +00:00
Greg Ward
7499847c53
Fix to call 'library_filename()' instead of the non-existent
...
'shared_library_filename()'.
2000-07-27 01:23:19 +00:00
Greg Ward
53c1bc3f9b
Typo fix from David Ascher.
2000-07-27 01:21:54 +00:00
Mark Hammond
4f570b9239
Patch #100873 - Use registry to find proxies for urllib on Win32
...
Note that this patch looks worse than it is - an existing function (getproxies() for all platforms other than Win/Mac) has been moved, renamed and indentation changed, but the body of that function is identical. Windows now allows the environment variables to override the registry.
2000-07-26 07:04:38 +00:00
Peter Schneider-Kamp
fdee0f0aa7
added test case for fixed duplicate arguments bug in Python/compile.c
2000-07-25 22:15:45 +00:00
Fred Drake
9f2550f581
makedirs(), removedirs(): If the tail of the path is empty, do a second
...
split so the logic does not fail in corner cases.
This closes bug #407 .
2000-07-25 15:16:40 +00:00
Jeremy Hylton
0365180a74
a couple of nits from Patch #100933
2000-07-25 14:34:38 +00:00
Andrew M. Kuchling
c1b4624447
Made an error message slightly more useful if select() returns something goofy
2000-07-25 00:51:31 +00:00
Fredrik Lundh
82c330e591
-- updated to include known problems in SRE 0.9.6
...
(cf. test/output/test_sre)
2000-07-24 22:35:11 +00:00
Fred Drake
1790dd4b66
Restore TestSkipped exception; appears to have disappeared in last checkin.
...
Make both TextFailed and TestSkipped subclasses of Error, which derives
from Exception. Docstrings have been added for the exceptions and module.
2000-07-24 06:55:00 +00:00
Fredrik Lundh
8a3ebf8ca8
-- SRE 0.9.6 sync. this includes:
...
+ added "regs" attribute
+ fixed "pos" and "endpos" attributes
+ reset "lastindex" and "lastgroup" in scanner methods
+ removed (?P#id) syntax; the "lastindex" and "lastgroup"
attributes are now always set
+ removed string module dependencies in sre_parse
+ better debugging support in sre_parse
+ various tweaks to build under 1.5.2
2000-07-23 21:46:17 +00:00
Paul Prescod
623511b7df
Added a few docstrings
2000-07-21 22:05:49 +00:00
Paul Prescod
863d8b855f
Added docstrings
2000-07-21 21:43:09 +00:00
Thomas Wouters
ff4df6d6fb
Small fixes by Petru Paler (patch #100946 ) checked in with esr's approval.
2000-07-21 05:19:59 +00:00
Skip Montanaro
e9e5dcd4db
restructured a bit and added some more content...
2000-07-19 17:19:49 +00:00
Skip Montanaro
4d06923122
make TestFailed a class exception
2000-07-19 17:14:48 +00:00
Skip Montanaro
018dfae246
added rewritten normpath from Moshe Zadka that does the right thing with
...
paths containing ..
2000-07-19 17:09:51 +00:00
Thomas Wouters
baf2663e44
Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)
2000-07-19 14:51:54 +00:00
Greg Stein
dd6eefb348
no changes other than indentation level (now 4) and comment reflow.
...
use "cvs diff -b" to verify.
2000-07-18 09:09:48 +00:00
Skip Montanaro
1d3dd74574
* split on / or \
...
* case insensitive comparison
2000-07-17 03:06:58 +00:00
Skip Montanaro
802bc5d9b3
damn! cut-n-paste from ntpath forgot the "import re"
2000-07-17 03:06:26 +00:00
Skip Montanaro
6222c05af6
* split on / or \
...
* case insensitive
2000-07-17 03:04:19 +00:00
Paul Prescod
d61591813c
At GVR's request.
2000-07-16 23:00:10 +00:00
Paul Prescod
9eab78994e
Online help facility for the Python interprter and other interactive
...
environments.
2000-07-16 19:53:00 +00:00
Skip Montanaro
a924bb1ad2
split and join on "/" in commonprefix
2000-07-16 16:52:45 +00:00
Thomas Wouters
7e47402264
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
...
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
2000-07-16 12:04:32 +00:00
Thomas Wouters
c533e4a012
Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
...
genuine bug, so I checked it in separately.
2000-07-16 11:57:20 +00:00
Fredrik Lundh
3fded4bb29
-- fixed the comment, too
2000-07-15 20:58:44 +00:00
Fredrik Lundh
efd7b001d6
-- note to self: wait until 'cvs commit' has finished before
...
you edit the file.
2000-07-15 20:50:27 +00:00
Fredrik Lundh
47ac12662a
-- changed default encoding to "ascii". you can still change
...
the default via site.py...
2000-07-15 20:45:23 +00:00
Vladimir Marangozov
5ff2ac2fa9
Break a cycle created in the saboteur() function.
2000-07-15 00:42:09 +00:00
Eric S. Raymond
649685ad9b
ConfigParser enhancements to edit existing configs, part 2
2000-07-14 14:28:22 +00:00
Andrew M. Kuchling
23adc9f37b
Typo fix from Bastian Kleineidam
2000-07-14 13:35:07 +00:00