- 22 Nis, 2003 4 kayıt (commit)
-
-
Alex Martelli yazdı
-
Raymond Hettinger yazdı
* Can now test for basic blocks. * Optimize inverted comparisions. * Optimize unary_not followed by a conditional jump. * Added a new opcode, NOP, to keep code size constant. * Applied NOP to previous transformations where appropriate. Note, the NOP would not be necessary if other functions were added to re-target jump addresses and update the co_lnotab mapping. That would yield slightly faster and cleaner bytecode at the expense of optimizer simplicity and of keeping it decoupled from the line-numbering structure.
-
Andrew MacIntyre yazdı
-
Neal Norwitz yazdı
* UINT_MAX -> ULONG_MAX since we are dealing with longs * ParseTuple needs &int for 'i' and &long for 'l' There may be a better way to do this, but this works.
-
- 21 Nis, 2003 9 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Remove "." in coverage output for lines with comments. Silence complaints in coverage output about unexecuted docstrings. Eliminate use of inspect module in favor of direct access to frame and code objects. We're in a trace function here: Efficiency counts! Remove unused code. Reflow long lines. Remove backwards compatibility for stored trace output from Zooko's experiment to add calledfuncs to the pickled dict. Move code to generate per-file coverage stats to a separate routine. Replace use of parser module with call to compile.
-
Jeremy Hylton yazdı
-
Andrew MacIntyre yazdı
- restructure build for modules now in Python DLL README.os2emx - clean out old cruft no longer appropriate now that EMX port builds from CVS - reflect move of modules into core DLL - add section on building from source
-
Andrew MacIntyre yazdı
- add _csv module to the build list - various cleanups config.c: - various cleanups pyconfig.h: - various cleanups
-
Andrew MacIntyre yazdı
popen[234]() code
-
Andrew MacIntyre yazdı
string does what is expected (ie unset [BEGIN|END]LIBPATH) - set the size of the DosQuerySysInfo buffer correctly; it was safe, but incorrect (allowing a 1 element overrun)
-
Greg Ward yazdı
test/test_optik.py (rev 1.19) from the Optik CVS.
-
Greg Ward yazdı
* Fixed some long-hidden bugs revealed by the new PyUnit-based test suite (thanks to Johannes Gijsbers the new test suite, improved tests that caught the bugs, and the bug fixes). * Make store_true/store_false store True/False rather than 1/0. Details available in Optik's CVS repository.
-
- 20 Nis, 2003 5 kayıt (commit)
-
-
Gustavo Niemeyer yazdı
I've applied a modified version of Greg Chapman's patch. I've included the fixes without introducing the reorganization mentioned, for the sake of stability. Also, the second fix mentioned in the patch don't fix the mentioned problem anymore, because of the change introduced by patch #720991 (by Greg as well). The new fix wasn't complicated though, and is included as well. As a note. It seems that there are other places that require the "protection" of LASTMARK_SAVE()/LASTMARK_RESTORE(), and are just waiting for someone to find how to break them. Particularly, I belive that every recursion of SRE_MATCH() should be protected by these macros. I won't do that right now since I'm not completely sure about this, and we don't have much time for testing until the next release.
-
Gustavo Niemeyer yazdı
meaningful parameters.
-
Gustavo Niemeyer yazdı
match objects work.
-
Barry Warsaw yazdı
-
Gustavo Niemeyer yazdı
to be compliant with previous python versions, by backing out the changes made in revision 2.84 which affected this. The bugfix for backtracking is still maintained.
-
- 19 Nis, 2003 12 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
particular leaving the traceback object (and everything reachable from it) alive throughout shutdown. The patch is mostly from Guido. Bugfix candidate.
-
Tim Peters yazdı
-
Guido van Rossum yazdı
raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli.
-
Guido van Rossum yazdı
which specifies a file where to divert the command's output (already supported by the body() method). (SF patch #720468) Thanks to Terry Carroll.
-
Mark Hammond yazdı
-
Andrew M. Kuchling yazdı
Various rewrites
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Will backport to 2.2.
-
Martin v. Löwis yazdı
-
Brett Cannon yazdı
-
- 18 Nis, 2003 10 kayıt (commit)
-
-
Barry Warsaw yazdı
it's a convenience only and give hints on what to do for more flexibility.
-
Barry Warsaw yazdı
it's a convenience only. Give an example of what to do for more flexibility.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
fails only in UCS-2 mode, since it tests a non-BMP character.
-
Guido van Rossum yazdı
-
Jason Tishler yazdı
On cygwin, the setup.py script uses unixccompiler.py for compiling and linking C extensions. The unixccompiler.py script assumes that executables do not get special extensions, which makes sense for Unix. However, on Cygwin, executables get an .exe extension. This causes a problem during the configuration step (python setup.py config), in which some temporary executables may be generated. As unixccompiler.py does not know about the .exe extension, distutils fails to clean up after itself: it does not remove _configtest.exe but tries to remove _configtest instead. The attached patch to unixccompiler.py sets the correct exe_extension for cygwin by checking if sys.platform is 'cygwin'. With this patch, distutils cleans up after itself correctly. Michiel de Hoon University of Tokyo, Human Genome Center.
-