Andrew M. Kuchling
4ad9723ed8
Remove pre module
2004-06-02 17:40:14 +00:00
Hye-Shik Chang
5629d0e616
Fix grammar hopefully. :)
2004-06-02 16:52:49 +00:00
Hye-Shik Chang
974ed7cfa5
- SF #962502 : Add two more methods for unicode type; width() and
...
iswide() for east asian width manipulation. (Inspired by David
Goodger, Reviewed by Martin v. Loewis)
- Move _PyUnicode_TypeRecord.flags to the end of the struct so that
no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
2004-06-02 16:49:17 +00:00
Andrew M. Kuchling
b6568b91fd
Add a name (old change sitting in my tree)
2004-06-02 15:37:04 +00:00
Andrew M. Kuchling
d783694dea
Remove old reminder
2004-06-02 15:33:59 +00:00
Jack Jansen
43285d4d3d
CGMainDisplayID() doesn't exist on 10.1, so don't try to call it when
...
building for that platform.
2004-06-02 13:44:05 +00:00
Thomas Heller
aa2e498251
Record Python 2.3.4 (final) build number.
2004-06-02 13:21:41 +00:00
Martin v. Löwis
9c322fbe36
The expression list in inheritance is not optional. Fixes #960448 .
...
Will backport to 2.3.
2004-06-02 12:59:59 +00:00
Martin v. Löwis
477c85631a
Move grammar rule for lambda_form into section on lambdas. Fixes #964525 .
2004-06-02 12:54:33 +00:00
Martin v. Löwis
13ff116ac7
Fix typo reported in #964592 . Will backport to 2.3.
2004-06-02 12:48:20 +00:00
Martin v. Löwis
dd07e59eee
Document PyModule_AddIntConstant to take a long. Fixes #962471 .
...
Will backport to 2.3.
2004-06-02 12:45:27 +00:00
Martin v. Löwis
04697e89b9
Patch #924294 : Do not check for AF_INET6 if it is not defined.
...
Will backport to 2.3.
2004-06-02 12:35:29 +00:00
Vinay Sajip
7dc8ec9091
Copyright year changed
2004-06-02 10:51:05 +00:00
Martin v. Löwis
d8948725d2
Patch #954115 : Fix os.stat handling of UNC roots.
...
Will backport to 2.3.
2004-06-02 09:57:56 +00:00
Piers Lauder
0659452b8b
Added IMAP4_stream to __all__
2004-06-02 00:42:36 +00:00
Tim Peters
1f4bcf9edd
test_hash(): The test here is different enough from the one in the bug
...
report that the stats for expected # of collisions are a little higher.
Updated comments accordingly.
2004-06-01 18:58:04 +00:00
Martin v. Löwis
7897ff0d9a
Add genobject.c
2004-06-01 17:21:13 +00:00
Raymond Hettinger
19a02ece02
Add genobject.c to the MSVC++ 6.0 build.
2004-06-01 16:29:57 +00:00
Martin v. Löwis
e440e47e91
Patch #957398 : Add public API for Generator Object/Type.
2004-06-01 15:22:42 +00:00
Andrew M. Kuchling
09e2cb0ba7
[Bug #962631 ] Fix typo reported by Bryan Blackburn
2004-06-01 12:48:19 +00:00
Raymond Hettinger
41bd02256f
SF bug #942952 : Weakness in tuple hash
...
(Basic approach and test concept by Tim Peters.)
* Improved the hash to reduce collisions.
* Added the torture test to the test suite.
2004-06-01 06:36:24 +00:00
Martin v. Löwis
504239fb38
Silence noise in regrtest.
2004-06-01 04:36:51 +00:00
Raymond Hettinger
e148595504
Fixup spacing in an example.
2004-05-31 22:53:25 +00:00
Martin v. Löwis
173ecb6094
Copy from python-2.3.spec. Incorporate patch #961465 :
...
Including changes from Ian Holsman to build under Red Hat 7.3.
Fixing some problems with the /usr/local path change.
2004-05-31 19:40:57 +00:00
Tim Peters
2f50e90818
SF patch 959726: sdist versus SVN
...
The disutils sdist command now ignores .svn directories.
2004-05-31 19:27:59 +00:00
Martin v. Löwis
92816de18e
Patch #932930 : suggest the use of rawstrings for backslashes.
2004-05-31 19:01:00 +00:00
Martin v. Löwis
2a6ba9097e
Patch #963318 : Add support for client-side cookie management.
2004-05-31 18:22:40 +00:00
Walter Dörwald
0a6d0ff8d9
Port the dictionary tests from test_types.py to unittest. Collect as much
...
mapping tests as possible in mapping_test.py and reuse the tests in
test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py.
From SF patch #736962 .
2004-05-31 16:29:04 +00:00
Walter Dörwald
cbd0b365c1
Fix typo (from SF bug #962602 )
2004-05-31 15:12:27 +00:00
Raymond Hettinger
874ebd5c3d
Add weakref support to sockets and re pattern objects.
2004-05-31 03:15:02 +00:00
Raymond Hettinger
027bb633b6
Add weakref support to sockets and re pattern objects.
2004-05-31 03:09:25 +00:00
Raymond Hettinger
cb87bc8e7e
Add weakref support to array.array and file objects.
2004-05-31 00:35:52 +00:00
Raymond Hettinger
691d80532b
Make sets and deques weak referencable.
2004-05-30 07:26:47 +00:00
Walter Dörwald
d70ad8a9d9
Update docstring for dict.update() to match the new realities.
2004-05-28 20:59:21 +00:00
Fred Drake
8759090562
starting to add comments to explain what's here
2004-05-28 20:21:36 +00:00
Walter Dörwald
80ce6dd564
The default argument in dict.setdefault() defaults to None.
...
Add this default to weakref.WeakValueDictionary.setdefault()
and weakref.WeakKeyDictionary.setdefault() too.
2004-05-27 18:16:25 +00:00
Walter Dörwald
c139909611
The default argument in dict.setdefault() defaults to None.
...
Add this default to UserDict.DictMixin.setdefault() too.
2004-05-27 09:41:04 +00:00
Michael W. Hudson
08678a1055
Remove float_compare as per
...
[ 899109 ] 1==float('nan')
which can now finally be closed, I think.
2004-05-26 17:36:12 +00:00
Michael W. Hudson
76b8cc84a4
Band-aid type fix for
...
[ 728330 ] Don't define _SGAPI on IRIX
The Right Thing would be nice, for now this'll do. At least it isn't
going to break anything *other* than IRIX...
2004-05-26 17:06:31 +00:00
Raymond Hettinger
4ccf336e56
Fill-in the introductory paragraph for the library tour.
2004-05-26 13:57:54 +00:00
Raymond Hettinger
846865bba6
Add a further tour of the standard library.
2004-05-26 13:52:59 +00:00
Raymond Hettinger
a8aebcedf9
Follow official recommendation for domain names in examples.
2004-05-25 16:08:28 +00:00
Skip Montanaro
79cddc56b3
stupid, stupid, stupid... raw_input() already supports readline() if the
...
readline module is loaded.
2004-05-24 14:20:16 +00:00
Skip Montanaro
b98a8ba14d
Add example that uses readline.readline().
2004-05-23 19:06:41 +00:00
Skip Montanaro
0dc23101a0
Exposed readline() function from the readline module.
2004-05-23 17:46:50 +00:00
Raymond Hettinger
ddc819c964
Make sure sets are printed in sorted order
2004-05-22 19:37:21 +00:00
Raymond Hettinger
e36894da3a
Updated to reflect new types.
2004-05-22 16:38:11 +00:00
Raymond Hettinger
1453e4aa75
* teach repr.repr() about collections.deque()
...
* rename a variable for clarity
2004-05-21 23:01:18 +00:00
Raymond Hettinger
ba6cd3647f
* Updated repr.py to handle set() and frozenset().
...
* Factored out common code to a single private function.
* Use str.join() instead of + concatenation
* Loop over elements directly instead of using indexing
* Use % operator for formatting
2004-05-21 10:00:15 +00:00
Raymond Hettinger
83ee79524a
Add a test to verify an early call to iter() on the outermost for
...
expression.
2004-05-20 23:04:13 +00:00