Tim Peters
1babdfc48a
Reduced memory burden by iterating over the normalization test input
...
file directly (instead of sucking it all into a list of lines first).
2002-11-24 19:19:09 +00:00
Tim Peters
1b445d3fcf
Fiddled things so that test_normalization is expected to be skipped if
...
and only if the test input file doesn't exist.
2002-11-24 18:53:11 +00:00
Martin v. Löwis
65730a4de8
Delete bsddb from sys.modules if _bsddb cannot be imported.
2002-11-24 08:26:01 +00:00
Tim Peters
d332c085ea
Skip test_normalization on Windows until it's at least clear why the
...
data it needs doesn't exist in the project. If it's a huge file,
maybe the test should be changed to be one of the -u thingies.
2002-11-24 02:40:40 +00:00
Tim Peters
b9ac505110
Split long line.
...
XXX If NormalizationTest.txt is required to run this test, why isn't it
checked into the project?
2002-11-24 02:37:29 +00:00
Tim Peters
77c06fbf94
Whitespace normalization.
2002-11-24 02:35:35 +00:00
Martin v. Löwis
677bde2dd1
Patch #626485 : Support Unicode normalization.
2002-11-23 22:08:15 +00:00
Martin v. Löwis
74a530d42d
Update character names.
2002-11-23 19:41:01 +00:00
Martin v. Löwis
ef7fe2e813
Implement names for CJK unified ideographs. Add name to KeyError output.
...
Verify that the lookup for an existing name succeeds.
2002-11-23 18:01:32 +00:00
Martin v. Löwis
8579efc86c
Add test cases for Hangul syllables. Update output.
2002-11-23 17:11:42 +00:00
Neal Norwitz
ca2953ea5c
Remove duplicate test
2002-11-23 16:57:00 +00:00
Martin v. Löwis
529ec6a1ee
Regenerate. Fixes #618012 .
2002-11-23 12:09:28 +00:00
Martin v. Löwis
b2c7affbaa
Merge with bsddb3 2002.11.23.10.42.36
2002-11-23 11:26:07 +00:00
Just van Rossum
a797d8150d
Patch #642500 with slight modifications: allow keyword arguments in
...
dict() constructor. Example:
>>> dict(a=1, b=2)
{'a': 1, 'b': 2}
>>>
2002-11-23 09:45:04 +00:00
Thomas Heller
450cafae28
(This is hopefully the last large, funny checkin message for
...
bdist_wininst.py we will see.)
Removed the base64 encoded binary contents, wininst.exe must be in the
same directory as this file now.
wininst.exe must be recompiled and commited each time the sources in
PC/bdist_wininst are changed.
2002-11-22 21:08:34 +00:00
Thomas Heller
3a23c3fae1
get_python_version was not imported.
2002-11-22 20:57:20 +00:00
Fred Drake
8bec48316b
Two bugs:
...
- assertRaises() wasn't being called correctly
- test_warning() no longer applies
2002-11-22 20:13:43 +00:00
Tim Peters
78e35f9311
Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
...
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now. If
anyone can address an XXX comment or two in readme.txt, please do!
2002-11-22 20:00:34 +00:00
Guido van Rossum
44f602dd3b
Comment out the warnings about mktemp(). These are too annoying, and
...
often unavoidable.
2002-11-22 15:56:29 +00:00
Fred Drake
132e0e824b
Use False instead of 0.
2002-11-22 14:22:49 +00:00
Martin v. Löwis
4581cfa326
Patch #486438 : Make module argument to testmod optional.
2002-11-22 08:23:09 +00:00
Martin v. Löwis
f86e8ef33e
Patch #550765 : Add daemon_threads flag.
2002-11-22 08:08:44 +00:00
Piers Lauder
e0273de432
added new IMAP4_stream class; added proxyauth command; added login_cram_md5 method
2002-11-22 05:53:04 +00:00
Raymond Hettinger
54405456e5
Implement dict() style constructor.
...
Already supported dict() and dict(mapping).
Now supports dict(itemsequence) and
Just van Rossum's new syntax for dict(keywordargs).
Also, added related unittests.
The docs already promise dict-like behavior
so no update is needed there.
2002-11-22 00:07:40 +00:00
Martin v. Löwis
d899605e30
Patch #633547 : Support plural forms. Do TODOs in test suite.
2002-11-21 21:45:32 +00:00
Guido van Rossum
21b60147e9
The _Event class should be more careful with releasing its lock when
...
interrupted. A try/finally will do nicely. Maybe other classes need
this too, but since they manipulate more state it's less clear that
that is always the right thing, and I'm in a hurry.
Backport candidate.
2002-11-21 21:08:39 +00:00
Andrew M. Kuchling
fec3262691
Reflow comment
2002-11-21 20:41:07 +00:00
Martin v. Löwis
69ceb33bac
Patch #642019 : Recognize gcc-x.y as gcc.
2002-11-21 20:33:24 +00:00
Andrew M. Kuchling
cdd215789c
Bug #639118 from Ollie Oldham: archiver should use zipfile before zip
...
Previously archive_util.py attempted to spawn an
external 'zip' program for the zip action, if this fails, an
attempt to import zipfile.py is made...
This bites folks who have 'old' or non-conforming zip
programs on windows platforms. This change tries the 'zipfile'
module first, falling back to spawning a zip process if
the module isn't available.
2002-11-21 18:33:28 +00:00
Tim Peters
97701b507b
_RandomNameSequence(): style guide changes, small speedup, don't
...
put more in the critical section than absolutely needed, acquire
the mutex before the "try".
2002-11-21 15:59:59 +00:00
Tim Peters
6ef966e1ad
_TemporaryFileWrapper: changed self.close_called to a proper bool.
2002-11-21 15:48:33 +00:00
Kurt B. Kaiser
4fc904708b
Apply Nicolas Riley's Patch.
...
[ 634250 ] SearchDialogBase.py fix for Tk 8.4.1
SearchDialogBase refers to the grid 'col' option
considered ambiguous with Python 2.2.2 and Tk 8.4.1.
The correct name is 'column'.
2002-11-21 03:02:17 +00:00
Neal Norwitz
201626e00f
Fix SF #640094 , on win32 getpass runs into unix_getpass
...
Make sure we have a UNIX-compatible termios.
Apparently, McMillan Installer made a termios on windows
which caused unix_getpass() to be used instead of win_getpass().
Will backport.
2002-11-20 23:15:54 +00:00
Andrew M. Kuchling
2db92a6ee1
Add missing import
2002-11-20 16:10:29 +00:00
Walter Dörwald
7f82f7955e
Add missing documentation for the PEP 293 functionality to
...
the codecs docstrings.
2002-11-19 21:42:53 +00:00
Walter Dörwald
f171540ab8
Change int() so that passing a string, unicode, float or long argument
...
that is outside the integer range no longer raises OverflowError, but
returns a long object instead.
This fixes SF bug http://www.python.org/sf/635115
2002-11-19 20:49:15 +00:00
Martin v. Löwis
7a3bae410d
Replace bsddb3 and _db occurrences.
2002-11-19 17:48:49 +00:00
Martin v. Löwis
1c6b1a2b4e
Importing test suite from bsddb3 3.4.0 (with modifications).
2002-11-19 17:47:07 +00:00
Andrew M. Kuchling
d448f66317
Add comment to Distutil files about requiring 1.5.2 compatibility, as
...
suggested by PEP 291.
2002-11-19 13:12:28 +00:00
Martin v. Löwis
6aa4a1f29c
Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.
2002-11-19 08:09:52 +00:00
Neil Schemenauer
fe4f769fb8
Add __mod__ method to UserString.
2002-11-18 16:12:54 +00:00
Neil Schemenauer
b981df9943
check for str.__mod__
2002-11-18 16:12:11 +00:00
Neil Schemenauer
ab9e4b76c2
check for unicode.__mod__
2002-11-18 16:11:34 +00:00
Raymond Hettinger
311f419628
Improve comments. Clarify docs.
...
Replace "type(0)" with "int".
Replace "while 1" with "while True"
2002-11-18 09:01:24 +00:00
Raymond Hettinger
8ddc176e2e
Improve DictMixin.
...
Replaced docstring with comments. Prevents subclass contamination.
Added the missing __cmp__() method and a test for __cmp__().
Used try/except style in preference to has_key() followed by a look-up.
Used iteritem() where possible to save creating a long key list and
to save redundant lookups.
Expanded .update() to look for the most helpful methods first and gradually
work down to a mininum expected interface.
Expanded documentation to be more clear on how to use the class.
2002-11-18 04:34:10 +00:00
Eric S. Raymond
782d940866
Guard against error if .netrc is missing.
2002-11-17 17:53:12 +00:00
Neal Norwitz
c4d047aad3
SF Patch #638825
...
Fix pychecker warnings, port arg was unused (it was always the default)
Need a global statement for _listener
2002-11-15 23:33:20 +00:00
Neal Norwitz
d1cade0d1f
SF Patch #638825 logging module
...
Fix pychecker warnings, remove unused imports and rename root
2002-11-15 23:31:28 +00:00
Tim Peters
a1d004af04
Style guide reformats. I saw this test fail on a very heavily loaded
...
Win98SE box, but whatever the cause, it had scrolled off the DOS box.
(There was just the "test_queue failed" summary at the end of the
regrtest run.)
2002-11-15 19:08:50 +00:00
Raymond Hettinger
903bf90723
SF patch #520382 : Expand shelve.py to have a full dictionary interface
...
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.
2002-11-15 08:39:40 +00:00