- 13 Feb, 2003 1 commit
-
-
Neal Norwitz authored
-
- 12 Feb, 2003 27 commits
-
-
Walter Dörwald authored
-
Neal Norwitz authored
-
Guido van Rossum authored
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.)
-
Neal Norwitz authored
Add missing INCREFs and re-indent returns to be consistent. Add \n\ for lines in docstring Add a pathetic test Add docs
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
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).
-
Guido van Rossum authored
Volunteers wanted to fix it!)
-
Guido van Rossum authored
-
Guido van Rossum authored
"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!
-
Guido van Rossum authored
"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!
-
Jack Jansen authored
- Fixed a bug for packages without MD5 checksum.
-
Jack Jansen authored
-
Just van Rossum authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
temporary location. This is needed to makethings work with the new buildtools based on bundlebuilder.
-
Jack Jansen authored
-
Jack Jansen authored
- 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.
-
Jack Jansen authored
implementation and integrated it into the IDE.
-
Jack Jansen authored
-
Jack Jansen authored
-
Tim Peters authored
-
Guido van Rossum authored
now be a proxy for an X instance, as long as issubclass(x.__class__, X).
-
Guido van Rossum authored
-
Guido van Rossum authored
instance, as long as x.__class__ is X or a subclass thereof. Did a little cleanup of PyObject_IsInstance() too.
-
- 11 Feb, 2003 12 commits
-
-
Jack Jansen authored
-
Neal Norwitz authored
-
Tim Peters authored
attempts to merge the C list-batch and dict-batch code -- they worked, but it was a godawful mess to read.
-
Jack Jansen authored
applicable, and use a similar naming scheme for other fields. This has drastically changed the structure, as the PEP241 names aren't identifiers.
-
Guido van Rossum authored
-
Tim Peters authored
-
Guido van Rossum authored
types -- Python types already inherited this.
-
Guido van Rossum authored
-
Gustavo Niemeyer authored
* 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.
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
in the light of weird args, and (c) not to expect None (which is now changed to NULL by slot_tp_descr_get()).
-
Tim Peters authored
select_select() didn't set an exception in the SELECT_USES_HEAP case when malloc() returned NULL.
-