Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Py_ssize_t for counts and sizes. | Martin v. Löwis | 2006-02-16 | 12 | -66/+67 |
| | |||||
* | Use Py_ssize_t for field sizes and offsets. | Martin v. Löwis | 2006-02-16 | 1 | -3/+3 |
| | |||||
* | Allow for ssize_t field offsets. | Martin v. Löwis | 2006-02-16 | 1 | -1/+1 |
| | |||||
* | Update comment and make accurate. | Neal Norwitz | 2006-02-16 | 1 | -1/+1 |
| | |||||
* | Oops, this is supposed to be disabled by default. | Neal Norwitz | 2006-02-16 | 1 | -1/+1 |
| | |||||
* | Use PyString_FromFormat for formatting error messages. | Martin v. Löwis | 2006-02-16 | 1 | -42/+36 |
| | |||||
* | Revert 42400. | Martin v. Löwis | 2006-02-16 | 5 | -11/+11 |
| | |||||
* | Support %zd in PyErr_Format and PyString_FromFormat. | Martin v. Löwis | 2006-02-16 | 8 | -19/+35 |
| | |||||
* | Get rid of compiler warnings (gcc 3.3.4 on x86) | Neal Norwitz | 2006-02-16 | 5 | -11/+11 |
| | |||||
* | doubletounicode(), longtounicode(): | Tim Peters | 2006-02-16 | 1 | -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 about | Tim Peters | 2006-02-16 | 1 | -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 Wouters | 2006-02-15 | 1 | -2/+0 |
| | |||||
* | Avoid unused variables when SIZEOF_SIZE_T == SIZEOF_LONG. Also normalize | Thomas Wouters | 2006-02-15 | 1 | -1/+3 |
| | | | | whitespace. | ||||
* | Added some more versionchanged markup. | Vinay Sajip | 2006-02-15 | 1 | -0/+6 |
| | |||||
* | Remove C99ism. | Martin v. Löwis | 2006-02-15 | 1 | -1/+2 |
| | |||||
* | Drop py:lastmerged. | Martin v. Löwis | 2006-02-15 | 0 | -0/+0 |
| | |||||
* | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 102 | -1677/+2659 |
| | |||||
* | use correct function in example | Fred Drake | 2006-02-15 | 1 | -1/+1 |
| | |||||
* | Find test failures consistently | Neal Norwitz | 2006-02-15 | 1 | -2/+2 |
| | |||||
* | randombits(): Stop compiler warning about mixing | Tim Peters | 2006-02-15 | 1 | -1/+1 |
| | | | | signed with unsigned types in comparison. | ||||
* | Add _lsprof. | Martin v. Löwis | 2006-02-14 | 2 | -0/+8 |
| | |||||
* | Add build support for AMD64. | Martin v. Löwis | 2006-02-14 | 21 | -21/+933 |
| | |||||
* | New test code failed to close the file. This caused | Tim Peters | 2006-02-14 | 1 | -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 Rigo | 2006-02-14 | 1 | -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 Norwitz | 2006-02-14 | 1 | -2/+4 |
| | | | | the *. Only some files/dirs were copied, not everything.) | ||||
* | Doc some user visible changes | Neal Norwitz | 2006-02-13 | 1 | -1/+4 |
| | |||||
* | Try to improve name based on discussion on python-checkins with Jim Jewett | Neal Norwitz | 2006-02-13 | 1 | -5/+5 |
| | |||||
* | SF patch #1397960: When mixing file-iteration and | Thomas Wouters | 2006-02-12 | 2 | -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 Rigo | 2006-02-11 | 14 | -32/+41 |
| | | | | http://mail.python.org/pipermail/python-dev/2006-February/060524.html | ||||
* | Whitespace normalization. | Tim Peters | 2006-02-11 | 1 | -1/+1 |
| | |||||
* | Even more copyright year locations! | Georg Brandl | 2006-02-11 | 2 | -2/+2 |
| | |||||
* | Patch #428494: Prefer linking against ncursesw over ncurses library | Martin v. Löwis | 2006-02-11 | 2 | -1/+10 |
| | |||||
* | Update general copyright years to 2006. | Georg Brandl | 2006-02-11 | 7 | -7/+8 |
| | |||||
* | Introduce Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE. | Martin v. Löwis | 2006-02-11 | 3 | -0/+14 |
| | | | | Proposed by Tim Peters. | ||||
* | Explain the clearing of the stack in a comment in Python/ceval.c's | Thomas Wouters | 2006-02-10 | 1 | -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 Jansen | 2006-02-10 | 1 | -1/+1 |
| | |||||
* | Avoid linking python with readline. | Martin v. Löwis | 2006-02-10 | 2 | -1/+11 |
| | |||||
* | For overriding C++ methods we also need to know whether a parameter | Jack Jansen | 2006-02-10 | 4 | -22/+45 |
| | | | | is an output parameter or not. Added support for that. | ||||
* | The default timer unit was incorrectly measured in milliseconds instead | Armin Rigo | 2006-02-10 | 1 | -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 Sajip | 2006-02-09 | 1 | -13/+96 |
| | | | | keyword parameter. | ||||
* | Added function name to LogRecord. | Vinay Sajip | 2006-02-09 | 1 | -5/+8 |
| | |||||
* | Propagate exceptions from shutdown() if raiseExceptions is not set. | Vinay Sajip | 2006-02-09 | 1 | -6/+14 |
| | | | | Added 'extra' keyword argument handling to logging calls, as discussed on python-dev. | ||||
* | Added lock acquisition/release around shared data structure manipulation | Vinay Sajip | 2006-02-09 | 1 | -19/+34 |
| | |||||
* | Be a little less sensitive to failures. Only check for the result from | Neal Norwitz | 2006-02-09 | 1 | -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 Cannon | 2006-02-09 | 1 | -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 Warsaw | 2006-02-08 | 5 | -8/+20 |
| | | | | Will port to Python 2.4. | ||||
* | Added the cProfile module. | Armin Rigo | 2006-02-08 | 14 | -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 date | Andrew M. Kuchling | 2006-02-08 | 1 | -1/+2 |
| | |||||
* | Fixed an oversight and a misunderstanding of PEP253: | Jack Jansen | 2006-02-07 | 1 | -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.close | Vinay Sajip | 2006-02-07 | 1 | -4/+3 |
| |