- 12 Sep, 2001 7 commits
-
-
Tim Peters authored
Inhibited complex unary plus optimization when applied to a complex subtype. Added PyComplex_CheckExact macro. Some comments and minor code fiddling.
-
Guido van Rossum authored
its normally chatty nature. (This completes a side project to make "make -s" truly silent unless errors occur.)
-
Tim Peters authored
with the same value instead. This ensures that a string (or string subclass) object's ob_sinterned pointer is always a str (or NULL), and that the dict of interned strings only has strs as keys.
-
Tim Peters authored
+ These were leaving the hash fields at 0, which all string and unicode routines believe is a legitimate hash code. As a result, hash() applied to str and unicode subclass instances always returned 0, which in turn confused dict operations, etc. + Changed local names "new"; no point to antagonizing C++ compilers.
-
Tim Peters authored
-
Tim Peters authored
subclasses, all "the usual" ones (slicing etc), plus replace, translate, ljust, rjust, center and strip. I don't know how to be sure they've all been caught. Question: Should we complain if someone tries to intern an instance of a string subclass? I hate to slow any code on those paths.
-
Fred Drake authored
-
- 11 Sep, 2001 33 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
optimization (+F(whatever)).
-
Tim Peters authored
I(0) << whatever, I(0) >> whatever, I(whatever) << 0 and I(whatever) >> 0 optimizations.
-
Jack Jansen authored
Added a few new toolbox modules. Noted machine dependencies for some modules. Moved waste to undoc.tex.
-
Jack Jansen authored
Moved icopen to its alphabetical place. Moved waste here (from toolbox).
-
Jack Jansen authored
OSX MachO Python).
-
Fred Drake authored
-
Fred Drake authored
child processes is to use the Popen3 and Popen4 classes. This fixes SF bug #460512.
-
Tim Peters authored
Disable t[:], t*0, t*1 optimizations when t is of a tuple subclass type.
-
Jack Jansen authored
-
Fred Drake authored
-
Fred Drake authored
contributed by Gerhard Häring. This is part of SF patch #460112.
-
Fred Drake authored
This is part of SF patch #460112.
-
Guido van Rossum authored
-
Fred Drake authored
cgi.FieldStorage class. This closes SF patch #453691.
-
Guido van Rossum authored
calls to PyXXX_CheckExact(X).
-
Guido van Rossum authored
#460112 by Gerhard Haering. (With slight layout changes to conform to docstrings guidelines and to prevent a line longer than 78 characters. Also fixed some docstrings that Gerhard didn't touch.)
-
Guido van Rossum authored
-
Guido van Rossum authored
#460112).
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Fred Drake authored
This closes SF patch #459441.
-
Jack Jansen authored
Older make's can apparently choke on this.
-
Guido van Rossum authored
time use .replace() to change all \r\n into \n, not just the last one.
-
Guido van Rossum authored
XXX'ed out. Turns out that after fixing the constructors, the comparisons in fact succeed. E.g. int(hexint(12345)) returns an int with value 12345.
-
Jack Jansen authored
that will detect an __main__.py or __rawmain__.py in the application bundle. This file is then exectued as the main script. We now have applets in MachO Python!!! The difference between __main__ and __rawmain__ is that the former gets a complete simulated argv (so you can drop files on the applet and the script sees them in sys.argv) while the latter skips the argv simulation and the <option>key dialog. This keeps the AppleEvent that started the app intact, as well as the funny "-psn_xxxx" argv[1] argument, so the script can do with these what it wants.
-
Jack Jansen authored
- Allow any file to be dropped on the interpreter (for file args).
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-