Fred Drake
a64436e853
Update test output to reflect change in SyntaxError formatting.
...
This closes SourceForge bug #110628 (Jitterbug PR#278).
2000-08-15 15:51:18 +00:00
Greg Ward
f40ff1b8b2
Bump version to 0.9.1.
2000-08-15 13:14:27 +00:00
Greg Ward
44a980dff9
Fixed the move-RPM-files hack so it knows about the '--binary-only' and
...
'--source-only' options.
2000-08-15 13:05:35 +00:00
Greg Ward
a12c195064
Added support for the '--dist-dir' option, including a mildly nasty
...
hack to find the two created RPM files (source and binary) and
move them to the "dist dir" (default "dist").
2000-08-15 13:03:16 +00:00
Greg Ward
c0fe82ca26
Fix long-hidden inconsistency in internal interface: 'find_modules()' now
...
represents packages as strings, not tuples. This allowed a simplification
in 'get_package_dir()', too -- can now assume that 'package' is a string.
2000-08-15 13:01:25 +00:00
Barry Warsaw
97ca66fd57
tests for binascii.b2a_hex() and binascii.a2b_hex().
2000-08-15 06:08:31 +00:00
Barry Warsaw
3fdcccb82f
Added a test of the md5.hexdigest() method. Funny enough, this test
...
had yet-another Python implementation of a binary-data-to-hex-digit
encoder!
2000-08-15 06:01:36 +00:00
David Scherer
7aced17437
Initial revision
2000-08-15 01:13:23 +00:00
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