Mark Dickinson
46ab5d0951
Merged revisions 74723 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74723 | mark.dickinson | 2009-09-08 21:20:19 +0100 (Tue, 08 Sep 2009) | 3 lines
Issue #6857 : Fix Decimal formatting to be consistent with existing float
formatting: both are now right-aligned by default.
........
2009-09-08 20:22:46 +00:00
Ronald Oussoren
3c064c172a
Merged revisions 74701 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74701 | ronald.oussoren | 2009-09-07 08:12:00 +0200 (Mon, 07 Sep 2009) | 2 lines
Fix typo in configure.in
........
2009-09-08 07:12:42 +00:00
Mark Dickinson
825fce34b1
Merged revisions 74708 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines
#Issue 6795: Fix infinite recursion in long(Decimal('nan')); change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext.
........
2009-09-07 18:08:12 +00:00
Mark Dickinson
7718d2bfb0
Merged revisions 74704 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74704 | mark.dickinson | 2009-09-07 17:17:41 +0100 (Mon, 07 Sep 2009) | 3 lines
Issue #6850 : Fix bug in Decimal._parse_format_specifier for formats
with no type specifier.
........
2009-09-07 16:21:56 +00:00
Benjamin Peterson
d9ee87a43d
Blocked revisions 74699,74702 via svnmerge
...
........
r74699 | benjamin.peterson | 2009-09-06 17:43:39 -0500 (Sun, 06 Sep 2009) | 1 line
PyObject_GetIter can set an error for its self just fine
........
r74702 | benjamin.peterson | 2009-09-07 08:02:15 -0500 (Mon, 07 Sep 2009) | 1 line
revert r74699 since it loses useful error information
........
2009-09-07 13:03:49 +00:00
Mark Dickinson
5ea7d64b15
Merged revisions 74693 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines
Issue #6848 : Fix curses module build failure on OS X 10.6.
........
2009-09-06 21:24:55 +00:00
Mark Dickinson
7a49a8eb43
Merged revisions 74689 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74689 | mark.dickinson | 2009-09-06 21:51:37 +0100 (Sun, 06 Sep 2009) | 1 line
Remove redundant assignment
........
2009-09-06 20:53:58 +00:00
Ronald Oussoren
6d77e07196
Fix for issue 6393: Python crashes on OSX when $LANG is set to some (but
...
not all) invalid values due to an invalid result from nl_langinfo
2009-09-06 13:59:02 +00:00
Ronald Oussoren
5bbab3e64f
Merged revisions 74672 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line
Fix build issues on OSX 10.6 (issue 6802)
........
2009-09-06 11:01:15 +00:00
Mark Dickinson
2b6705fb1c
Merged revisions 74677 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74677 | mark.dickinson | 2009-09-06 11:32:21 +0100 (Sun, 06 Sep 2009) | 1 line
Issue #6847 : s/bytes/bytearray/ in some bytearray error messages. Thanks Hagen Fürstenau.
........
2009-09-06 10:34:47 +00:00
Mark Dickinson
54a3db9f41
Merged revisions 74673 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines
Issue #6846 : bytearray.pop was returning ints in the range [-128, 128)
instead of [0, 256). Thanks Hagen Fürstenau for the report and fix.
........
2009-09-06 10:19:23 +00:00
Mark Dickinson
9c11336786
Merged revisions 74667 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74667 | mark.dickinson | 2009-09-05 11:27:00 +0100 (Sat, 05 Sep 2009) | 2 lines
Add configure-time checks for gamma and error functions.
........
2009-09-05 10:36:23 +00:00
Thomas Heller
8b93952621
Issue 6239: ctypes.c_char_p return value must return bytes.
2009-09-04 18:24:41 +00:00
Georg Brandl
b6b13248e5
Remove the just-removed "help" from __all__.
2009-09-04 17:15:16 +00:00
Georg Brandl
447324f631
Recorded merge of revisions 74655-74656 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74655 | chris.withers | 2009-09-04 18:12:32 +0200 (Fr, 04 Sep 2009) | 2 lines
Fixes issue #6838 : use a list to accumulate the value instead of repeatedly concatenating strings.
........
r74656 | chris.withers | 2009-09-04 18:32:22 +0200 (Fr, 04 Sep 2009) | 1 line
news entry matching r74655
........
2009-09-04 17:13:13 +00:00
Chris Withers
9c33cbfbef
Fixes issue #6838 : use a list to accumulate the value instead of repeatedly concatenating strings.
2009-09-04 17:04:16 +00:00
Georg Brandl
9338585791
Blocked revisions 74653 via svnmerge
...
........
r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line
#6777 : dont discourage usage of Exception.args or promote usage of Exception.message.
........
2009-09-04 15:41:40 +00:00
Georg Brandl
4cb97d03a8
Recorded merge of revisions 74650 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74650 | georg.brandl | 2009-09-04 13:19:34 +0200 (Fr, 04 Sep 2009) | 1 line
#5101 : add back tests to test_funcattrs that were lost during unittest conversion, and make some PEP8 cleanups.
........
2009-09-04 11:20:54 +00:00
Georg Brandl
9cf32a12a1
Turn some comments into docstrings.
2009-09-04 08:28:01 +00:00
Georg Brandl
4eff9f7ff7
Remove pseudo-end markers from http.cookies.
2009-09-04 08:22:00 +00:00
Georg Brandl
85477afcb6
Remove backwards compatibility stuff from profile/cProfile.
2009-09-04 08:09:32 +00:00
Georg Brandl
395ed24589
#5221 : fix related topics: SEQUENCEMETHODS[12] doesnt exist any more.
2009-09-04 08:07:32 +00:00
Brett Cannon
353411dd3a
Merged revisions 74640 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74640 | brett.cannon | 2009-09-03 14:25:21 -0700 (Thu, 03 Sep 2009) | 7 lines
test_platform fails on OS X Snow Leopard because the UNIX command to get the
canonical version, sw_vers, leaves off trailing zeros in the version number
(e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros
for the test comparison.
Fixes issue #6806 .
........
2009-09-03 21:29:20 +00:00
Brett Cannon
23cf5743ae
Rework importlib benchmarks so that they measure number of executions within a
...
second instead of some fixed number.
Keeps benchmark faster by putting a cap on total execution time. Before a run
using importlib took longer by some factor, but now it takes roughly the
same amount of time as using the built-in __import__.
2009-09-03 20:45:21 +00:00
Jack Diederich
f31f7bb1a7
- apply issue 6582 to test all the write methods of telnetlib
...
- add patch author to ACKS
- possibly fix test timeouts on non-linux platforms
2009-09-03 20:37:58 +00:00
Georg Brandl
35ac3a8169
Merged revisions 74633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line
#6757 : complete the list of types that marshal can serialize.
........
2009-09-03 12:34:10 +00:00
Georg Brandl
1824415470
Switch more function arguments docs to new-style.
2009-09-02 20:34:52 +00:00
Georg Brandl
0bb1cc72c8
Use true booleans and a bit more PEP8.
2009-09-02 20:34:14 +00:00
Georg Brandl
7837a968e2
Use true kwonly arg instead of **kwds hackaround.
2009-09-02 20:33:30 +00:00
Georg Brandl
5dbb84a234
#6819 : fix typo.
2009-09-02 20:31:26 +00:00
Georg Brandl
d02c1028fc
Remove old news entry that got merged.
2009-09-01 08:12:13 +00:00
Georg Brandl
a6053b4846
Merged revisions 74542,74544-74548,74550,74554-74555,74578,74588,74590,74603,74616-74618,74621 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74542 | georg.brandl | 2009-08-23 23:28:56 +0200 (So, 23 Aug 2009) | 1 line
Restore alphabetic order.
........
r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line
#6775 : fix python.org URLs in README.
........
r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line
#6772 : mention utf-8 as utf8 alias.
........
r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6725 : spell "namespace" consistently.
........
r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line
#6718 : fix example.
........
r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : mention "deleting" as an alias for removing files.
........
r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line
#6677 : note that rmdir only removes empty directories.
........
r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line
Typo fix.
........
r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line
#6787 : reference fix.
........
r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sa, 29 Aug 2009) | 1 line
fixed #6801 : symmetric_difference_update also accepts pipe
........
r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line
#6803 : fix old name.
........
r74590 | georg.brandl | 2009-08-30 13:51:53 +0200 (So, 30 Aug 2009) | 1 line
#6801 : fix copy-paste oversight.
........
r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line
other -> others where multiple arguments are accepted.
........
r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line
#6808 : clarification.
........
r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line
#6765 : hint that log(x, base) is not very sophisticated.
........
r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line
#6810 : add a link to the section about frame objects instead of just a description where to find it.
........
r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line
#6638 : fix wrong parameter name and markup a class.
........
2009-09-01 08:11:14 +00:00
Georg Brandl
2c52e2fa85
#6732 : fix return value of module init function in example.
2009-09-01 08:03:26 +00:00
Georg Brandl
11b6a64ea9
#6754 : remove old struct member nb_inplace_divide.
2009-09-01 08:02:03 +00:00
Georg Brandl
2f3ed6808e
Recorded merge of revisions 74614 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line
#6813 : better documentation for numberless string formats.
........
2009-09-01 07:42:40 +00:00
Georg Brandl
c9a5a0e165
#6814 : remove traces of xrange().
2009-09-01 07:34:27 +00:00
Georg Brandl
a4c05a26a7
Recorded merge of revisions 74608 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines
Doc fix for the issue2637.
........
2009-08-31 20:06:09 +00:00
Senthil Kumaran
8aa8bbe611
Doc fix for issue2637.
2009-08-31 16:43:45 +00:00
Mark Dickinson
9b3d557917
Merged revisions 74604 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74604 | mark.dickinson | 2009-08-31 15:46:07 +0100 (Mon, 31 Aug 2009) | 1 line
Issue #6297 : Add autogenerated Misc/python.pc file to make distclean target. Thanks Jerry Chen.
........
2009-08-31 14:52:10 +00:00
Brett Cannon
d95863f6f3
Clarify why test_import is failing under importlib.
2009-08-30 23:41:40 +00:00
Brett Cannon
17c9b4a9d6
Loosen an exception test in test_import to not require an explicit message but instead just the proper exception.
2009-08-30 22:22:21 +00:00
Brett Cannon
1c1dcbfd5d
Trying to import a submodule from another module and not a package was raising
...
AttributeError in importlib when it should be an ImportError.
Found when running importlib against test_runpy.
2009-08-30 20:22:21 +00:00
Brett Cannon
82a23fe392
test_pep3120 is no longer a problem for importlib as the test was tweaked.
2009-08-30 20:08:15 +00:00
Brett Cannon
2dd66ce828
Make the exception message check for malformed UTF-8 source looser so that SyntaxError triggered from UnicodeDecodeError is also acceptable.
2009-08-30 20:07:38 +00:00
Brett Cannon
de4ebfe559
When the globals argument to importlib.__import__() contained any value for
...
__package__, it was used. This was incorrect since it could be set to None to
represent the fact that a proper value was unknown. Now None will trigger the
calculation for __package__.
Discovered when running importlib against test_importhooks.
2009-08-30 19:53:48 +00:00
Brett Cannon
ce7d4cbc3b
Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur.
2009-08-30 19:44:32 +00:00
Brett Cannon
6afbaef2fd
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
...
attribute. Was throwing AttributeError before. Discovered when running
test_builtin against importlib.
This exception change is specific to importlib.__import__() and does not apply to
import_module() as it is being done for compatibility reasons only.
2009-08-30 19:08:58 +00:00
Brett Cannon
44b28a9f32
Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later.
2009-08-30 18:59:21 +00:00
Brett Cannon
a6503606f9
Use the public API, not a private one.
2009-08-30 18:40:23 +00:00
Brett Cannon
9e0e1a63c8
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
...
running importlib against test___all__.
2009-08-30 18:28:46 +00:00