Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Issue #5837: Certain sequences of calls to set() and unset() for | Walter Dörwald | 2009-04-25 | 2 | -15/+21 | |
| | | | | | | | | 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(). | |||||
* | First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT. | Jeroen Ruigrok van der Werven | 2009-04-25 | 1 | -1/+18 | |
| | ||||||
* | Reformat prior to expanding. | Jeroen Ruigrok van der Werven | 2009-04-25 | 1 | -57/+63 | |
| | ||||||
* | Fix typo in complex parsing code; expand tests. | Mark Dickinson | 2009-04-25 | 2 | -4/+20 | |
| | ||||||
* | fix a segfault when setting __class__ in __del__ #5283 | Benjamin Peterson | 2009-04-25 | 3 | -0/+18 | |
| | ||||||
* | Issue #3102: All global symbols that the _ctypes extension defines are | Thomas Heller | 2009-04-24 | 8 | -525/+529 | |
| | | | | now prefixed with 'Py' or '_ctypes'. | |||||
* | Issue 5041: ctypes unwilling to allow pickling wide character. | Thomas Heller | 2009-04-24 | 3 | -1/+8 | |
| | ||||||
* | Issue #5161: wrong paths for ctypes cleanup when Python is built in a | Thomas Heller | 2009-04-24 | 1 | -2/+2 | |
| | | | | directory other than the source directory. | |||||
* | 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 | 3 | -13/+32 | |
| | | | | now accepts arbitrary Rational instances. | |||||
* | Fix missing 'return NULL' | Mark Dickinson | 2009-04-24 | 1 | -1/+1 | |
| | ||||||
* | Issue #5816: | Mark Dickinson | 2009-04-24 | 4 | -176/+230 | |
| | | | | | | | | - 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') | |||||
* | Add link to PEP 236. | Georg Brandl | 2009-04-23 | 1 | -0/+5 | |
| | ||||||
* | #5813: add a reference to the "future statements" section. | Georg Brandl | 2009-04-23 | 1 | -0/+4 | |
| | ||||||
* | Fix rewrapping accident. | Georg Brandl | 2009-04-23 | 1 | -3/+3 | |
| | ||||||
* | #5820: fix bug in usage of getreader(). | Georg Brandl | 2009-04-23 | 1 | -1/+1 | |
| | ||||||
* | 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 | 4 | -32/+46 | |
| | ||||||
* | Fixed issue 5782: formatting with commas didn't work if no specifier type ↵ | Eric Smith | 2009-04-22 | 2 | -0/+7 | |
| | | | | code was given. | |||||
* | Issue 5354: Change API for import_fresh_module() to better support ↵ | Nick Coghlan | 2009-04-22 | 5 | -21/+85 | |
| | | | | 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 | 9 | -508/+906 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | |
| | ||||||
* | Documentation for issue 5237, auto-numbered format fields. Contributed by ↵ | Eric Smith | 2009-04-22 | 2 | -9/+16 | |
| | | | | Terry J. Reedy. | |||||
* | #5751: fix escaping of \\n. | Georg Brandl | 2009-04-21 | 1 | -1/+1 | |
| | ||||||
* | #5757: fix copy-paste error in notify(). | Georg Brandl | 2009-04-21 | 1 | -5/+5 | |
| | ||||||
* | 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 | 5 | -27/+316 | |
| | | | | | | 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. | |||||
* | Fix typo | Raymond Hettinger | 2009-04-20 | 1 | -1/+1 | |
| | ||||||
* | adding a NEWS note for #5795 (previously checked via the buildbot) | Tarek Ziadé | 2009-04-20 | 1 | -0/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | Automatic conversion of floats to integers for struct.pack integer codes | Mark Dickinson | 2009-04-19 | 1 | -1/+1 | |
| | | | | is deprecated. Use an explicit int() instead. | |||||
* | Fix for issue5657. | Ronald Oussoren | 2009-04-19 | 1 | -0/+12 | |
| | ||||||
* | fix typo | Benjamin Peterson | 2009-04-19 | 1 | -1/+1 | |
| | ||||||
* | make errors consistent | Benjamin Peterson | 2009-04-19 | 1 | -2/+2 | |
| | ||||||
* | initialize weakref some weakref types | Benjamin Peterson | 2009-04-19 | 1 | -0/+6 | |
| | ||||||
* | many more types to initialize (I had to expose some of them) | Benjamin Peterson | 2009-04-18 | 5 | -6/+52 | |
| | ||||||
* | move test to a more appropiate one | Benjamin Peterson | 2009-04-18 | 1 | -25/+30 | |
| | ||||||
* | initalize -> initialize | Benjamin Peterson | 2009-04-18 | 1 | -4/+4 | |
| | ||||||
* | try to initalize all builtin types with PyType_Ready to avoid problems like ↵ | Benjamin Peterson | 2009-04-18 | 4 | -16/+83 | |
| | | | | #5787 | |||||
* | fix a few nits in unittest.py #5771 | Benjamin Peterson | 2009-04-18 | 1 | -2/+2 | |
| | ||||||
* | rename internal bytes_ functions to bytearray | Benjamin Peterson | 2009-04-18 | 1 | -153/+153 | |
| | ||||||
* | Issue #1869: Fix a couple of minor round() issues. | Mark Dickinson | 2009-04-18 | 3 | -4/+7 | |
| | ||||||
* | Backport r71704 (add configure check for C99 round function) to trunk. | Mark Dickinson | 2009-04-18 | 5 | -3/+24 | |
| | ||||||
* | copysign shouldn't be declared as static in pymath.c | Mark Dickinson | 2009-04-18 | 1 | -1/+1 | |
| | ||||||
* | "not subscriptable" should be a bit more understandable than "unsubscriptable". | Georg Brandl | 2009-04-18 | 1 | -1/+1 | |
| | ||||||
* | DistutilsSetupError was not raised when one single warning occured | Tarek Ziadé | 2009-04-17 | 2 | -10/+9 | |
| |