- 13 Feb, 2006 2 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 12 Feb, 2006 1 commit
-
-
Thomas Wouters authored
readline/readlines/read/readinto, loudly break by raising ValueError, rather than silently deliver data out of order or hitting EOF prematurely. Probably not a bugfix candidate, even though it affects no 'working' code.
-
- 11 Feb, 2006 6 commits
-
-
Tim Peters authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Georg Brandl authored
-
Martin v. Löwis authored
Proposed by Tim Peters.
- 10 Feb, 2006 5 commits
-
-
Thomas Wouters authored
call_function(), rather than commenting on the lack of an explanation in a comment.
-
Jack Jansen authored
-
Martin v. Löwis authored
-
Jack Jansen authored
is an output parameter or not. Added support for that.
-
Armin Rigo authored
of seconds, producing numbers 1000 times too large. It would be nice to write a test for this, but how... (thanks mwh)
-
- 09 Feb, 2006 6 commits
-
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
Added 'extra' keyword argument handling to logging calls, as discussed on python-dev.
-
Vinay Sajip authored
-
Neal Norwitz authored
regrtest.py. If we grep for just "fail", that finds bsddb deadlock messages, which presumably are just warnings. They don't cause a test failure.
-
Brett Cannon authored
It is out of date, though, thanks to lacking info on the arena API. It also should eventually be removed in favor of updating PEP 339.
-
- 08 Feb, 2006 3 commits
-
-
Barry Warsaw authored
Will port to Python 2.4.
-
Armin Rigo authored
Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently!
-
Andrew M. Kuchling authored
-
- 07 Feb, 2006 7 commits
-
-
Jack Jansen authored
- Call tp_dealloc on the static baseclass, not dynamic (which leads to infinite loops with more than one baseclass) - Call tp_new and tp_init on baseclasses (overridable) -This line, and those below, will be ignored-- M bgen/bgenObjectDefinition.py
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Neal Norwitz authored
-
Neal Norwitz authored
is larger than FD_SETSIZE. This can only be acheived with ulimit -n SOME_NUMBER_BIGGER_THAN_FD_SETSIZE which is typically only available to root. Since this wouldn't normally be run in a test (ie, run as root), it doesn't seem too worthwhile to add a normal test. The bug report has one version of a test. I've written another. Not sure what the best thing to do is. Do the check before calling internal_select() because we can't set an error in between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS. This seemed the clearest solution, ie handle before calling internal_select() rather than inside. Plus there is at least one place outside of internal_select() that needed to be handled. Will backport.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 05 Feb, 2006 5 commits
-
-
Martin v. Löwis authored
-
Neal Norwitz authored
Not sure why/how _handlers/_handlerList is out of sync. This could indicate a deeper problem. In test_logging, the only absolutely necessary change to get working was tcpserver.abort = 1. But we don't want to wait infinitely to join the threads, so give a 2.0 second timeout. There doesn't appear to be a need for a local abort variable in serve_until_stopped, so just use the instance member. Note the problem is only on HEAD, not in 2.4.
-
Neal Norwitz authored
on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 04 Feb, 2006 4 commits
-
-
Barry Warsaw authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
- 03 Feb, 2006 1 commit
-
-
Martin v. Löwis authored
-