- 07 Tem, 2004 2 kayıt (commit)
-
-
Tim Peters yazdı
a typo.
-
Tim Peters yazdı
-
- 06 Tem, 2004 6 kayıt (commit)
-
-
Skip Montanaro yazdı
-
Thomas Heller yazdı
Patch from Mark Hammond: bdist_wininst attempts to use the correct MSVC runtime for the current version of Python. This doesn't work correctly when --target-version is set. In that case, bdist_wininst still uses the *current* sys.version (ie, 2.4) rather than the version specified as --target-version. Thus, the msvc7 runtime based executable stub is *always* used. This patch "hard-codes" knowledge of earlier Python versions, providing the correct result when Python 2.4 is used to build Python 2.3 and earlier distributions. Remove the short variant (-v) of the --target-version command line options, it conflicts with the --verbose/-v standard distutils switch.
-
Guido van Rossum yazdı
the checkin.
-
Barry Warsaw yazdı
Windows (XP at least ;). Test in this order: echo, daytime, domain.
-
Raymond Hettinger yazdı
* Add a test case that would have caught it.
-
Raymond Hettinger yazdı
-
- 05 Tem, 2004 12 kayıt (commit)
-
-
Raymond Hettinger yazdı
for lists of mixed types. * Test that sort works.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* Make ConversionSyntax signals get trapped by default.
-
Raymond Hettinger yazdı
* Added a recipe section.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
* Make capitals default part of DefaultContext
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 04 Tem, 2004 9 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Raymond Hettinger yazdı
This serves to made the context representation more useful (the names in match the names out). Removed the link to ReXX. That document did not shed add anything to information already in the spec. Further tighten the public API to improve usability: * Emax and Emin are set through Context(). Their defaults are set in the DefaultContext, so there is no need to expose DEFAULT_MAX_EXPONENT and DEFAULT_MIN_EXPONENT. * The string functions isnan() and isinfinity() were only used internal to the module and were not among the test cases. External use cases are served by the Decimal constructor. So, made these private.
-
Nicholas Bastin yazdı
-
Raymond Hettinger yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Kurt B. Kaiser yazdı
and format the warning similarly to an exception for both that check and for warnings raised in the subprocess. M NEWS.txt M Pyshell.py M ScriptBinding.py M run.py
-
- 03 Tem, 2004 8 kayıt (commit)
-
-
Raymond Hettinger yazdı
* delete temporary globals immediately after use * move a global into a class variable * Rename BasicDefaultContext and ExtendedDefaultContext to BasicContext and ExtendedContext.
-
Raymond Hettinger yazdı
* Change the default precision to 28 (to match VB's decimal type).
-
Vinay Sajip yazdı
Refactored RotatingFileHandler to create a base class for rotating handlers. Added TimedRotatingFileHandler.
-
Vinay Sajip yazdı
Added error checking to log() to check that level is an integer, and raise a TypeError if not (as long as raiseExceptions is set). Minor documentation corrections.
-
Vinay Sajip yazdı
Moved example section up to just after the section on Logger objects, and changed it to use the new basicConfig() API
-
Raymond Hettinger yazdı
* Added test for pickling contexts * Renamed ExceptionList to Signals (to match wording in the spec) * Simplified Context constructor by allowing flags=None to automatically generate a zeroed-out flags dictionary. * inlined _convertString() which was used only once * _rounding_decision is private, so excluded its contants from __all__. * added an XXX comment with concerns about subclassing signals results in a deviation from the spec (maybe important, maybe not). * Taught the test_suite to determine its own directory (modeled after code in regrtest.py). Enables it to be run when the current directory is not the test directory. * Added a clear_flags() method to the Context API to make it easier to do a common operation with flags. * Fixed the trap_enablers defaults in BasicDefaultContext to match the spec.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
during interpreter shutdown instead of masking it with another traceback about accessing a NoneType when trying to print the exception out in the first place. Closes bug #754449 (using patch #954922).
-
- 02 Tem, 2004 3 kayıt (commit)
-
-
Mark Hammond yazdı
to address bugs: [ 555812 ] installing extension w/o admin rights [ 555810 ] removing extensions without admin rights * When enumerating the Python versions found, also remember the HKEY they were found under. * When installing, if Python was installed under HKCU, we will too. If Python was installed under HKLM, we check the permissions of the current user, and install where we can. * The "root" key we use is a global variable - all registry setting and delete functions use this global rather than a hardcoded HKLM. * A new entry is written to the install log, indicating the key we used. Uninstallation is based on this key. * 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp file on the root of the current drive, and if this is readonly would explain the 'freopen' errors occasionally reported. 'tempnam' creates the temp file in the %TEMP% directory.
-
Walter Dörwald yazdı
of corner cases.
-
Fred Drake yazdı
- weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019.
-