summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #682432, add lookbehind testsNeal Norwitz2003-02-131-0/+7
|
* Ummm, try to get it right this timeNeal Norwitz2003-02-131-1/+1
|
* Use configure to check for inet_aton.Neal Norwitz2003-02-134-4/+8
|
* Fix typo.Walter Dörwald2003-02-121-1/+1
|
* Add test to ensure files (fds) don't leakNeal Norwitz2003-02-121-0/+6
|
* Addressing SF bug #643005, implement socket.inet_aton() usingGuido van Rossum2003-02-121-1/+17
| | | | | | | | | inet_aton() rather than inet_addr() -- the latter is obsolete because it has a problem: "255.255.255.255" is a valid address but indistinguishable from an error. (I'm not sure if inet_aton() exists everywhere -- in case it doesn't, I've left the old code in with an #ifdef.)
* Cleanup from patch #683257:Neal Norwitz2003-02-123-4/+46
| | | | | | | Add missing INCREFs and re-indent returns to be consistent. Add \n\ for lines in docstring Add a pathetic test Add docs
* Provide access to the import lock, fixing SF bug #580952. This isGuido van Rossum2003-02-122-7/+59
| | | | | | | | mostly from SF patch #683257, but I had to change unlock_import() to return an error value to avoid fatal error. Should this be backported? The patch requested this, but it's a new feature.
* Issue a warning when int('0...', 0) returns an int with the signGuido van Rossum2003-02-122-3/+20
| | | | | | | | folded; this will change in Python 2.4. On a 32-bit machine, this happens for 0x80000000 through 0xffffffff, and for octal constants in the same value range. No warning is issued if an explicit base is given, *or* if the string contains a sign (since in those cases no sign folding ever happens).
* Expect test_ossaudiodev to skip on Linux, too. (It's broken.Guido van Rossum2003-02-121-0/+1
| | | | Volunteers wanted to fix it!)
* Systematic testing of hex/oct constants.Guido van Rossum2003-02-121-0/+81
|
* SF #660455 : patch by NNorwitz.Guido van Rossum2003-02-121-0/+12
| | | | | | | | | | "Unsigned" (i.e., positive-looking, but really negative) hex/oct constants with a leading minus sign are once again properly negated. The micro-optimization for negated numeric constants did the wrong thing for such hex/oct constants. The patch avoids the optimization for all hex/oct constants. This needs to be backported to Python 2.2!
* SF #660455 : patch by NNorwitz.Guido van Rossum2003-02-123-8/+14
| | | | | | | | | | "Unsigned" (i.e., positive-looking, but really negative) hex/oct constants with a leading minus sign are once again properly negated. The micro-optimization for negated numeric constants did the wrong thing for such hex/oct constants. The patch avoids the optimization for all hex/oct constants. This needs to be backported to Python 2.2!
* - Use distutils to find site-python (suggested by Thomas Heller, thanks!)Jack Jansen2003-02-121-7/+3
| | | | - Fixed a bug for packages without MD5 checksum.
* Icons for the package manager.Jack Jansen2003-02-121-0/+0
|
* Thank you sir, can I have another.Just van Rossum2003-02-121-3/+3
|
* Photoshop source file for package manager icon.Jack Jansen2003-02-121-0/+0
|
* Use bundlebuilder directly to build applets.Jack Jansen2003-02-121-7/+34
|
* Allow this to run both standalone and as a window in the IDE.Jack Jansen2003-02-121-1/+35
|
* 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. :-)