summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More int() around float arguments.Jack Jansen2003-02-121-1/+1
|
* Create applets slightly differently: by saving the sourcecode to aJack Jansen2003-02-121-1/+11
| | | | | temporary location. This is needed to makethings work with the new buildtools based on bundlebuilder.
* When in MacPython-OSX use bundlebuilder to create .app bundles.Jack Jansen2003-02-124-181/+53
|
* - Better way to find site-packagesJack Jansen2003-02-121-3/+43
| | | | | | | - Catch stderr as well as stdout - Fixed a bug with non-installable packages - Parse .pth files after installing, so you don't have to restart Python (or the IDE) after installing.
* Renamed InstallManager to PackageManager, finished a first stab at theJack Jansen2003-02-122-11/+43
| | | | implementation and integrated it into the IDE.
* In a MultiList select all cells in the row, not only the first one.Jack Jansen2003-02-121-4/+5
|
* Updated the Mac documentation to the current state of affairs.Jack Jansen2003-02-1212-384/+199
|
* Minor cleanup of new batch-list/dict code.Tim Peters2003-02-121-16/+12
|
* Implement another useful feature for proxies: in super(X, x), x mayGuido van Rossum2003-02-123-17/+125
| | | | now be a proxy for an X instance, as long as issubclass(x.__class__, X).
* Add missing cast in previous fix.Guido van Rossum2003-02-121-1/+2
|
* SF #532767: isinstance(x, X) should work when x is a proxy for an XGuido van Rossum2003-02-123-7/+53
| | | | | instance, as long as x.__class__ is X or a subclass thereof. Did a little cleanup of PyObject_IsInstance() too.
* An install manager window for the IDE and standalone use. Unfinished.Jack Jansen2003-02-111-0/+251
|
* Add more missing PyErr_NoMemory() after failled memory allocsNeal Norwitz2003-02-113-4/+4
|
* Implemented batching for dicts in cPickle. This is after two failedTim Peters2003-02-113-48/+138
| | | | | attempts to merge the C list-batch and dict-batch code -- they worked, but it was a godawful mess to read.
* Changed database format to make fields adhere to PEP 241 whereJack Jansen2003-02-111-116/+113
| | | | | | applicable, and use a similar naming scheme for other fields. This has drastically changed the structure, as the PEP241 names aren't identifiers.
* Add Str, a subclass of str.Guido van Rossum2003-02-111-0/+58
|
* Implemented list batching in cPickle.Tim Peters2003-02-113-47/+121
|
* Fix from SF #681367: inherit tp_as_buffer. This only applies to CGuido van Rossum2003-02-112-0/+6
| | | | types -- Python types already inherited this.
* Add compilation instructions for xxmodule.c.Guido van Rossum2003-02-111-0/+4
|
* Unparenting BZ2File, as discussed in SF patch #661796.Gustavo Niemeyer2003-02-112-104/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modules/bz2module.c (BZ2FileObject): Now the structure includes a pointer to a file object, instead of "inheriting" one. Also, some members were copied from the PyFileObject structure to avoid dealing with the internals of that structure from outside fileobject.c. (Util_GetLine,Util_DropReadAhead,Util_ReadAhead,Util_ReadAheadGetLineSkip, BZ2File_write,BZ2File_writelines,BZ2File_init,BZ2File_dealloc, BZ2Comp_dealloc,BZ2Decomp_dealloc): These functions were adapted to the change above. (BZ2File_seek,BZ2File_close): Use PyObject_CallMethod instead of getting the function attribute locally. (BZ2File_notsup): Removed, since it's not necessary anymore to overload truncate(), and readinto() with dummy functions. (BZ2File_methods): Added xreadlines() as an alias to BZ2File_getiter, and removed truncate() and readinto(). (BZ2File_get_newlines,BZ2File_get_closed,BZ2File_get_mode,BZ2File_get_name, BZ2File_getset): Implemented getters for "newlines", "mode", and "name". (BZ2File_members): Implemented "softspace" member. (BZ2File_init): Reworked to create a file instance instead of initializing itself as a file subclass. Also, pass "name" object untouched to the file constructor, and use PyObject_CallFunction instead of building the argument tuple locally. (BZ2File_Type): Set tp_new to PyType_GenericNew, tp_members to BZ2File_members, and tp_getset to BZ2File_getset. (initbz2): Do not set BZ2File_Type.tp_base nor BZ2File_Type.tp_new. * Doc/lib/libbz2.tex Do not mention that BZ2File inherits from the file type.
* 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
|