]>
granicus.if.org Git - python/log
Thomas Heller [Fri, 24 Apr 2009 18:10:46 +0000 (18:10 +0000)]
Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.
Mark Dickinson [Fri, 24 Apr 2009 16:37:22 +0000 (16:37 +0000)]
Remove unnecessary double negative
Mark Dickinson [Fri, 24 Apr 2009 16:34:14 +0000 (16:34 +0000)]
Issue #5593: Use more robust test for double-rounding in test_fsum.
While we're at it, use new unittest.skipUnless decorator to
implement skipping for that test.
Mark Dickinson [Fri, 24 Apr 2009 13:56:07 +0000 (13:56 +0000)]
Issue #5812: The two-argument form of the Fraction constructor
now accepts arbitrary Rational instances.
Mark Dickinson [Fri, 24 Apr 2009 13:14:07 +0000 (13:14 +0000)]
Fix missing 'return NULL'
Mark Dickinson [Fri, 24 Apr 2009 12:46:53 +0000 (12:46 +0000)]
Issue #5816:
- 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')
Georg Brandl [Thu, 23 Apr 2009 08:52:03 +0000 (08:52 +0000)]
Add link to PEP 236.
Georg Brandl [Thu, 23 Apr 2009 08:49:56 +0000 (08:49 +0000)]
#5813: add a reference to the "future statements" section.
Georg Brandl [Thu, 23 Apr 2009 08:49:39 +0000 (08:49 +0000)]
Fix rewrapping accident.
Georg Brandl [Thu, 23 Apr 2009 08:44:57 +0000 (08:44 +0000)]
#5820: fix bug in usage of getreader().
Kurt B. Kaiser [Thu, 23 Apr 2009 02:36:01 +0000 (02:36 +0000)]
Produce correct version string to access the .chm
docs on Windows. Patch 5783 gpolo. Will port.
Mark Dickinson [Wed, 22 Apr 2009 18:15:25 +0000 (18:15 +0000)]
Issue #5812: make Fraction('1e-6') valid. Backport of r71806.
Eric Smith [Wed, 22 Apr 2009 16:20:47 +0000 (16:20 +0000)]
Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.
Nick Coghlan [Wed, 22 Apr 2009 15:26:04 +0000 (15:26 +0000)]
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
Eric Smith [Wed, 22 Apr 2009 13:29:05 +0000 (13:29 +0000)]
Backport of some of the work in r71665 to trunk. This reworks much of
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.
Vinay Sajip [Wed, 22 Apr 2009 12:10:47 +0000 (12:10 +0000)]
Issue #5170: Fixed regression caused when fixing #5768.
Eric Smith [Wed, 22 Apr 2009 00:47:00 +0000 (00:47 +0000)]
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
Georg Brandl [Tue, 21 Apr 2009 18:24:34 +0000 (18:24 +0000)]
#5751: fix escaping of \\n.
Georg Brandl [Tue, 21 Apr 2009 18:23:08 +0000 (18:23 +0000)]
#5757: fix copy-paste error in notify().
R. David Murray [Tue, 21 Apr 2009 13:06:04 +0000 (13:06 +0000)]
Restore skips of posix and pty tests on Windows by calling the
test_support.import_module on the appropriate modules
before any other imports.
Senthil Kumaran [Tue, 21 Apr 2009 03:24:19 +0000 (03:24 +0000)]
Fix for the Issue918368 - urllib doesn't correct server returned urls
Mark Dickinson [Mon, 20 Apr 2009 21:41:04 +0000 (21:41 +0000)]
Nit: integer division should use //, not /
Mark Dickinson [Mon, 20 Apr 2009 21:13:33 +0000 (21:13 +0000)]
Issue #3166: Make long -> float (and int -> float) conversions
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.
Raymond Hettinger [Mon, 20 Apr 2009 18:23:57 +0000 (18:23 +0000)]
Fix typo
Tarek Ziadé [Mon, 20 Apr 2009 14:29:42 +0000 (14:29 +0000)]
adding a NEWS note for #5795 (previously checked via the buildbot)
Tarek Ziadé [Mon, 20 Apr 2009 10:33:47 +0000 (10:33 +0000)]
making BuildWinInstTestCase silent in case bdist_wininst is not run under win32
Tarek Ziadé [Mon, 20 Apr 2009 07:53:55 +0000 (07:53 +0000)]
#5795 sysconfig._config_vars was shadowed in tearDown
Mark Dickinson [Sun, 19 Apr 2009 17:10:47 +0000 (17:10 +0000)]
Automatic conversion of floats to integers for struct.pack integer codes
is deprecated. Use an explicit int() instead.
Ronald Oussoren [Sun, 19 Apr 2009 10:38:20 +0000 (10:38 +0000)]
Fix for issue5657.
Benjamin Peterson [Sun, 19 Apr 2009 03:02:54 +0000 (03:02 +0000)]
fix typo
Benjamin Peterson [Sun, 19 Apr 2009 02:40:43 +0000 (02:40 +0000)]
make errors consistent
Benjamin Peterson [Sun, 19 Apr 2009 02:32:42 +0000 (02:32 +0000)]
initialize weakref some weakref types
Benjamin Peterson [Sat, 18 Apr 2009 22:15:26 +0000 (22:15 +0000)]
many more types to initialize (I had to expose some of them)
Benjamin Peterson [Sat, 18 Apr 2009 21:03:10 +0000 (21:03 +0000)]
move test to a more appropiate one
Benjamin Peterson [Sat, 18 Apr 2009 20:25:25 +0000 (20:25 +0000)]
initalize -> initialize
Benjamin Peterson [Sat, 18 Apr 2009 20:12:47 +0000 (20:12 +0000)]
try to initalize all builtin types with PyType_Ready to avoid problems like #5787
Benjamin Peterson [Sat, 18 Apr 2009 19:26:19 +0000 (19:26 +0000)]
fix a few nits in unittest.py #5771
Benjamin Peterson [Sat, 18 Apr 2009 15:31:34 +0000 (15:31 +0000)]
rename internal bytes_ functions to bytearray
Mark Dickinson [Sat, 18 Apr 2009 14:59:42 +0000 (14:59 +0000)]
Issue #1869: Fix a couple of minor round() issues.
Mark Dickinson [Sat, 18 Apr 2009 14:41:37 +0000 (14:41 +0000)]
Backport r71704 (add configure check for C99 round function) to trunk.
Mark Dickinson [Sat, 18 Apr 2009 14:13:43 +0000 (14:13 +0000)]
copysign shouldn't be declared as static in pymath.c
Georg Brandl [Sat, 18 Apr 2009 08:26:21 +0000 (08:26 +0000)]
"not subscriptable" should be a bit more understandable than "unsubscriptable".
Tarek Ziadé [Fri, 17 Apr 2009 14:29:56 +0000 (14:29 +0000)]
DistutilsSetupError was not raised when one single warning occured
Vinay Sajip [Thu, 16 Apr 2009 19:15:49 +0000 (19:15 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.
Vinay Sajip [Thu, 16 Apr 2009 19:07:37 +0000 (19:07 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.
Raymond Hettinger [Thu, 16 Apr 2009 18:16:10 +0000 (18:16 +0000)]
Clarify the behavior of any() and all() with an empty iterable.
R. David Murray [Thu, 16 Apr 2009 18:12:53 +0000 (18:12 +0000)]
Less red ink (warning->note) and add link to def of side-by-side assembly.
Thomas Heller [Thu, 16 Apr 2009 06:42:02 +0000 (06:42 +0000)]
Remove duplicated function declaration.
Make _pagesize static.
Thomas Heller [Thu, 16 Apr 2009 06:26:33 +0000 (06:26 +0000)]
Remove unneeded code.
R. David Murray [Wed, 15 Apr 2009 22:33:07 +0000 (22:33 +0000)]
Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
Benjamin Peterson [Wed, 15 Apr 2009 21:26:36 +0000 (21:26 +0000)]
call __float__ on str subclasses #5759
tests by R. David Murray
Benjamin Peterson [Tue, 14 Apr 2009 21:23:09 +0000 (21:23 +0000)]
tupel -> tuple
Tarek Ziadé [Mon, 13 Apr 2009 20:14:54 +0000 (20:14 +0000)]
pep8-fied
Tarek Ziadé [Mon, 13 Apr 2009 20:03:44 +0000 (20:03 +0000)]
improved test coverage for distutils.cmd
R. David Murray [Mon, 13 Apr 2009 16:56:32 +0000 (16:56 +0000)]
Add missing NEWS item for issue1161031 fix.
Georg Brandl [Mon, 13 Apr 2009 13:13:25 +0000 (13:13 +0000)]
#5745: more linking for identifiers in email docs.
Tarek Ziadé [Mon, 13 Apr 2009 12:42:26 +0000 (12:42 +0000)]
deactivate test_search_cpp under win32
Georg Brandl [Mon, 13 Apr 2009 12:36:24 +0000 (12:36 +0000)]
#5741 followup: should also allow %%(blah)s.
Georg Brandl [Mon, 13 Apr 2009 12:36:18 +0000 (12:36 +0000)]
Simplify markup.
Tarek Ziadé [Mon, 13 Apr 2009 12:34:01 +0000 (12:34 +0000)]
Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.
Hirokazu Yamamoto [Mon, 13 Apr 2009 01:21:56 +0000 (01:21 +0000)]
Fixed another typos. (email.Utils => email.utils)
Hirokazu Yamamoto [Mon, 13 Apr 2009 01:07:06 +0000 (01:07 +0000)]
Fixed typo. (email.Utils => email.utils)
R. David Murray [Mon, 13 Apr 2009 01:06:46 +0000 (01:06 +0000)]
Adjust test_asyncore to account for intentional asyncore behavior change
introduced by r70934 that was causing a test failure when run under -O.
Eric Smith [Mon, 13 Apr 2009 00:29:50 +0000 (00:29 +0000)]
Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice.
Benjamin Peterson [Sun, 12 Apr 2009 23:44:15 +0000 (23:44 +0000)]
fix missing quote
Benjamin Peterson [Sun, 12 Apr 2009 23:19:56 +0000 (23:19 +0000)]
fix extra parenthesis #5774
Georg Brandl [Sun, 12 Apr 2009 20:30:53 +0000 (20:30 +0000)]
#5719: add short usage example to optparse docstring.
Benjamin Peterson [Sun, 12 Apr 2009 20:24:56 +0000 (20:24 +0000)]
remove useless import
Georg Brandl [Sun, 12 Apr 2009 17:24:11 +0000 (17:24 +0000)]
#5741: dont disallow double percent signs in SafeConfigParser.set() keys.
Tarek Ziadé [Sun, 12 Apr 2009 17:02:08 +0000 (17:02 +0000)]
removed string usage and added a test for _clean
Tarek Ziadé [Sun, 12 Apr 2009 16:45:32 +0000 (16:45 +0000)]
added a test for finalize_options
Tarek Ziadé [Sun, 12 Apr 2009 16:31:24 +0000 (16:31 +0000)]
added a simple test for search_cpp
Tarek Ziadé [Sun, 12 Apr 2009 15:03:50 +0000 (15:03 +0000)]
pep8-fied the module before adding tests
Tarek Ziadé [Sun, 12 Apr 2009 14:53:51 +0000 (14:53 +0000)]
removed the print statements and added a test
Georg Brandl [Sun, 12 Apr 2009 12:08:12 +0000 (12:08 +0000)]
#5704: let python -3 imply -t as well.
Eric Smith [Sun, 12 Apr 2009 02:57:29 +0000 (02:57 +0000)]
Take credit for my patch for issue 5237.
Benjamin Peterson [Sat, 11 Apr 2009 20:27:15 +0000 (20:27 +0000)]
fix markup
Benjamin Peterson [Sat, 11 Apr 2009 19:31:00 +0000 (19:31 +0000)]
ignore py3_test_grammar when compiling the library
Georg Brandl [Sat, 11 Apr 2009 18:19:27 +0000 (18:19 +0000)]
Take credit for a patch of mine.
R. David Murray [Sat, 11 Apr 2009 17:52:56 +0000 (17:52 +0000)]
Make test_asyncore tests match code changes introduced by the
fix to Issue1161031, refactoring the test to simplify it in
the process.
Andrew M. Kuchling [Sat, 11 Apr 2009 16:18:14 +0000 (16:18 +0000)]
Re-word
Andrew M. Kuchling [Sat, 11 Apr 2009 16:12:23 +0000 (16:12 +0000)]
Add various items
Tarek Ziadé [Sat, 11 Apr 2009 15:14:17 +0000 (15:14 +0000)]
testing a full check case
Tarek Ziadé [Sat, 11 Apr 2009 14:55:07 +0000 (14:55 +0000)]
#5732: added the check command into Distutils
Tarek Ziadé [Sat, 11 Apr 2009 13:59:05 +0000 (13:59 +0000)]
fixed link
Nick Coghlan [Sat, 11 Apr 2009 13:31:31 +0000 (13:31 +0000)]
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
Chris Withers [Sat, 11 Apr 2009 11:22:19 +0000 (11:22 +0000)]
remove unpleasant exec
Raymond Hettinger [Fri, 10 Apr 2009 13:16:50 +0000 (13:16 +0000)]
Add examples.
Georg Brandl [Fri, 10 Apr 2009 08:20:23 +0000 (08:20 +0000)]
#5698: Fix casing of !DOCTYPE to conform to W3C specs.
Georg Brandl [Fri, 10 Apr 2009 08:16:47 +0000 (08:16 +0000)]
Let "lambda" point to the correct heading.
Raymond Hettinger [Fri, 10 Apr 2009 06:38:39 +0000 (06:38 +0000)]
Fix the count of datatypes.
Raymond Hettinger [Fri, 10 Apr 2009 04:25:45 +0000 (04:25 +0000)]
Clarify the table entries for combinatorics.
Raymond Hettinger [Fri, 10 Apr 2009 02:01:21 +0000 (02:01 +0000)]
IE needs the border-left:0 for some reason.
Raymond Hettinger [Fri, 10 Apr 2009 00:49:41 +0000 (00:49 +0000)]
More table clean-up
Raymond Hettinger [Thu, 9 Apr 2009 23:34:14 +0000 (23:34 +0000)]
Center table headings.
Raymond Hettinger [Thu, 9 Apr 2009 23:25:30 +0000 (23:25 +0000)]
More table formatting.
Raymond Hettinger [Thu, 9 Apr 2009 22:31:51 +0000 (22:31 +0000)]
Add note on using keyword arguments with OrderedDict.
R. David Murray [Thu, 9 Apr 2009 21:54:50 +0000 (21:54 +0000)]
Issue #2170: refactored xml.dom.minidom.normalize, increasing both
its clarity and its speed.
Tarek Ziadé [Thu, 9 Apr 2009 21:36:44 +0000 (21:36 +0000)]
Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms
Georg Brandl [Thu, 9 Apr 2009 19:01:04 +0000 (19:01 +0000)]
Add a custom stylesheet with better table formatting.