Mark Dickinson
1c164a6f85
Fix typo in docstring.
2010-06-11 16:49:20 +00:00
Alexander Belopolsky
177e8530cb
Issue #3129 : Trailing digits in format string are no longer ignored.
2010-06-11 16:04:59 +00:00
Mark Dickinson
9b88b916a9
Fix issue number typo.
2010-06-11 10:46:57 +00:00
Mark Dickinson
08ade6faa0
Issue #8188 : Comparisons between Decimal objects and other numeric
...
objects (Fraction, float, complex, int) now all function as expected.
2010-06-11 10:44:52 +00:00
Ezio Melotti
bfd73faf86
Merged revisions 81889 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line
Remove extra ] from itertools.count docstring.
........
2010-06-11 02:26:42 +00:00
Victor Stinner
1286d7f060
test_sys: add a test on the file system encoding for darwin
2010-06-11 00:41:41 +00:00
Victor Stinner
7f84ab5952
Issue #8965 : initfsencoding() doesn't change the encoding on Mac OS X
...
File system encoding have to be hardcoded to "utf-8" on Mac OS X. r81190
introduced a regression: the encoding was changed depending on the locale.
2010-06-11 00:36:33 +00:00
Michael Foord
2b293cf1a5
Merged revisions 81878 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81878 | michael.foord | 2010-06-10 21:40:21 +0100 (Thu, 10 Jun 2010) | 2 lines
Fix issue with nested test suites debug method and module setups. (unittest)
........
2010-06-10 20:41:54 +00:00
Michael Foord
d8efa020d8
Blocked revisions 81876 via svnmerge
...
........
r81876 | michael.foord | 2010-06-10 17:32:00 +0100 (Thu, 10 Jun 2010) | 1 line
NEWS update for issue 8948.
........
2010-06-10 16:33:34 +00:00
Michael Foord
c41d141f4f
Merged revisions 81859 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81859 | michael.foord | 2010-06-09 13:29:56 +0100 (Wed, 09 Jun 2010) | 1 line
Typo correction.
........
2010-06-10 16:17:07 +00:00
Michael Foord
b874874194
Merged revisions 81853 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81853 | michael.foord | 2010-06-08 23:44:52 +0100 (Tue, 08 Jun 2010) | 1 line
Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug().
........
2010-06-10 16:16:08 +00:00
Mark Dickinson
c73013127b
Issue #8950 : Make PyArg_Parse* with 'L' code raise for float inputs,
...
instead of warning. This makes it consistent with the other integer
codes.
2010-06-10 16:05:10 +00:00
Victor Stinner
37296e89a5
Fix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1
...
Don't use normalize_encoding() result if it is truncated.
2010-06-10 13:36:23 +00:00
Victor Stinner
600d3bed6c
Issue #8922 : Normalize the encoding name in PyUnicode_AsEncodedString() to
...
enable shortcuts for upper case encoding name. Add also a shortcut for
"iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode().
2010-06-10 12:00:55 +00:00
Alexander Belopolsky
da62f2fe28
Merged revisions 81864 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81864 | alexander.belopolsky | 2010-06-09 13:08:11 -0400 (Wed, 09 Jun 2010) | 1 line
Fixed markup of tm_isdst attribute.
........
2010-06-09 17:11:01 +00:00
Antoine Pitrou
d118856049
Merged revisions 81860 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81860 | antoine.pitrou | 2010-06-09 18:24:00 +0200 (mer., 09 juin 2010) | 3 lines
Issue #8930 : fix some C code indentation
........
2010-06-09 16:38:55 +00:00
Stefan Krah
0ca4624e8a
Issue #8932 : Skip required when compiled --without-threads.
2010-06-09 08:56:28 +00:00
Kristján Valur Jónsson
17173cfe7b
http://bugs.python.org/issue8832
...
Issue minidom.unlink with a context manager
2010-06-09 08:13:42 +00:00
Victor Stinner
3dcb5acdb0
Issue #8838 , #8339 : Remove codecs.charbuffer_encode() and "t#" parsing format
...
Remove last references to the "char buffer" of the buffer protocol from
Python3.
2010-06-08 22:54:19 +00:00
Brian Curtin
1fbd36b51d
Fix #8946 . Extra PyObject* parameter documented which doesn't exist.
2010-06-08 22:27:07 +00:00
Victor Stinner
5216e6d598
PyArg_Parse*("Z#") raises an error for unknown type
...
instead of ignoring the error and leave the pointer to the string and the size
unchanged (not initialized).
Fix also the type in the error message of "Z", "Z#" and "Y" formats.
2010-06-08 21:45:51 +00:00
Victor Stinner
55a5c78e4d
Py_FatalError(): don't sys sys.last_xxx variables
...
Call PyErr_PrintEx(0) instead of PyErr_Print() to avoid a crash if
Py_FatalError() is called in an early stage of Python initialization (if PySys
is not yet initialized).
2010-06-08 21:00:13 +00:00
Brian Curtin
9b7e2d1e54
Fix a compile warning missed during porting (wchar_t/char) and move a
...
variable declaration outside of a loop. #2810 was when this first went in.
2010-06-08 20:57:52 +00:00
Victor Stinner
ecccc4f9b8
sys_pyfile_write() does nothing if file is NULL
...
mywrite() falls back to the C file object if sys_pyfile_write() returns an
error. This patch fixes a segfault is Py_FatalError() is called in an early
stage of Python initialization.
2010-06-08 20:46:00 +00:00
Alexander Belopolsky
649124856a
Merged revisions 81489 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81489 | georg.brandl | 2010-05-23 17:29:29 -0400 (Sun, 23 May 2010) | 1 line
#1436346 : make it more obvious that timetuple[7] is yday.
........
2010-06-08 18:59:20 +00:00
Alexander Belopolsky
9dd47b891d
Added myself as a maintainer of time and datetime modules.
2010-06-08 17:06:48 +00:00
Benjamin Peterson
9530452e7d
Merged revisions 81834 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line
kill extra word
........
2010-06-08 14:57:22 +00:00
R. David Murray
a59bfb3c7d
Now that sunau has some tests, remove it from test_sundry.
2010-06-08 14:41:45 +00:00
Stefan Krah
a3ac44edbc
Add note for r81830.
2010-06-08 14:00:52 +00:00
Stefan Krah
095b273afc
Issue #7384 : If the system readline library is linked against ncurses,
...
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.
Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
2010-06-08 13:41:44 +00:00
Stefan Krah
e23c4526f5
Blocked revisions 81669,81672,81683 via svnmerge
...
........
r81669 | stefan.krah | 2010-06-03 14:39:50 +0200 (Thu, 03 Jun 2010) | 9 lines
Issue #7384 : If the system readline library is linked against ncurses,
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.
Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
........
r81672 | stefan.krah | 2010-06-03 16:25:16 +0200 (Thu, 03 Jun 2010) | 3 lines
Use compiler rather than compiler_obj. Thanks Michael Foord for noticing.
........
r81683 | stefan.krah | 2010-06-04 11:49:20 +0200 (Fri, 04 Jun 2010) | 1 line
Detect missing ldd on all systems.
........
2010-06-08 13:26:49 +00:00
Benjamin Peterson
aebe93a347
Blocked revisions 81825 via svnmerge
...
........
r81825 | benjamin.peterson | 2010-06-07 17:33:09 -0500 (Mon, 07 Jun 2010) | 1 line
use unicode literals
........
2010-06-07 22:36:44 +00:00
Benjamin Peterson
504b6e8115
Merged revisions 81824 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81824 | benjamin.peterson | 2010-06-07 17:32:44 -0500 (Mon, 07 Jun 2010) | 1 line
remove extra byte and fix comment
........
2010-06-07 22:35:08 +00:00
Benjamin Peterson
59a1b2f732
Merged revisions 81820 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line
correctly overflow when indexes are too large
........
2010-06-07 22:31:26 +00:00
Benjamin Peterson
5b92772e24
use the 's' format code instead of 'U'
2010-06-07 22:24:18 +00:00
Ezio Melotti
c34ce23f6e
Blocked revisions 81817 via svnmerge
...
........
r81817 | ezio.melotti | 2010-06-08 01:00:18 +0300 (Tue, 08 Jun 2010) | 1 line
Silence deprecation warning in test___all__ caused by an import bsddb.
........
2010-06-07 22:02:50 +00:00
Ezio Melotti
567a52478e
Blocked revisions 81769 via svnmerge
...
........
r81769 | ezio.melotti | 2010-06-06 01:28:10 +0300 (Sun, 06 Jun 2010) | 1 line
Replace deprecated fail* methods with the equivalent assert* ones.
........
2010-06-07 21:57:18 +00:00
Benjamin Peterson
d240071cd8
Merged revisions 81813 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81813 | benjamin.peterson | 2010-06-07 16:37:09 -0500 (Mon, 07 Jun 2010) | 2 lines
locale grouping strings should end in '\0'
........
2010-06-07 21:41:35 +00:00
Victor Stinner
69e25fa5b8
Issue #8925 : fix types of Py_Parse*() and Py_BuildValue() functions
...
* Add links to Python types
* Replace "string" by bytes or str
* Replace "long" by "int"
* Specify the default encoding
* Fix reST syntax ("..note ::")
* etc.
2010-06-07 21:20:41 +00:00
Victor Stinner
7f3652e371
Issue #8897 : Fix sunau module, use bytes to write the header. Patch written by
...
Thomas Jollans.
2010-06-07 20:14:04 +00:00
Victor Stinner
7eeb5b5e50
Issue #8848 : U / U# formats of Py_BuildValue() are just alias to s / s#
2010-06-07 19:57:46 +00:00
Mark Dickinson
fa68a6188a
Fix naming inconsistency.
2010-06-07 18:47:09 +00:00
Victor Stinner
2872e5b1f8
convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure
...
Raise a more revelant error (MemoryError instead of TypeError)
2010-06-06 20:38:02 +00:00
Victor Stinner
5cb6239f00
Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL
2010-06-06 20:27:51 +00:00
Tarek Ziadé
7047eb7334
Merged revisions 81788 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line
Fixed #8909 : now the doc details the size of the bitmap used in distutils' bdist_wininst
........
2010-06-06 20:18:42 +00:00
Benjamin Peterson
0d31d58c15
bltn-file-objects don't exist in python3
2010-06-06 02:44:41 +00:00
Benjamin Peterson
cc1f597b90
reST indentation nit
2010-06-06 02:41:24 +00:00
Benjamin Peterson
5c5eb3624d
fix typo
2010-06-06 02:40:38 +00:00
Benjamin Peterson
3789b97906
Merged revisions 81774-81775 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81774 | benjamin.peterson | 2010-06-05 19:50:58 -0500 (Sat, 05 Jun 2010) | 1 line
remove extra space
........
r81775 | benjamin.peterson | 2010-06-05 19:54:29 -0500 (Sat, 05 Jun 2010) | 1 line
fix sphinx warning with an extra space
........
2010-06-06 02:32:09 +00:00
Benjamin Peterson
0209a14061
Blocked revisions 81772-81773,81777 via svnmerge
...
........
r81772 | benjamin.peterson | 2010-06-05 19:22:09 -0500 (Sat, 05 Jun 2010) | 1 line
bump version to 2.7 rc1
........
r81773 | benjamin.peterson | 2010-06-05 19:49:27 -0500 (Sat, 05 Jun 2010) | 1 line
update pydoc-topics
........
r81777 | benjamin.peterson | 2010-06-05 21:09:33 -0500 (Sat, 05 Jun 2010) | 1 line
careening towards 2.7rc2 we go
........
2010-06-06 02:14:27 +00:00