Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't fail if the (sub)pkgname already exist. | Neal Norwitz | 2006-05-30 | 1 | -0/+3 |
| | |||||
* | Add a test case for exception pickling. args is never NULL. | Georg Brandl | 2006-05-30 | 2 | -11/+21 |
| | |||||
* | Restore exception pickle support. #1497319. | Georg Brandl | 2006-05-30 | 1 | -1/+11 |
| | |||||
* | dict_print(): So that Neal & I don't spend the rest of | Tim Peters | 2006-05-30 | 1 | -4/+5 |
| | | | | | | our lives taking turns rewriting code that works ;-), get rid of casting illusions by declaring a new variable with the obvious type. | ||||
* | dict_print(): Explicitly narrow the return value | Tim Peters | 2006-05-30 | 1 | -1/+1 |
| | | | | from a (possibly) wider variable. | ||||
* | No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and ↵ | Neal Norwitz | 2006-05-30 | 1 | -1/+1 |
| | | | | Py_ReprEntr returns an int | ||||
* | Use Py_SAFE_DOWNCAST for safety. Fix format strings. Remove 2 more stray | ↵ | Neal Norwitz | 2006-05-30 | 1 | -6/+6 |
| | | | | in comment | ||||
* | Remove stray | in comment | Neal Norwitz | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | Convert relevant dict internals to Py_ssize_t. | Tim Peters | 2006-05-30 | 2 | -48/+64 |
| | | | | | | I don't have a box with nearly enough RAM, or an OS, that could get close to tickling this, though (requires a dict w/ at least 2**31 entries). | ||||
* | Simplify further by using AddStringConstant | Neal Norwitz | 2006-05-30 | 1 | -4/+2 |
| | |||||
* | Set a binary svn:mime-type property on this UTF-8 encoded file. | Tim Peters | 2006-05-30 | 0 | -0/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-05-30 | 3 | -5/+5 |
| | |||||
* | deprecated_err(): Stop bizarre warning messages when the tests | Tim Peters | 2006-05-30 | 1 | -2/+6 |
| | | | | | | | | | | | are run in the order: test_genexps (or any other doctest-based test) test_struct test_doctest The `warnings` module needs an advertised way to save/restore its internal filter list. | ||||
* | Add a length check to aifc to ensure it doesn't write a bogus file | Bob Ippolito | 2006-05-30 | 1 | -0/+2 |
| | |||||
* | struct: modulo math plus warning on all endian-explicit formats for ↵ | Bob Ippolito | 2006-05-29 | 2 | -22/+199 |
| | | | | compatibility with older struct usage (ugly) | ||||
* | fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on | Fredrik Lundh | 2006-05-29 | 2 | -1/+12 |
| | | | | the current behaviour ;-) | ||||
* | Whoops. | Georg Brandl | 2006-05-29 | 1 | -2/+6 |
| | |||||
* | Convert more modules to METH_VARARGS. | Georg Brandl | 2006-05-29 | 8 | -113/+139 |
| | |||||
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 26 | -404/+186 |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
* | Add News entry for last commit. | Georg Brandl | 2006-05-29 | 1 | -0/+3 |
| | |||||
* | Patches #1497027 and #972322: try HTTP digest auth first, | Georg Brandl | 2006-05-29 | 3 | -9/+66 |
| | | | | and watch out for handler name collisions. | ||||
* | When adding a module like functools, it helps to let SVN know about the file. | Nick Coghlan | 2006-05-29 | 1 | -0/+26 |
| | |||||
* | Correct some value converting strangenesses. | Georg Brandl | 2006-05-29 | 4 | -7/+7 |
| | |||||
* | Silence a warning. | Armin Rigo | 2006-05-29 | 1 | -1/+1 |
| | |||||
* | simplify the struct code a bit (no functional changes) | Bob Ippolito | 2006-05-29 | 1 | -23/+31 |
| | |||||
* | Fix #1494787 (pyclbr counts whitespace as superclass name) | Georg Brandl | 2006-05-29 | 1 | -2/+4 |
| | |||||
* | Fix compiler warning. | Georg Brandl | 2006-05-29 | 1 | -1/+1 |
| | |||||
* | Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671. | Georg Brandl | 2006-05-29 | 1 | -0/+7 |
| | |||||
* | Fix #1494605. | Georg Brandl | 2006-05-29 | 1 | -1/+2 |
| | |||||
* | Convert fmmodule to METH_VARARGS. | Georg Brandl | 2006-05-29 | 1 | -11/+11 |
| | |||||
* | Apply modified version of Collin Winter's patch #1478788 | Nick Coghlan | 2006-05-29 | 10 | -26/+32 |
| | | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily. | ||||
* | Fix refleak in socketmodule. Replace bogus Py_BuildValue calls. | Georg Brandl | 2006-05-29 | 2 | -3/+6 |
| | | | | Fix refleak in exceptions. | ||||
* | METH_NOARGS functions do get called with two args. | Georg Brandl | 2006-05-28 | 1 | -5/+5 |
| | |||||
* | Convert audioop over to METH_VARARGS. | Georg Brandl | 2006-05-28 | 1 | -60/+66 |
| | |||||
* | Fix C function calling conventions in _sre module. | Georg Brandl | 2006-05-28 | 1 | -38/+18 |
| | |||||
* | A clearer error message when passing -R to regrtest.py with | Armin Rigo | 2006-05-28 | 1 | -0/+3 |
| | | | | release builds of Python. | ||||
* | Correct None refcount issue in Mac modules. (Are they | Georg Brandl | 2006-05-28 | 5 | -5/+5 |
| | | | | still used?) | ||||
* | Fix ref-antileak in _struct.c which eventually lead to deallocating None. | Georg Brandl | 2006-05-28 | 1 | -1/+1 |
| | |||||
* | Make last patch valid C89 so Windows compilers can deal with it. | Thomas Wouters | 2006-05-28 | 1 | -1/+2 |
| | |||||
* | use the UnicodeError traversal and clearing functions in UnicodeError | Michael W. Hudson | 2006-05-28 | 1 | -4/+4 |
| | | | | subclasses. | ||||
* | Fix refleaks in UnicodeError get and set methods. | Georg Brandl | 2006-05-28 | 1 | -45/+56 |
| | |||||
* | Patch #1496206: urllib2 PasswordMgr ./. default ports | Georg Brandl | 2006-05-28 | 3 | -18/+82 |
| | |||||
* | The empty string is a valid import path. | Georg Brandl | 2006-05-28 | 1 | -2/+4 |
| | | | | (fixes #1496539) | ||||
* | ("Forward-port" of r46506) | Armin Rigo | 2006-05-28 | 8 | -16/+24 |
| | | | | | | | | | | | | | | Remove various dependencies on dictionary order in the standard library tests, and one (clearly an oversight, potentially critical) in the standard library itself - base64.py. Remaining open issues: * test_extcall is an output test, messy to make robust * tarfile.py has a potential bug here, but I'm not familiar enough with this code. Filed in as SF bug #1496501. * urllib2.HTTPPasswordMgr() returns a random result if there is more than one matching root path. I'm asking python-dev for clarification... | ||||
* | Initial version of systimes - a module to provide platform dependent | Marc-André Lemburg | 2006-05-28 | 1 | -0/+197 |
| | | | | | | | | | | performance measurements. The module is currently just a proof-of-concept implementation, but will integrated into pybench once it is stable enough. License: pybench license. Author: Marc-Andre Lemburg. | ||||
* | Quality control, meet exceptions.c, round two. | Michael W. Hudson | 2006-05-28 | 1 | -222/+165 |
| | | | | | | | | | | | | | | | | Make some functions that should have been static static. Fix a bunch of refleaks by fixing the definition of MiddlingExtendsException. Remove all the __new__ implementations apart from BaseException_new. Rewrite most code that needs it to cope with NULL fields (such code could get excercised anyway, the __new__-removal just makes it more likely). This involved editing the code for WindowsError, which I can't test. This fixes all the refleaks in at least the start of a regrtest -R :: run. | ||||
* | Rest of patch #1490384: Commit icon source, remove | Martin v. Löwis | 2006-05-28 | 3 | -4/+609 |
| | | | | | claim that Erik von Blokland is the author of the installer picture. | ||||
* | Patch #1080727: add "encoding" parameter to doctest.DocFileSuite | George Yoshida | 2006-05-28 | 5 | -10/+99 |
| | | | | Contributed by Bjorn Tillenius. | ||||
* | Quality control, meet exceptions.c. | Michael W. Hudson | 2006-05-28 | 1 | -128/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a number of problems with the need for speed code: One is doing this sort of thing: Py_DECREF(self->field); self->field = newval; Py_INCREF(self->field); without being very sure that self->field doesn't start with a value that has a __del__, because that almost certainly can lead to segfaults. As self->args is constrained to be an exact tuple we may as well exploit this fact consistently. This leads to quite a lot of simplification (and, hey, probably better performance). Add some error checking in places lacking it. Fix some rather strange indentation in the Unicode code. Delete some trailing whitespace. More to come, I haven't fixed all the reference leaks yet... | ||||
* | needforspeed: added Py_MEMCPY macro (currently tuned for Visual C only), | Fredrik Lundh | 2006-05-28 | 3 | -46/+60 |
| | | | | | and use it for string copy operations. this gives a 20% speedup on some string benchmarks. |