- 23 Eyl, 2004 8 kayıt (commit)
-
-
Tim Peters yazdı
today. pyconfig.h can override it if not, and can also override Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now for Microsoft compilers, using efficient MS-specific spellings.
-
Tim Peters yazdı
When an integer is compared to a float now, the int isn't coerced to float. This avoids spurious overflow exceptions and insane results. This should compute correct results, without raising spurious exceptions, in all cases now -- although I expect that what happens when an int/long is compared to a NaN is still a platform accident. Note that we had potential problems here even with "short" ints, on boxes where sizeof(long)==8. There's #ifdef'ed code here to handle that, but I can't test it as intended. I tested it by changing the #ifdef to trigger on my 32-bit box instead. I suppose this is a bugfix candidate, but I won't backport it. It's long-winded (for speed) and messy (because the problem is messy). Note that this also depends on a previous 2.4 patch that introduced _Py_SwappedOp[] as an extern.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Makes it easier on the eyes and a bit more snappy.
-
Phillip J. Eby yazdı
-
Tim Peters yazdı
I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[].
-
Tim Peters yazdı
-
- 22 Eyl, 2004 5 kayıt (commit)
-
-
Raymond Hettinger yazdı
Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Add iteration support to the Message class.
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
-
- 21 Eyl, 2004 3 kayıt (commit)
-
-
Edward Loper yazdı
- Simplified code to find names for file-based tests.
-
Edward Loper yazdı
more thouroughly.
-
Edward Loper yazdı
- Reorganized the documentation - Shifted focus a little more towards "literate testing" - Documented new functions and classes: - testfile() - Example, DocTest - DocTestParser, DocTestFinder, DocTestRunner, OutputChecker - DocFileSuite - DebugRunner, DocTestFailure, UnexpectedException - register_optionflag()
-
- 20 Eyl, 2004 7 kayıt (commit)
-
-
Brett Cannon yazdı
If people think this is not too intrusive it could be uncommented.
-
Tim Peters yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Skip Montanaro yazdı
-
Skip Montanaro yazdı
displaying a set of classes from one module it doesn't matter, but if you are displaying a large class tree from multiple modules it improves the display to sort by module.name.
-
Martin v. Löwis yazdı
-
- 19 Eyl, 2004 6 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Edward Loper yazdı
all examples in a given text file. (analagous to "testmod") - Minor docstring fixes. - Added module_relative parameter to DocTestFile/DocTestSuite, which controls whether paths are module-relative & os-independent, or os-specific.
-
Raymond Hettinger yazdı
Make PySequence_Check() and PyMapping_Check() handle NULL inputs. This goes beyond what most of the other checks do, but it is nice defensive programming and solves the OP's problem.
-
Brett Cannon yazdı
When this file is sourced in, or used as, one's vimrc file it will set the proper settings to follow the style guidelines laid out in PEPs 7 & 8 as best it can without forcing extraneous settings. Suggested settings are commented out and included at the end of the file. The goal is to have this file prevent as much as possible from deviating from the style guidelines. It is not meant to collect every cool macro possible for Python. Any useful settings for features included with Vim can be included and commented out, but anything overly extraneous should be left out.
-
Raymond Hettinger yazdı
(Contributed by Nick Coghlan.) Various code cleanups and optimizations (saves about 40% on testsuite execution time and on the telco benchmark). * caches results of various operations on self (esp. checks for being a special value). * _WorkRep now uses ints and longs for intermediate computations.
-
Edward Loper yazdı
- Minor wording changes - Changed the docs to reflect the fact that multiple option directives can be specified on a single line (and updated the directive production list, as well).
-
- 18 Eyl, 2004 10 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Edward Loper yazdı
- Fixed bug in handling of absolute paths. - If run from an interactive session, make paths relative to the directory containing sys.argv[0] (since __main__ doesn't have a __file__ attribute).
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
uninitialized.
-
Martin v. Löwis yazdı
Will backport to 2.3.
-
Martin v. Löwis yazdı
Backported to 2.3.
-
Martin v. Löwis yazdı
Will backport to 2.3.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Barry Warsaw yazdı
of the Template.delimiter attribute, we make use of the delimiter in the escaped group, and in the safe_substitute() method more robust. Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&', or whatever. The _TemplateMetaclass will re.escape() this value when it builds the pattern.
-
- 17 Eyl, 2004 1 kayıt (commit)
-
-
Fred Drake yazdı
-