summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #5841: add deprecation py3k warning and notice in the docs for commands module.Georg Brandl2009-04-251-4/+4
|
* Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic inWalter Dörwald2009-04-251-1/+14
| | | | | makeunicodedata.py and regenerated the Unicode database (This fixes u'\u1d79'.lower() == '\x00').
* #5810: Fixed Distutils test_build_scriptsTarek Ziadé2009-04-251-1/+1
|
* Issue #4951: Fixed failure in test_httpserversTarek Ziadé2009-04-251-2/+5
|
* Issue #5837: Certain sequences of calls to set() and unset() forWalter Dörwald2009-04-251-15/+17
| | | | | | | | support.EnvironmentVarGuard objects restored the environment variables incorrectly on __exit__. Fix this by recording the initial value of each environment variable on the first access in set() or unset().
* Fix typo in complex parsing code; expand tests.Mark Dickinson2009-04-251-3/+19
|
* fix a segfault when setting __class__ in __del__ #5283Benjamin Peterson2009-04-251-0/+10
|
* Issue 5041: ctypes unwilling to allow pickling wide character.Thomas Heller2009-04-241-0/+5
|
* Remove unnecessary double negativeMark Dickinson2009-04-241-1/+1
|
* Issue #5593: Use more robust test for double-rounding in test_fsum.Mark Dickinson2009-04-241-8/+9
| | | | | While we're at it, use new unittest.skipUnless decorator to implement skipping for that test.
* Issue #5812: The two-argument form of the Fraction constructorMark Dickinson2009-04-242-13/+28
| | | | now accepts arbitrary Rational instances.
* Issue #5816:Mark Dickinson2009-04-241-10/+66
| | | | | | | | - simplify parsing and printing of complex numbers - make complex(repr(z)) round-tripping work for complex numbers involving nans, infs, or negative zeros - don't accept some of the stranger complex strings that were previously allowed---e.g., complex('1..1j')
* Produce correct version string to access the .chmKurt B. Kaiser2009-04-234-10/+22
| | | | docs on Windows. Patch 5783 gpolo. Will port.
* Issue #5812: make Fraction('1e-6') valid. Backport of r71806.Mark Dickinson2009-04-222-23/+34
|
* Fixed issue 5782: formatting with commas didn't work if no specifier type ↵Eric Smith2009-04-221-0/+6
| | | | code was given.
* Issue 5354: Change API for import_fresh_module() to better support ↵Nick Coghlan2009-04-223-17/+51
| | | | test_warnings use case (also fixes some bugs in the original implementation)
* Backport of some of the work in r71665 to trunk. This reworks much ofEric Smith2009-04-222-2/+56
| | | | | | | | | | | | | | | | | | | | | int, long, and float __format__(), and it keeps their implementation in sync with py3k. Also added PyOS_double_to_string. This is the "fallback" version that's also available in trunk, and should be kept in sync with that code. I'll add an issue to document PyOS_double_to_string in the C API. There are many internal cleanups. Externally visible changes include: - Implement PEP 378, Format Specifier for Thousands Separator, for floats, ints, and longs. - Issue #5515: 'n' formatting for ints, longs, and floats handles leading zero formatting poorly. - Issue #5772: For float.__format__, don't add a trailing ".0" if we're using no type code and we have an exponent.
* Issue #5170: Fixed regression caused when fixing #5768.Vinay Sajip2009-04-221-1/+11
|
* Restore skips of posix and pty tests on Windows by calling theR. David Murray2009-04-212-3/+8
| | | | | test_support.import_module on the appropriate modules before any other imports.
* Fix for the Issue918368 - urllib doesn't correct server returned urlsSenthil Kumaran2009-04-212-0/+16
|
* Nit: integer division should use //, not /Mark Dickinson2009-04-201-1/+1
|
* Issue #3166: Make long -> float (and int -> float) conversionsMark Dickinson2009-04-202-0/+93
| | | | | | correctly rounded, using round-half-to-even. This ensures that the value of float(n) doesn't depend on whether we're using 15-bit digits or 30-bit digits for Python longs.
* making BuildWinInstTestCase silent in case bdist_wininst is not run under win32Tarek Ziadé2009-04-201-0/+1
|
* #5795 sysconfig._config_vars was shadowed in tearDownTarek Ziadé2009-04-201-3/+4
|
* Automatic conversion of floats to integers for struct.pack integer codesMark Dickinson2009-04-191-1/+1
| | | | is deprecated. Use an explicit int() instead.
* move test to a more appropiate oneBenjamin Peterson2009-04-181-25/+30
|
* try to initalize all builtin types with PyType_Ready to avoid problems like ↵Benjamin Peterson2009-04-181-0/+12
| | | | #5787
* fix a few nits in unittest.py #5771Benjamin Peterson2009-04-181-2/+2
|
* Issue #1869: Fix a couple of minor round() issues.Mark Dickinson2009-04-181-0/+3
|
* DistutilsSetupError was not raised when one single warning occuredTarek Ziadé2009-04-172-10/+9
|
* Issue #5768: Change to Unicode output logic and test case for same.Vinay Sajip2009-04-162-5/+6
|
* call __float__ on str subclasses #5759Benjamin Peterson2009-04-151-0/+12
| | | | tests by R. David Murray
* pep8-fiedTarek Ziadé2009-04-131-42/+23
|
* improved test coverage for distutils.cmdTarek Ziadé2009-04-132-7/+47
|
* deactivate test_search_cpp under win32Tarek Ziadé2009-04-131-0/+3
|
* #5741 followup: should also allow %%(blah)s.Georg Brandl2009-04-131-2/+2
|
* Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.Tarek Ziadé2009-04-131-1/+31
|
* Adjust test_asyncore to account for intentional asyncore behavior changeR. David Murray2009-04-131-4/+1
| | | | introduced by r70934 that was causing a test failure when run under -O.
* #5719: add short usage example to optparse docstring.Georg Brandl2009-04-121-0/+13
|
* remove useless importBenjamin Peterson2009-04-121-1/+0
|
* #5741: dont disallow double percent signs in SafeConfigParser.set() keys.Georg Brandl2009-04-122-4/+8
|
* removed string usage and added a test for _cleanTarek Ziadé2009-04-122-4/+22
|
* added a test for finalize_optionsTarek Ziadé2009-04-122-7/+21
|
* added a simple test for search_cppTarek Ziadé2009-04-122-5/+15
|
* pep8-fied the module before adding testsTarek Ziadé2009-04-121-37/+25
|
* removed the print statements and added a testTarek Ziadé2009-04-122-6/+52
|
* Make test_asyncore tests match code changes introduced by theR. David Murray2009-04-111-37/+20
| | | | | fix to Issue1161031, refactoring the test to simplify it in the process.
* testing a full check caseTarek Ziadé2009-04-112-1/+8
|
* #5732: added the check command into DistutilsTarek Ziadé2009-04-113-1/+236
|
* Issue 5354: Provide a standardised testing mechanism for doing fresh imports ↵Nick Coghlan2009-04-113-35/+76
| | | | of modules, including the ability to block extension modules in order to test the pure Python fallbacks