Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put proper tests in classmethod_get(). Remove the type argument to | Guido van Rossum | 2003-02-11 | 2 | -16/+87 |
| | | | | | | descr_check(); it wasn't useful. Change the type argument of the various _get() methods to PyObject * because the call signature of tp_descr_get doesn't guarantee its type. | ||||
* | Refactor instancemethod_descr_get() to (a) be more clear, (b) be safe | Guido van Rossum | 2003-02-11 | 1 | -8/+18 |
| | | | | | in the light of weird args, and (c) not to expect None (which is now changed to NULL by slot_tp_descr_get()). | ||||
* | SF bug 684667: Modules/selectmodule.c returns NULL without exception set. | Tim Peters | 2003-02-11 | 1 | -1/+1 |
| | | | | | select_select() didn't set an exception in the SELECT_USES_HEAP case when malloc() returned NULL. | ||||
* | Inline create_specialmethod() -- since METH_CLASS is done differently | Guido van Rossum | 2003-02-11 | 1 | -15/+5 |
| | | | | | now, it was only called once, and its existence merely obfuscates the control flow. | ||||
* | Added tests to ensure that list and dict "chunking" are actually | Tim Peters | 2003-02-11 | 1 | -1/+51 |
| | | | | | | getting done. Since this isn't yet implemented in cPickle, the new tests are in TempAbstractPickleTests (which cPickle doesn't run). | ||||
* | - More int() calls around floating point numbers passed where integers are | Jack Jansen | 2003-02-11 | 1 | -3/+3 |
| | | | | | expected. - Fixed resizing of multi-column lists, somewhat. | ||||
* | Add basic arg sanity checking to wrap_descr_get(). This is called | Guido van Rossum | 2003-02-11 | 1 | -0/+9 |
| | | | | | | | when Python code calls a descriptor's __get__ method. It should translate None to NULL in both argument positions, and insist that at least one of the argument positions is not NULL after this transformation. | ||||
* | Remove duplicate word (rules) | Neal Norwitz | 2003-02-11 | 1 | -1/+1 |
| | |||||
* | Fix so it compiles at least. | Michael W. Hudson | 2003-02-11 | 1 | -1/+1 |
| | | | | "make lib" takes a while, doesn't it? | ||||
* | Add item pertaining to | Michael W. Hudson | 2003-02-11 | 1 | -0/+9 |
| | | | | [ 680429 ] __module__ broken for extension classes | ||||
* | Get rid of the "bozo" __getstate__ that was inserted when __slots__ | Guido van Rossum | 2003-02-10 | 3 | -60/+22 |
| | | | | | | was used. This simplifies some logic in copy_reg.py (used by pickling). It also broke a test, but this was rewritten to test the new feature. :-) | ||||
* | Patch #676839: Cygwin _iconv_codec module patch | Jason Tishler | 2003-02-10 | 1 | -1/+2 |
| | | | | | The attached patch enables the _iconv_codec module to build cleanly under Cygwin. | ||||
* | Patch #676837: Cygwin array module patch | Jason Tishler | 2003-02-10 | 1 | -1/+2 |
| | | | | | The attached patch enables the array module to build cleanly under Cygwin again. | ||||
* | [ 683376 ] Adding NotImplementedType to types.py | Just van Rossum | 2003-02-10 | 1 | -0/+1 |
| | |||||
* | Make comments agree with code (I think). | Michael W. Hudson | 2003-02-10 | 1 | -3/+4 |
| | |||||
* | Sundry very picky changes. | Michael W. Hudson | 2003-02-10 | 1 | -4/+5 |
| | |||||
* | Remove erroneous period. | Michael W. Hudson | 2003-02-10 | 1 | -1/+1 |
| | |||||
* | Update advice about __module__ and __name__ and tp_name wrt. new types. | Michael W. Hudson | 2003-02-10 | 1 | -14/+18 |
| | | | | Add \refs to GC section that were XXXed out. | ||||
* | A typo, and desist from inaccurately describing some things as lists. | Michael W. Hudson | 2003-02-10 | 1 | -5/+5 |
| | |||||
* | Add a few tests to test_count() to increase coverage in | Walter Dörwald | 2003-02-10 | 1 | -0/+6 |
| | | | | Object/unicodeobject.c::unicode_count(). | ||||
* | Fix copy&paste error: call title instead of count | Walter Dörwald | 2003-02-10 | 1 | -1/+1 |
| | |||||
* | Change filtertuple() to use tp_as_sequence->sq_item | Walter Dörwald | 2003-02-10 | 2 | -3/+7 |
| | | | | | instead of PyTuple_GetItem, so an overwritten __getitem__ in a tuple subclass works. SF bug #665835. | ||||
* | Punctuation fixes in docstrings. | Jack Jansen | 2003-02-10 | 1 | -3/+3 |
| | |||||
* | Fold long lines. | Guido van Rossum | 2003-02-10 | 1 | -4/+7 |
| | |||||
* | Added docstrings. | Jack Jansen | 2003-02-10 | 1 | -6/+130 |
| | |||||
* | Add Neil's suggestions for avoiding this warning | Andrew M. Kuchling | 2003-02-10 | 1 | -2/+10 |
| | |||||
* | Squashed compiler wng about signed/unsigned clash in comparison. | Tim Peters | 2003-02-10 | 1 | -1/+1 |
| | |||||
* | - Better exception when the database isn't found. | Jack Jansen | 2003-02-10 | 1 | -1/+3 |
| | | | | | - Allow for "manual:" pseudo-scheme in downloadURL to signal that the download should be done manually. | ||||
* | Pick up Makefile variable BASECFLAGS too. This is needed since OPT was | Jack Jansen | 2003-02-10 | 1 | -2/+4 |
| | | | | | split into OPT and BASECFLAGS (Makefile.pre.in rev. 1.108), because now there are essential CFLAGS in BASECFLAGS. | ||||
* | Use MD5 checksums to check archive integrity and forestall downloads. | Jack Jansen | 2003-02-10 | 1 | -11/+38 |
| | |||||
* | Change filterstring() and filterunicode(): If the | Walter Dörwald | 2003-02-10 | 2 | -56/+75 |
| | | | | | | | | | | | | object is not a real str or unicode but an instance of a subclass, construct the output via looping over __getitem__. This guarantees that the result is the same for function==None and function==lambda x:x This doesn't happen for tuples, because filtertuple() uses PyTuple_GetItem(). (This was discussed on SF bug #665835). | ||||
* | Added preInstall and postInstall commands to packages. PIL needs this | Jack Jansen | 2003-02-10 | 1 | -1/+17 |
| | | | | (preInstall, at least). | ||||
* | mention unicode file name support on OSX | Just van Rossum | 2003-02-10 | 1 | -0/+4 |
| | |||||
* | mention unicode support in compile, eval and exec | Just van Rossum | 2003-02-10 | 1 | -0/+3 |
| | |||||
* | My previous checkin caused compile() to no longer accept buffers, as noted | Just van Rossum | 2003-02-10 | 1 | -5/+7 |
| | | | | | my MAL. Fixed. (Btw. eval() still doesn't take buffers, but that was so even before my patch.) | ||||
* | patch #683515: "Add unicode support to compile(), eval() and exec" | Just van Rossum | 2003-02-10 | 5 | -9/+61 |
| | | | | Incorporated nnorwitz's comment re. Py__USING_UNICODE. | ||||
* | Fix memory leak of newstr when putenv() fails | Neal Norwitz | 2003-02-10 | 1 | -0/+1 |
| | |||||
* | Fix SF bug #683467, 'int' ability to generate longs not inherited | Neal Norwitz | 2003-02-10 | 3 | -2/+27 |
| | | | | | | When subclassing from an int but not overriding __new__, long values were not converted properly. Try to convert longs into an int. | ||||
* | Add tests and news entry about parser errors from bug #678518. | Neal Norwitz | 2003-02-10 | 2 | -0/+19 |
| | |||||
* | Alphabetize some names | Neal Norwitz | 2003-02-10 | 1 | -2/+3 |
| | | | | Add Grant Olson for patch provided to fix bug #678518 | ||||
* | Remove duplicate code introduced by fixing bug #678518 | Neal Norwitz | 2003-02-10 | 1 | -3/+0 |
| | |||||
* | Fix two refcounting bugs | Walter Dörwald | 2003-02-09 | 1 | -2/+4 |
| | |||||
* | Strawman for a Package Install Manager for Python. It isn't CPAN yet, but at | Jack Jansen | 2003-02-09 | 1 | -0/+499 |
| | | | | | less than 500 lines it already manages to test whether Numeric is installed, and can install it if it isn't, including any prerequisites. | ||||
* | patch 680474 that fixes bug 679880: compile/eval/exec refused utf-8 bom | Just van Rossum | 2003-02-09 | 2 | -2/+6 |
| | | | | mark. Added unit test. | ||||
* | Rename 'proto' keyword arg to 'protocol' . Greg Ward's suggestion. | Guido van Rossum | 2003-02-09 | 1 | -17/+17 |
| | |||||
* | Remove unused variable. | Guido van Rossum | 2003-02-09 | 2 | -2/+1 |
| | |||||
* | C Code: | Raymond Hettinger | 2003-02-09 | 4 | -199/+360 |
| | | | | | | | | | | | | | | | * Removed the ifilter flag wart by splitting it into two simpler functions. * Fixed comment tabbing in C code. * Factored module start-up code into a loop. Documentation: * Re-wrote introduction. * Addede examples for quantifiers. * Simplified python equivalent for islice(). * Documented split of ifilter(). Sets.py: * Replace old ifilter() usage with new. | ||||
* | SF patch #683187, fix universal newline problems on error | Neal Norwitz | 2003-02-09 | 1 | -1/+4 |
| | |||||
* | Apply logistix's patch from | Michael W. Hudson | 2003-02-08 | 1 | -3/+43 |
| | | | | [ 678518 ] Another parsermodule validation error | ||||
* | The Python implementation of datetime was changed in ways that no longer | Tim Peters | 2003-02-08 | 1 | -31/+10 |
| | | | | | | | tickle the 2.2.2 __cmp__ bug test_datetime used to tickle, so the workarounds for that bug no longer make sense in the test suite (which I'm still trying to keep as closely in synch as possible with Zope3's version). |