Martin v. Löwis
d5cfa5491a
Put method-wrappers into trashcan. Fixes #927248 .
2006-07-03 13:47:40 +00:00
Martin v. Löwis
ede77f5373
Patch #825417 : Fix timeout processing in expect,
...
read_until. Will backport to 2.4.
2006-07-03 13:01:35 +00:00
Martin v. Löwis
4548239e2b
Bug #1267547 : Put proper recursive setup.py call into the
...
spec file generated by bdist_rpm.
2006-07-03 12:28:58 +00:00
Martin v. Löwis
fcfff0a7fa
Bug #1417699 : Reject locale-specific decimal point in float()
...
and atof().
2006-07-03 12:19:50 +00:00
Martin v. Löwis
82c276ea33
Document functions added in 2.3 and 2.5.
2006-07-03 11:12:06 +00:00
Martin v. Löwis
2b88f63a3c
Bug #1514693 : Update turtle's heading when switching between
...
degrees and radians.
2006-07-03 10:19:49 +00:00
Martin v. Löwis
4c4300de4e
Reimplement turtle.circle using a polyline, to allow correct
...
filling of arcs. Also fixes #1514693 .
2006-07-03 10:05:30 +00:00
Martin v. Löwis
bd39c03c9f
Only setup canvas when it is first created.
...
Fixes #1514703
2006-07-03 09:44:00 +00:00
Tim Peters
16a3932774
Whitespace normalization.
2006-07-03 08:23:19 +00:00
Thomas Heller
f780be4239
Add a new function uses_seh() to the _ctypes extension module. This
...
will return True if Windows Structured Exception handling (SEH) is
used when calling functions, False otherwise.
Currently, only MSVC supports SEH.
Fix the test so that it doesn't crash when run with MingW compiled
_ctypes. Note that two tests are still failing when mingw is used, I
suspect structure layout differences and function calling conventions
between MSVC and MingW.
2006-07-03 08:08:14 +00:00
Thomas Heller
638f7addf3
Fixes so that _ctypes can be compiled with the MingW compiler.
...
It seems that the definition of '__attribute__(x)' was responsible for
the compiler ignoring the '__fastcall' attribute on the
ffi_closure_SYSV function in libffi_msvc/ffi.c, took me quite some
time to figure this out.
2006-07-03 08:04:05 +00:00
Thomas Heller
b3c0942356
Don't run the doctests with Python 2.3 because it doesn't have the ELLIPSIS flag.
2006-07-03 07:59:50 +00:00
Thomas Heller
dd854e917f
Cleanup: Remove commented out code.
2006-07-03 07:58:09 +00:00
Martin v. Löwis
ee1e06d497
Correct arithmetic in access on Win32. Fixes #1513646 .
2006-07-02 18:44:00 +00:00
Gerhard Häring
762fbd3485
The sqlite3 module did cut off data from the SQLite database at the first null
...
character before sending it to a custom converter. This has been fixed now.
2006-07-02 17:48:30 +00:00
Fred Drake
6ffe499397
SF bug #1296433 (Expat bug #1515266 ): Unchecked calls to character data
...
handler would cause a segfault. This merges in Expat's lib/xmlparse.c
revisions 1.154 and 1.155, which fix this and a closely related problem
(the later does not affect Python).
Moved the crasher test to the tests for xml.parsers.expat.
2006-07-01 16:28:20 +00:00
Martin v. Löwis
7596e8342e
Release all forwarded functions in .close. Fixes #1513223 .
2006-07-01 15:33:37 +00:00
Vinay Sajip
a09803329c
Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
2006-07-01 10:47:20 +00:00
Vinay Sajip
28e57618ad
Added entry for fileConfig() bugfix.
2006-07-01 10:45:20 +00:00
Fred Drake
6f42dfce7c
- consistency nit: always include "()" in \function and \method
...
(*should* be done by the presentation, but that requires changes all over)
- avoid spreading the __name meme
2006-06-30 19:29:25 +00:00
Georg Brandl
348b7c8304
Document decorator usage of property.
2006-06-30 18:47:56 +00:00
Tim Peters
08612926a1
Remove now-unused fidding with PY_FORMAT_SIZE_T.
2006-06-30 18:34:51 +00:00
Thomas Heller
730199275a
Revert the use of PY_FORMAT_SIZE_T in PyErr_Format.
2006-06-30 17:44:54 +00:00
Neal Norwitz
0f415dc57f
Another problem reported by Coverity. Backport candidate.
2006-06-30 07:32:46 +00:00
Neal Norwitz
3f2748e775
Silence compiler warning
2006-06-30 07:32:16 +00:00
Tim Peters
38ff36c4cc
Whitespace normalization.
2006-06-30 06:18:39 +00:00
Vinay Sajip
cea4bf092d
Fixed bug in fileConfig() which failed to clear logging._handlerList
2006-06-30 00:13:08 +00:00
Skip Montanaro
4ef256cab0
add string methods to index
2006-06-29 19:20:09 +00:00
Martin v. Löwis
1bf59597dd
Patch #1509163 : MS Toolkit Compiler no longer available
2006-06-29 18:58:44 +00:00
Thomas Heller
bde081329b
Protect the thread api calls in the _ctypes extension module within
...
#ifdef WITH_THREADS/#endif blocks. Found by Sam Rushing.
2006-06-29 18:34:15 +00:00
Neal Norwitz
877fdb01fe
This should fix the buildbot failure on s/390 which can't connect to gmail.org.
...
It makes the error message consistent and always sends to stderr.
It would be much better for all the networking tests to hit only python.org.
2006-06-29 05:48:14 +00:00
Neal Norwitz
b15ac3169d
Add new utility function, reap_children(), to test_support. This should
...
be called at the end of each test that spawns children (perhaps it
should be called from regrtest instead?). This will hopefully prevent
some of the unexplained failures in the buildbots (hppa and alpha)
during tests that spawn children. The problems were not reproducible.
There were many zombies that remained at the end of several tests.
In the worst case, this shouldn't cause any more problems,
though it may not help either. Time will tell.
2006-06-29 04:10:08 +00:00
Fred Drake
10497c83ec
document recent bugfixes in sgmllib
2006-06-29 02:57:48 +00:00
Fred Drake
a136210a9f
SF bug #1504333 : sgmlib should allow angle brackets in quoted values
...
(modified patch by Sam Ruby; changed to use separate REs for start and end
tags to reduce matching cost for end tags; extended tests; updated to avoid
breaking previous changes to support IPv6 addresses in unquoted attribute
values)
2006-06-29 00:51:53 +00:00
Trent Mick
960a3f88e5
Mention the expat upgrade and pyexpat fix I put in 2.5b1.
2006-06-28 20:30:41 +00:00
Georg Brandl
1be63af41d
Fix end_fill().
2006-06-28 20:23:25 +00:00
Andrew M. Kuchling
ecfec78b7b
[Bug #1508766 ] Add docs for uuid module; this puts the module in the 'Internet Protocols' section. Arguably this module could also have gone in the chapters on strings or encodings, maybe even the crypto chapter. Fred, please move if you see fit.
2006-06-28 14:27:21 +00:00
Andrew M. Kuchling
146d3924b0
[Bug #1508766 ] Add docs for uuid module; docs written by George Yoshida, with minor rearrangements by me.
2006-06-28 14:25:20 +00:00
Armin Rigo
d77ef8fa51
A couple of crashers of the "won't fix" kind.
2006-06-28 10:49:51 +00:00
Nick Coghlan
999a336ad7
Make full module name available as __module_name__ even when __name__ is set to something else (like '__main__')
2006-06-28 10:41:47 +00:00
Neal Norwitz
0f8b31a2da
Fix bug #1512695 : cPickle.loads could crash if it was interrupted with
...
a KeyboardInterrupt since PyTuple_Pack was passed a NULL.
Will backport.
2006-06-28 06:28:31 +00:00
Neal Norwitz
7983c7298d
According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAIN
...
can be returned if fcntl (lockf) fails. This fixes the test failure
on Tru64 by checking for either error rather than just EAGAIN.
2006-06-28 05:03:22 +00:00
Ronald Oussoren
0350f81abe
macosx: Install a libpython2.5.a inside the framework as a symlink to the actual
...
dylib at the root of the framework, that way tools that expect a unix-like
install (python-config, but more importantly external products like
mod_python) work correctly.
2006-06-27 15:45:32 +00:00
Ronald Oussoren
9b8b619491
Use staticly build copies of zlib and bzip2 to build the OSX installer, that
...
way the resulting binaries have a better change of running on 10.3.
This patch also updates the search logic for sleepycat db3/4, without this
patch you cannot use a sleepycat build with a non-standard prefix; with this
you can (at least on OSX) if you add the prefix to CPPFLAGS/LDFLAGS at
configure-time. This change is needed to build the binary installer for OSX.
2006-06-27 12:53:52 +00:00
Tim Peters
3249d00f4d
Whitespace normalization.
2006-06-27 11:52:49 +00:00
Ronald Oussoren
7b9053a274
MacOSX: fix rather dumb buglet that made it impossible to create extensions on
...
OSX 10.3 when using a binary distribution build on 10.4.
2006-06-27 10:08:25 +00:00
Vinay Sajip
6dd59f1632
Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller.
2006-06-27 07:34:37 +00:00
Neal Norwitz
c315a0fa40
Verify buildbot picks up these changes (really needs testing after last change to Makefile.pre.in)
2006-06-27 04:28:56 +00:00
Neal Norwitz
0a903ac301
Try again: test unimportant change to verify buildbot does not try to build
2006-06-27 04:26:30 +00:00
Neal Norwitz
1da7384e34
Test unimportant change to verify buildbot does not try to build
2006-06-27 04:23:06 +00:00