summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Put proper tests in classmethod_get(). Remove the type argument toGuido van Rossum2003-02-112-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 safeGuido van Rossum2003-02-111-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 Peters2003-02-111-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 differentlyGuido van Rossum2003-02-111-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 actuallyTim Peters2003-02-111-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 areJack Jansen2003-02-111-3/+3
| | | | | expected. - Fixed resizing of multi-column lists, somewhat.
* Add basic arg sanity checking to wrap_descr_get(). This is calledGuido van Rossum2003-02-111-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 Norwitz2003-02-111-1/+1
|
* Fix so it compiles at least.Michael W. Hudson2003-02-111-1/+1
| | | | "make lib" takes a while, doesn't it?
* Add item pertaining toMichael W. Hudson2003-02-111-0/+9
| | | | [ 680429 ] __module__ broken for extension classes
* Get rid of the "bozo" __getstate__ that was inserted when __slots__Guido van Rossum2003-02-103-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 patchJason Tishler2003-02-101-1/+2
| | | | | The attached patch enables the _iconv_codec module to build cleanly under Cygwin.
* Patch #676837: Cygwin array module patchJason Tishler2003-02-101-1/+2
| | | | | The attached patch enables the array module to build cleanly under Cygwin again.
* [ 683376 ] Adding NotImplementedType to types.pyJust van Rossum2003-02-101-0/+1
|
* Make comments agree with code (I think).Michael W. Hudson2003-02-101-3/+4
|
* Sundry very picky changes.Michael W. Hudson2003-02-101-4/+5
|
* Remove erroneous period.Michael W. Hudson2003-02-101-1/+1
|
* Update advice about __module__ and __name__ and tp_name wrt. new types.Michael W. Hudson2003-02-101-14/+18
| | | | Add \refs to GC section that were XXXed out.
* A typo, and desist from inaccurately describing some things as lists.Michael W. Hudson2003-02-101-5/+5
|
* Add a few tests to test_count() to increase coverage inWalter Dörwald2003-02-101-0/+6
| | | | Object/unicodeobject.c::unicode_count().
* Fix copy&paste error: call title instead of countWalter Dörwald2003-02-101-1/+1
|
* Change filtertuple() to use tp_as_sequence->sq_itemWalter Dörwald2003-02-102-3/+7
| | | | | instead of PyTuple_GetItem, so an overwritten __getitem__ in a tuple subclass works. SF bug #665835.
* Punctuation fixes in docstrings.Jack Jansen2003-02-101-3/+3
|
* Fold long lines.Guido van Rossum2003-02-101-4/+7
|
* Added docstrings.Jack Jansen2003-02-101-6/+130
|
* Add Neil's suggestions for avoiding this warningAndrew M. Kuchling2003-02-101-2/+10
|
* Squashed compiler wng about signed/unsigned clash in comparison.Tim Peters2003-02-101-1/+1
|
* - Better exception when the database isn't found.Jack Jansen2003-02-101-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 wasJack Jansen2003-02-101-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 Jansen2003-02-101-11/+38
|
* Change filterstring() and filterunicode(): If theWalter Dörwald2003-02-102-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 thisJack Jansen2003-02-101-1/+17
| | | | (preInstall, at least).
* mention unicode file name support on OSXJust van Rossum2003-02-101-0/+4
|
* mention unicode support in compile, eval and execJust van Rossum2003-02-101-0/+3
|
* My previous checkin caused compile() to no longer accept buffers, as notedJust van Rossum2003-02-101-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 Rossum2003-02-105-9/+61
| | | | Incorporated nnorwitz's comment re. Py__USING_UNICODE.
* Fix memory leak of newstr when putenv() failsNeal Norwitz2003-02-101-0/+1
|
* Fix SF bug #683467, 'int' ability to generate longs not inheritedNeal Norwitz2003-02-103-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 Norwitz2003-02-102-0/+19
|
* Alphabetize some namesNeal Norwitz2003-02-101-2/+3
| | | | Add Grant Olson for patch provided to fix bug #678518
* Remove duplicate code introduced by fixing bug #678518Neal Norwitz2003-02-101-3/+0
|
* Fix two refcounting bugsWalter Dörwald2003-02-091-2/+4
|
* Strawman for a Package Install Manager for Python. It isn't CPAN yet, but atJack Jansen2003-02-091-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 bomJust van Rossum2003-02-092-2/+6
| | | | mark. Added unit test.
* Rename 'proto' keyword arg to 'protocol' . Greg Ward's suggestion.Guido van Rossum2003-02-091-17/+17
|
* Remove unused variable.Guido van Rossum2003-02-092-2/+1
|
* C Code:Raymond Hettinger2003-02-094-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 errorNeal Norwitz2003-02-091-1/+4
|
* Apply logistix's patch fromMichael W. Hudson2003-02-081-3/+43
| | | | [ 678518 ] Another parsermodule validation error
* The Python implementation of datetime was changed in ways that no longerTim Peters2003-02-081-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).