Guido van Rossum
1968ad32cd
- Patch 1433928:
...
- The copy module now "copies" function objects (as atomic objects).
- dict.__getitem__ now looks for a __missing__ hook before raising
KeyError.
- Added a new type, defaultdict, to the collections module.
This uses the new __missing__ hook behavior added to dict (see above).
2006-02-25 22:38:04 +00:00
Neal Norwitz
ab51f5f24d
Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment about not removing yet.
2006-02-25 15:43:10 +00:00
Brett Cannon
df95cb6ae3
Move the vimrc file to the newly created Vim/ directory.
2006-02-25 14:53:26 +00:00
Brett Cannon
a4fe18227d
Add a script that auto-generates a Vim syntax highlighting file for Python.
...
Just symlink or copy python.vim to ~/.vim/syntax/ . Also included is a sample
Python file with basic expressions to make sure they are highlighted.
Also add a Vim directory in Misc to hold all Vim configuration files.
2006-02-25 14:52:53 +00:00
Neal Norwitz
d074beb692
Implement change suggested by Jiwon Seo on python-dev.
...
['(' gen_for ')'] is redundant with test, so remove it.
2006-02-24 23:11:14 +00:00
Neal Norwitz
8786eb5e92
Fix a couple of warnings on Mac OS X.
2006-02-24 15:39:29 +00:00
Jack Jansen
39fd231701
On OSX, use --arch_only `arch` in stead of --arch_only ppc, so things will
...
build for the current CPU.
2006-02-23 15:12:19 +00:00
Jack Jansen
81ae235146
If the readline library is found try and determine whether it's the broken
...
MacOSX 10.4 readline, and don't build the readline module in that case.
2006-02-23 15:02:23 +00:00
Jack Jansen
de540e2288
Got rid of byte-order dependencies.
2006-02-23 14:54:30 +00:00
Georg Brandl
b518d8c7d7
Fix casing of function names.
2006-02-22 11:46:55 +00:00
Georg Brandl
418a1ef089
RFE #1436243 : make integers in [0..256] preallocated.
2006-02-22 11:30:06 +00:00
Neal Norwitz
df431657fd
Allow buildbot to pass extra test flags to regrtest (specifically -r) via the environment.
2006-02-22 07:24:06 +00:00
Neal Norwitz
e51fc53b6a
George Yoshida's fix.
2006-02-22 05:51:48 +00:00
Georg Brandl
6a29c323ba
Add test for classmethod ./. keyword args.
2006-02-21 22:17:46 +00:00
Georg Brandl
d02db4084e
Make staticmethod and classmethod complain about keyword args.
2006-02-21 22:13:44 +00:00
Georg Brandl
7d42d3cd59
fix typo
2006-02-21 20:41:29 +00:00
Georg Brandl
868e704e27
Document "multifile" as deprecated.
2006-02-21 19:23:49 +00:00
Tim Peters
d34350e47e
At Brian Wichmann's request, added words warning against
...
using the old Wichmann-Hill generator, Also pointed to
a newer version of his generator, and weakened the claim
about what jumpahead() does now.
Note sure I got the LaTeX entirely correct for \seeurl.
If it's broken, please fix it ;-)
Bugfix candidate! (These changes make just as much
sense for 2.4.)
2006-02-21 19:19:00 +00:00
Walter Dörwald
b075fcea3a
Fix table header.
2006-02-21 18:51:32 +00:00
Tim Peters
4d0bd0b32c
Trimmed trailing whitespace.
2006-02-21 18:48:34 +00:00
Georg Brandl
c2fb6c74c6
Fix typo in functional module
2006-02-21 17:49:57 +00:00
Tim Peters
42a3deb7b5
Suppress another deprecation warning in the tests.
2006-02-21 03:28:49 +00:00
Guido van Rossum
668a94a34f
NETLINK_TCPDIAG and NETLINK_NFLOG aren't defined on older Linux
...
systems; define these conditionally.
2006-02-21 01:07:27 +00:00
Georg Brandl
c255c7bef7
Bug #1086854 : Rename PyHeapType members adding ht_ prefix.
2006-02-20 22:27:28 +00:00
Tim Peters
32cbc96150
Whitespace normalization.
2006-02-20 21:42:18 +00:00
Georg Brandl
124a4e58c4
Bug #947571 : By default, urllib.urlopen() does not raise IOErrors
...
on server error codes. Make this clear.
2006-02-20 21:26:18 +00:00
Georg Brandl
a223d2cb29
Bug #1210377 : close bsddb cursor correctly after NotFoundError.
2006-02-20 20:29:52 +00:00
Neal Norwitz
9a27617239
Based on discussion with Martin and Thomas on python-checkins
...
add a Py_SAFE_DOWNCAST() to make the code correct.
2006-02-20 18:57:39 +00:00
Georg Brandl
e393bf6fe3
Patch #931938 : prevent setting sys.prefix to ""
2006-02-20 17:37:36 +00:00
Georg Brandl
69774c212a
Bug #1102649 : add a note to pickle docs that pickle files should be
...
opened in binary mode.
2006-02-20 13:12:02 +00:00
Georg Brandl
9b743f514c
Bug #1013800 : document PyFunction_* functions
2006-02-20 12:57:53 +00:00
Martin v. Löwis
de2cde614c
Detect Win64 builds.
2006-02-20 12:26:58 +00:00
Georg Brandl
71322121d7
Bug #1323369 : document possible values of sys.getwindowsversion()
...
platform field
2006-02-20 12:15:23 +00:00
Martin v. Löwis
e46af8c367
Let the SDK setup override distutils logic.
2006-02-20 12:15:15 +00:00
Georg Brandl
5771310a09
Bug #1101233 : fix test_fcntl on netbsd2 platform.
2006-02-20 10:32:02 +00:00
Georg Brandl
81299ad1d7
bug #872175 : add --with-fpectl to README
2006-02-20 10:24:06 +00:00
Georg Brandl
dbd8339a01
Bug #854823 : socketmodule now builds on Sun platforms even when
...
INET_ADDRSTRLEN is not defined.
2006-02-20 09:42:33 +00:00
Georg Brandl
8f7c54eaa5
Bug #1413790 : zipfile now sanitizes absolute archive names that are
...
not allowed by the specs.
2006-02-20 08:40:38 +00:00
Tim Peters
200a58058a
Whitespace normalization.
2006-02-19 21:26:07 +00:00
Tim Peters
4d7cad115d
Repair new test failures on Windows due to
...
implicit assumptions that there's no difference
between text and binary modes.
2006-02-19 21:22:10 +00:00
Thomas Wouters
6302a5a9b0
Fix typpo.
2006-02-19 20:08:18 +00:00
Neal Norwitz
20dd93f427
Fix compiler warning on amd64. We can't use zd here since this is
...
ultimately going to snprintf() not the python string formatter. Right?
2006-02-19 19:34:15 +00:00
Neal Norwitz
a361bd8dce
Fix compiler warning (int vs Py_ssize_t mismatch
2006-02-19 19:31:50 +00:00
Neal Norwitz
87f2875252
Minor tweaks
2006-02-19 19:18:18 +00:00
Neal Norwitz
0090a4c10d
Generators have been permanent for a while. This comment is no longer applicable.
2006-02-19 18:49:30 +00:00
Neal Norwitz
f415d5f830
Ignore the tests which report leaks sporadically.
...
This should cause few enough spurious warnings to send to python-checkins now.
If a test leaks that is not in the ignore list (LEAKY_TESTS), all tests
which leak will be reported. This includes those in the ignore list.
Hopefully that will prompt someone to fix the flakiness.
2006-02-19 18:48:19 +00:00
Hye-Shik Chang
d69e034571
Fix a build problem introduced by r42230.
2006-02-19 16:22:22 +00:00
Georg Brandl
e810fe2ca4
Remove two instances of trailing commas. Resolves patch #1209781 .
2006-02-19 15:28:47 +00:00
Marc-André Lemburg
fe4b34cc4b
Fix the encodings package codec search function to only search
...
inside its own package. Fixes problem reported in patch #1433198 .
Add codec search function for codec test codec.
2006-02-19 15:22:22 +00:00
Georg Brandl
c3e950cbf3
Clarify how hook_compressed determines how to open a file.
2006-02-19 15:20:29 +00:00