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
Georg Brandl
c98eeede17
Patch #1215184 : FileInput now can be given an opening hook which can
...
be used to control how files are opened.
2006-02-19 14:57:47 +00:00
Georg Brandl
c029f873cb
Patch #1212287 : fileinput.input() now has a mode parameter for
...
specifying the file mode input files should be opened with.
2006-02-19 14:12:34 +00:00
Georg Brandl
67e9fb9d7a
Patch #1215184 : fileinput now has a fileno() function for getting the
...
current file number.
2006-02-19 13:56:17 +00:00
Georg Brandl
602b9ba6b3
Patch #1349274 : gettext.install() now optionally installs additional
...
translation functions other than _() in the builtin namespace.
2006-02-19 13:26:36 +00:00
Georg Brandl
e466217ab9
Patch #1337756 : fileinput now accepts Unicode filenames.
2006-02-19 09:51:27 +00:00
Georg Brandl
e9b1949f70
Patch #1352711 : make zipimport raise a complete IOError
2006-02-19 09:38:58 +00:00
Tim Peters
2a8ec996ce
test_gopher(): Squash another deprecation
...
warning about gopherlib.
2006-02-19 05:09:00 +00:00
Tim Peters
313fcd41ab
PyEnumKey(): Stop including the trailing NUL byte
...
in the returned string (logic error introduced by
recent patch).
2006-02-19 04:05:39 +00:00
Tim Peters
d9ab979f36
PyEnumKey(): Remove unused local.
2006-02-19 03:34:15 +00:00
Georg Brandl
19e2203fff
Add a unit test for bug fix #1396678 .
2006-02-19 01:21:11 +00:00
Georg Brandl
26caeba35a
Bug #1396678 : a closed bsddb.DB raises AttributeError on repr().
...
It now returns "{}". Is that the correct solution?
2006-02-19 00:53:54 +00:00
Neal Norwitz
bb45973455
This fixes test _locale failing on macteagle (Mac OS 10.4 AFAIK).
...
Google for: eu_ES decimal point
shows that BSD locales had the eu_ES decimal point as
a single quote (') instead of a comma (,).
This was seems to have been fixed 15 months ago, but it's not on our
Mac and presumably others. So skip this broken locale.
2006-02-19 00:13:15 +00:00
Georg Brandl
1dc5a84aee
Bug #801349 : document that start/stop/step slice arguments can be None
2006-02-19 00:12:42 +00:00
Georg Brandl
b2699b242d
Add sizeof() instead of hardcoding variable length
2006-02-18 23:44:24 +00:00
Georg Brandl
9a928e787c
Patch #977553 : speed up RegEnumKey call
2006-02-18 23:35:11 +00:00
Neal Norwitz
093ab1aa03
Remove unused variable
2006-02-18 23:26:27 +00:00
Georg Brandl
1f63670a2a
Patch #1426648 : urllib proxy_bypass broken
2006-02-18 23:10:23 +00:00
Georg Brandl
4caeff9867
Patch #1415507 : clarify docs on reference stealing
2006-02-18 22:55:59 +00:00
Georg Brandl
f4f4415a18
Patch #1393157 : os.startfile() now has an optional argument to specify
...
a "command verb" to invoke on the file.
2006-02-18 22:29:33 +00:00
Georg Brandl
47fab92542
Bug #1366000 : cleanup BZ2File.seek() logic. Fixes the case of whence=2, offset>=0.
2006-02-18 21:57:25 +00:00
Neal Norwitz
d5b6715083
This should get test_timeout to pass when running on any python.org host. Will backport
2006-02-18 21:20:31 +00:00
Georg Brandl
7b4e7c24df
Patch #1373643 : The chunk module can now read chunks larger than
...
two gigabytes.
2006-02-18 21:10:56 +00:00
Martin v. Löwis
2d65b5542b
Fix intptr_t fallback for Py_ssize_t.
2006-02-18 18:26:55 +00:00
Martin v. Löwis
5bb8a15593
Fix typo.
2006-02-18 12:49:49 +00:00
Martin v. Löwis
151860752f
Fix size computation on Win64.
2006-02-18 12:38:35 +00:00
Tim Peters
e2c9a6cea7
Suppress new deprecation warnings when running the
...
test suite.
For urllib2, move the import of gopherlib into the
only function that uses it: users (including the
test suite) certainly shouldn't see a deprecation
warning just because they import urllib2! If they
actually use gopher_open(), fine, _then_ they should
see a deprecation warning.
2006-02-18 04:14:16 +00:00