Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds an exit parameter to unittest.main(). If False main no longer | Michael Foord | 2009-05-02 | 2 | -10/+78 |
| | | | | | | | | calls sys.exit. Closes issue 3379. Michael Foord | ||||
* | Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an | Antoine Pitrou | 2009-05-01 | 2 | -4/+50 |
| | | | | error when a named pipe is encountered, rather than blocking infinitely. | ||||
* | Adds the ipaddr module to the standard library. Issue #3959. | Gregory P. Smith | 2009-05-01 | 2 | -0/+1932 |
| | | | | | | Based off of subversion r69 from http://code.google.com/p/ipaddr-py/ This code is 2to3 safe, I'll merge it into py3k later this afternoon. | ||||
* | Make test.test_support.EnvironmentVarGuard behave like a dictionary. | Walter Dörwald | 2009-05-01 | 10 | -65/+64 |
| | | | | | All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block. | ||||
* | Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the | Senthil Kumaran | 2009-05-01 | 1 | -10/+3 |
| | | | | | "<local>" macro as the only entry, this function bypasses any host name that does not contain a period. | ||||
* | Issue #1588: Add complex.__format__. | Eric Smith | 2009-04-30 | 1 | -1/+60 |
| | |||||
* | prevent ref cycles by removing bound method on close() | Benjamin Peterson | 2009-04-30 | 1 | -0/+2 |
| | |||||
* | make sure to close file | Benjamin Peterson | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | make sure mode is removable while cleaning up test droppings | Benjamin Peterson | 2009-04-29 | 1 | -0/+5 |
| | |||||
* | fix test_shutil on ZFS #5676 | Benjamin Peterson | 2009-04-29 | 1 | -2/+16 |
| | |||||
* | Backport some of the float formatting tests from py3k. | Mark Dickinson | 2009-04-29 | 2 | -0/+375 |
| | |||||
* | Issue #5864: format(1234.5, '.4') gives misleading result | Mark Dickinson | 2009-04-29 | 1 | -0/+5 |
| | | | | (Backport of r72109 from py3k.) | ||||
* | More aifc tests. | R. David Murray | 2009-04-29 | 1 | -7/+53 |
| | |||||
* | Now that we've got a test_aifc, add a few tests. | R. David Murray | 2009-04-29 | 1 | -0/+30 |
| | |||||
* | Fix issue 2245. aifc now skips any chunk type it doesn't actually | R. David Murray | 2009-04-29 | 4 | -8/+24 |
| | | | | | | | process instead of throwing errors for anything not in an explicit skip list. This is per this spec: http://www.cnpbagwell.com/aiff-c.txt. Spec reference and test sound file provided by Santiago Peresón, fix based on patch by Hiroaki Kawai. | ||||
* | Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore | Tarek Ziadé | 2009-04-29 | 1 | -1/+1 |
| | |||||
* | Update spec version number. | Raymond Hettinger | 2009-04-27 | 1 | -1/+1 |
| | |||||
* | Issue #5853: calling a function of the mimetypes module from several threads | Antoine Pitrou | 2009-04-27 | 1 | -15/+13 |
| | | | | | at once could hit the recursion limit if the mimetypes database hadn't been initialized before. | ||||
* | Issue #5854: Updated __all__ to include some missing names and remove some ↵ | Vinay Sajip | 2009-04-27 | 1 | -5/+8 |
| | | | | names which should not be exported. | ||||
* | Right click 'go to file/line' not working if spaces | Kurt B. Kaiser | 2009-04-26 | 2 | -25/+13 |
| | | | | in path. Bug 5559. | ||||
* | Use test.test_support.EnvironmentVarGuard where tests change environment vars. | Walter Dörwald | 2009-04-26 | 6 | -56/+36 |
| | |||||
* | Fix typo. | Walter Dörwald | 2009-04-26 | 1 | -1/+1 |
| | |||||
* | Update pydoc topics. | Georg Brandl | 2009-04-26 | 1 | -28/+28 |
| | |||||
* | Move pydoc_topics module to its own subdirectory, so that no generated code ↵ | Georg Brandl | 2009-04-26 | 3 | -5/+5 |
| | | | | is in Lib/. | ||||
* | Issue #4971: Fix titlecase for characters that are their own | Martin v. Löwis | 2009-04-26 | 1 | -1/+6 |
| | | | | titlecase, but not their own uppercase. | ||||
* | Issue #5835, deprecate PyOS_ascii_formatd. | Eric Smith | 2009-04-25 | 1 | -0/+62 |
| | | | | | | If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great. Will port to py3k with a different strategy. | ||||
* | #5841: add deprecation py3k warning and notice in the docs for commands module. | Georg Brandl | 2009-04-25 | 1 | -4/+4 |
| | |||||
* | Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in | Walter Dörwald | 2009-04-25 | 1 | -1/+14 |
| | | | | | makeunicodedata.py and regenerated the Unicode database (This fixes u'\u1d79'.lower() == '\x00'). | ||||
* | #5810: Fixed Distutils test_build_scripts | Tarek Ziadé | 2009-04-25 | 1 | -1/+1 |
| | |||||
* | Issue #4951: Fixed failure in test_httpservers | Tarek Ziadé | 2009-04-25 | 1 | -2/+5 |
| | |||||
* | Issue #5837: Certain sequences of calls to set() and unset() for | Walter Dörwald | 2009-04-25 | 1 | -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 Dickinson | 2009-04-25 | 1 | -3/+19 |
| | |||||
* | fix a segfault when setting __class__ in __del__ #5283 | Benjamin Peterson | 2009-04-25 | 1 | -0/+10 |
| | |||||
* | Issue 5041: ctypes unwilling to allow pickling wide character. | Thomas Heller | 2009-04-24 | 1 | -0/+5 |
| | |||||
* | Remove unnecessary double negative | Mark Dickinson | 2009-04-24 | 1 | -1/+1 |
| | |||||
* | Issue #5593: Use more robust test for double-rounding in test_fsum. | Mark Dickinson | 2009-04-24 | 1 | -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 constructor | Mark Dickinson | 2009-04-24 | 2 | -13/+28 |
| | | | | now accepts arbitrary Rational instances. | ||||
* | Issue #5816: | Mark Dickinson | 2009-04-24 | 1 | -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 .chm | Kurt B. Kaiser | 2009-04-23 | 4 | -10/+22 |
| | | | | docs on Windows. Patch 5783 gpolo. Will port. | ||||
* | Issue #5812: make Fraction('1e-6') valid. Backport of r71806. | Mark Dickinson | 2009-04-22 | 2 | -23/+34 |
| | |||||
* | Fixed issue 5782: formatting with commas didn't work if no specifier type ↵ | Eric Smith | 2009-04-22 | 1 | -0/+6 |
| | | | | code was given. | ||||
* | Issue 5354: Change API for import_fresh_module() to better support ↵ | Nick Coghlan | 2009-04-22 | 3 | -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 of | Eric Smith | 2009-04-22 | 2 | -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 Sajip | 2009-04-22 | 1 | -1/+11 |
| | |||||
* | Restore skips of posix and pty tests on Windows by calling the | R. David Murray | 2009-04-21 | 2 | -3/+8 |
| | | | | | test_support.import_module on the appropriate modules before any other imports. | ||||
* | Fix for the Issue918368 - urllib doesn't correct server returned urls | Senthil Kumaran | 2009-04-21 | 2 | -0/+16 |
| | |||||
* | Nit: integer division should use //, not / | Mark Dickinson | 2009-04-20 | 1 | -1/+1 |
| | |||||
* | Issue #3166: Make long -> float (and int -> float) conversions | Mark Dickinson | 2009-04-20 | 2 | -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 win32 | Tarek Ziadé | 2009-04-20 | 1 | -0/+1 |
| | |||||
* | #5795 sysconfig._config_vars was shadowed in tearDown | Tarek Ziadé | 2009-04-20 | 1 | -3/+4 |
| |