summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use Py_ssize_t for counts and sizes.Martin v. Löwis2006-02-1612-66/+67
|
* Use Py_ssize_t for field sizes and offsets.Martin v. Löwis2006-02-161-3/+3
|
* Allow for ssize_t field offsets.Martin v. Löwis2006-02-161-1/+1
|
* Update comment and make accurate.Neal Norwitz2006-02-161-1/+1
|
* Oops, this is supposed to be disabled by default.Neal Norwitz2006-02-161-1/+1
|
* Use PyString_FromFormat for formatting error messages.Martin v. Löwis2006-02-161-42/+36
|
* Revert 42400.Martin v. Löwis2006-02-165-11/+11
|
* Support %zd in PyErr_Format and PyString_FromFormat.Martin v. Löwis2006-02-168-19/+35
|
* Get rid of compiler warnings (gcc 3.3.4 on x86)Neal Norwitz2006-02-165-11/+11
|
* doubletounicode(), longtounicode():Tim Peters2006-02-161-4/+8
| | | | | | | | Py_SAFE_DOWNCAST can evaluate its first argument multiple times in a debug build. This caused two distinct assert- failures in test_unicode run under a debug build. Rewrote the code in trivial ways so that multiple evaluation of the first argument doesn't hurt.
* getpythonregpath(): Squash compiler warning aboutTim Peters2006-02-161-2/+2
| | | | | | mixing signed and unsigned types in comparison. Relatedly, `dataSize` is declared as DWORD, not as int, so change relevant cast from (int) to (DWORD).
* Remove two unused Py_ssize_t variables (merge glitches, looks like.)Thomas Wouters2006-02-151-2/+0
|
* Avoid unused variables when SIZEOF_SIZE_T == SIZEOF_LONG. Also normalizeThomas Wouters2006-02-151-1/+3
| | | | whitespace.
* Added some more versionchanged markup.Vinay Sajip2006-02-151-0/+6
|
* Remove C99ism.Martin v. Löwis2006-02-151-1/+2
|
* Drop py:lastmerged.Martin v. Löwis2006-02-150-0/+0
|
* Merge ssize_t branch.Martin v. Löwis2006-02-15102-1677/+2659
|
* use correct function in exampleFred Drake2006-02-151-1/+1
|
* Find test failures consistentlyNeal Norwitz2006-02-151-2/+2
|
* randombits(): Stop compiler warning about mixingTim Peters2006-02-151-1/+1
| | | | signed with unsigned types in comparison.
* Add _lsprof.Martin v. Löwis2006-02-142-0/+8
|
* Add build support for AMD64.Martin v. Löwis2006-02-1421-21/+933
|
* New test code failed to close the file. This causedTim Peters2006-02-141-13/+12
| | | | | | | | | | test_file to fail on Windows in reality (can't delete a still-open file), but a new bare "except:" hid that test_file failed on Windows, and leaving behind the still-open TESTFN caused a cascade of bogus failures in later tests. So, close the file, and stop hiding failure to unlink.
* * Refcount leak. It was just a reference to Py_None, but still.Armin Rigo2006-02-141-3/+9
| | | | | | | * Allow the 3rd argument to generator.throw() to be None. The 'raise' statement does the same, and anyway it follows the general policy that optional arguments of built-ins should, when reasonable, have a default value specifiable from Python.
* Support 2.4 (released versions) better. (rsync was not working with adding ↵Neal Norwitz2006-02-141-2/+4
| | | | the *. Only some files/dirs were copied, not everything.)
* Doc some user visible changesNeal Norwitz2006-02-131-1/+4
|
* Try to improve name based on discussion on python-checkins with Jim JewettNeal Norwitz2006-02-131-5/+5
|
* SF patch #1397960: When mixing file-iteration andThomas Wouters2006-02-122-3/+150
| | | | | | | 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.
* Renamed _length_cue() to __length_hint__(). See:Armin Rigo2006-02-1114-32/+41
| | | | http://mail.python.org/pipermail/python-dev/2006-February/060524.html
* Whitespace normalization.Tim Peters2006-02-111-1/+1
|
* Even more copyright year locations!Georg Brandl2006-02-112-2/+2
|
* Patch #428494: Prefer linking against ncursesw over ncurses libraryMartin v. Löwis2006-02-112-1/+10
|
* Update general copyright years to 2006.Georg Brandl2006-02-117-7/+8
|
* Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE.Martin v. Löwis2006-02-113-0/+14
| | | | Proposed by Tim Peters.
* Explain the clearing of the stack in a comment in Python/ceval.c'sThomas Wouters2006-02-101-1/+2
| | | | | call_function(), rather than commenting on the lack of an explanation in a comment.
* One more mod for support of C++ classes.Jack Jansen2006-02-101-1/+1
|
* Avoid linking python with readline.Martin v. Löwis2006-02-102-1/+11
|
* For overriding C++ methods we also need to know whether a parameterJack Jansen2006-02-104-22/+45
| | | | is an output parameter or not. Added support for that.
* The default timer unit was incorrectly measured in milliseconds insteadArmin Rigo2006-02-101-3/+3
| | | | | of seconds, producing numbers 1000 times too large. It would be nice to write a test for this, but how... (thanks mwh)
* Added information on function name added to LogRecord, and the 'extra' ↵Vinay Sajip2006-02-091-13/+96
| | | | keyword parameter.
* Added function name to LogRecord.Vinay Sajip2006-02-091-5/+8
|
* Propagate exceptions from shutdown() if raiseExceptions is not set.Vinay Sajip2006-02-091-6/+14
| | | | Added 'extra' keyword argument handling to logging calls, as discussed on python-dev.
* Added lock acquisition/release around shared data structure manipulationVinay Sajip2006-02-091-19/+34
|
* Be a little less sensitive to failures. Only check for the result fromNeal Norwitz2006-02-091-1/+1
| | | | | | 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.
* Add doc discussing how AST compiler is structured and designed.Brett Cannon2006-02-091-0/+507
| | | | | 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.
* Port relevant patches for SF 1409455 to the trunk for email 3.0/Python 2.5.Barry Warsaw2006-02-085-8/+20
| | | | Will port to Python 2.4.
* Added the cProfile module.Armin Rigo2006-02-0814-109/+1701
| | | | | | | | | | | | | | | | | | | | | | | 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!
* Update projected release dateAndrew M. Kuchling2006-02-081-1/+2
|
* Fixed an oversight and a misunderstanding of PEP253:Jack Jansen2006-02-071-2/+20
| | | | | | | | | - 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
* Removed defensive test in Handler.closeVinay Sajip2006-02-071-4/+3
|