]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 81992 via svnmerge from
Mark Dickinson [Tue, 15 Jun 2010 08:42:37 +0000 (08:42 +0000)]
Merged revisions 81992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines

  Issue #8469:  Further clarifications and improvements to struct module
  documentation.  Thanks Mads Kiilerich.
........

14 years agoSwitch the __import__ state check from using __builtins__ to builtins to be
Brett Cannon [Mon, 14 Jun 2010 22:22:54 +0000 (22:22 +0000)]
Switch the __import__ state check from using __builtins__ to builtins to be
nicer to other VMs.

Thanks to Philip Jenvey for the pointer.

14 years agoUndo r81988 code change leaving added test.
Alexander Belopolsky [Mon, 14 Jun 2010 18:33:19 +0000 (18:33 +0000)]
Undo r81988 code change leaving added test.

14 years agoIssue 6280: Tests and simpler implementation for calendar.timegm
Alexander Belopolsky [Mon, 14 Jun 2010 17:32:03 +0000 (17:32 +0000)]
Issue 6280: Tests and simpler implementation for calendar.timegm

14 years agoIssue #5094: The ``datetime`` module now has a simple concrete class
Alexander Belopolsky [Mon, 14 Jun 2010 14:15:50 +0000 (14:15 +0000)]
Issue #5094: The ``datetime`` module now has a simple concrete class
implementing ``datetime.tzinfo`` interface.

14 years agogetargs.c: remove last reference to "t#" format
Victor Stinner [Sun, 13 Jun 2010 20:31:26 +0000 (20:31 +0000)]
getargs.c: remove last reference to "t#" format

"t#" format was removed from convertitem() (convertsimple) but not skipitem().

14 years agoIssue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"
Victor Stinner [Sun, 13 Jun 2010 18:21:50 +0000 (18:21 +0000)]
Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"
formats if the string contains a null byte/character. Write unit tests for
string formats.

14 years agoMerged revisions 81971 via svnmerge from
Mark Dickinson [Sun, 13 Jun 2010 12:02:07 +0000 (12:02 +0000)]
Merged revisions 81971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81971 | mark.dickinson | 2010-06-13 13:01:34 +0100 (Sun, 13 Jun 2010) | 1 line

  Ezio Melotti was missing from Misc/ACKS.
........

14 years agoMerged revisions 81969 via svnmerge from
Mark Dickinson [Sun, 13 Jun 2010 11:07:57 +0000 (11:07 +0000)]
Merged revisions 81969 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81969 | mark.dickinson | 2010-06-13 12:07:00 +0100 (Sun, 13 Jun 2010) | 1 line

  Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews.
........

14 years agoMerged revisions 81967 via svnmerge from
Mark Dickinson [Sun, 13 Jun 2010 10:52:38 +0000 (10:52 +0000)]
Merged revisions 81967 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines

  Issue #8986: erfc was raising OverflowError on Linux for arguments in
  the (approximate) range (-27.3, 30.0), as a result of an escaped errno
  value.
........

14 years agoRemove unnecessary brackets from docstring optional arguments.
Mark Dickinson [Sun, 13 Jun 2010 09:17:13 +0000 (09:17 +0000)]
Remove unnecessary brackets from docstring optional arguments.

14 years agoIssue #8973: Expanded Struct.__doc__.
Alexander Belopolsky [Sat, 12 Jun 2010 19:36:28 +0000 (19:36 +0000)]
Issue #8973: Expanded Struct.__doc__.

14 years agoBlocked revisions 81957 via svnmerge
Mark Dickinson [Sat, 12 Jun 2010 18:54:20 +0000 (18:54 +0000)]
Blocked revisions 81957 via svnmerge

........
  r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines

  Issue #8469:  Add standard sizes to table in struct documentation; additional
  clarifications and documentation tweaks.

  Backport of revisions 81955-81956 from py3k.
........

14 years agoIssue #8469: Reorder struct module sections for clarity; other minor tweaks.
Mark Dickinson [Sat, 12 Jun 2010 18:37:54 +0000 (18:37 +0000)]
Issue #8469:  Reorder struct module sections for clarity;  other minor tweaks.

14 years agoIssue #8469: add standard sizes to struct docs table.
Mark Dickinson [Sat, 12 Jun 2010 18:20:47 +0000 (18:20 +0000)]
Issue #8469: add standard sizes to struct docs table.

14 years agoMerged revisions 81953 via svnmerge from
Benjamin Peterson [Sat, 12 Jun 2010 17:54:44 +0000 (17:54 +0000)]
Merged revisions 81953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81953 | benjamin.peterson | 2010-06-12 12:47:06 -0500 (Sat, 12 Jun 2010) | 1 line

  fix warning with ucs4
........

14 years agoAdded acknowlegement for Issue #3129
Alexander Belopolsky [Sat, 12 Jun 2010 17:18:45 +0000 (17:18 +0000)]
Added acknowlegement for Issue #3129

14 years agoFix mild type confusion in decimal module docstring.
Mark Dickinson [Sat, 12 Jun 2010 16:37:53 +0000 (16:37 +0000)]
Fix mild type confusion in decimal module docstring.

14 years agoMore struct module docs and docstring tweaks.
Mark Dickinson [Sat, 12 Jun 2010 16:30:53 +0000 (16:30 +0000)]
More struct module docs and docstring tweaks.

14 years agoIssue #8973: Improve struct module docstrings.
Mark Dickinson [Sat, 12 Jun 2010 15:43:45 +0000 (15:43 +0000)]
Issue #8973:  Improve struct module docstrings.

14 years agoRemove accidental (yet-to-be-reviewed) docstring changes included in r81947.
Mark Dickinson [Sat, 12 Jun 2010 15:19:23 +0000 (15:19 +0000)]
Remove accidental (yet-to-be-reviewed) docstring changes included in r81947.

14 years agoIssue #8973: Add __all__ to struct module, so that help(struct) correctly
Mark Dickinson [Sat, 12 Jun 2010 15:17:02 +0000 (15:17 +0000)]
Issue #8973:  Add __all__ to struct module, so that help(struct) correctly
displays information for the struct.Struct class.

14 years agoBlocked revisions 81945 via svnmerge
Nick Coghlan [Sat, 12 Jun 2010 13:46:56 +0000 (13:46 +0000)]
Blocked revisions 81945 via svnmerge

........
  r81945 | nick.coghlan | 2010-06-12 23:45:37 +1000 (Sat, 12 Jun 2010) | 1 line

  Backport a fix from Py3k for a potentially misleading example
........

14 years agoMerged revisions 80578 via svnmerge from
Nick Coghlan [Sat, 12 Jun 2010 13:42:46 +0000 (13:42 +0000)]
Merged revisions 80578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80578 | nick.coghlan | 2010-04-29 00:29:06 +1000 (Thu, 29 Apr 2010) | 1 line

  Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro)
........

14 years agoRemove unused variable.
Mark Dickinson [Sat, 12 Jun 2010 09:25:13 +0000 (09:25 +0000)]
Remove unused variable.

14 years agoIssue #8981: Remove _struct.__version__.
Mark Dickinson [Sat, 12 Jun 2010 09:24:01 +0000 (09:24 +0000)]
Issue #8981:  Remove _struct.__version__.

14 years agoSilence 'unused variable' gcc warning. Patch by Éric Araujo.
Mark Dickinson [Sat, 12 Jun 2010 09:10:14 +0000 (09:10 +0000)]
Silence 'unused variable' gcc warning.  Patch by Éric Araujo.

14 years agoCalling __import__ as a method technically works, but really should be wrapped
Brett Cannon [Sat, 12 Jun 2010 00:39:28 +0000 (00:39 +0000)]
Calling __import__ as a method technically works, but really should be wrapped
in a staticmethod. This is important for when __import__ is set to a function
defined in Python instead of C.

14 years agoWhen dealing with __import__ for detecting a global state change made by a
Brett Cannon [Sat, 12 Jun 2010 00:38:29 +0000 (00:38 +0000)]
When dealing with __import__ for detecting a global state change made by a
test, make sure to check if __builtins__ is a dict or not.

Discovered when running importlib.test.regrtest.

14 years agoIssue #8969: On Windows, use mbcs codec in strict mode to encode and decode
Victor Stinner [Fri, 11 Jun 2010 23:56:51 +0000 (23:56 +0000)]
Issue #8969: On Windows, use mbcs codec in strict mode to encode and decode
filenames and enable os.fsencode().

14 years agoIssue #8784: Set tarfile default encoding to 'utf-8' on Windows.
Victor Stinner [Fri, 11 Jun 2010 23:46:47 +0000 (23:46 +0000)]
Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.

Note: file system encoding cannot be None anymore (since r81190, issue #8610).

14 years agoFix some bugs in c-api/arg.rst documentation
Victor Stinner [Fri, 11 Jun 2010 23:30:12 +0000 (23:30 +0000)]
Fix some bugs in c-api/arg.rst documentation

 * replace "the default encoding" by "'utf-8' encoding"
 * fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#"
   and not "s" / "s*" / "s#"
 * "u#": remove "Non-Unicode objects are handled by interpreting their
   read-buffer pointer ...", it's no more true
 * "es", "es#": remove "... and objects convertible to Unicode into a character
   buffer", it's no more true
 * Py_BuildValue(), "K" and "L" formats: specify the name of the C type on
   Windows (_int64 / unsigned _int64) as done for PyArg_Parse*() long long
   types
--CETTE ligne, et les suivantes ci-dessous, seront ignorées--

M    Doc/c-api/arg.rst

14 years agoIssue #8965: Write more tests for sys.getfilesystemencoding()
Victor Stinner [Fri, 11 Jun 2010 23:06:13 +0000 (23:06 +0000)]
Issue #8965: Write more tests for sys.getfilesystemencoding()

14 years agoreadline: use PyUnicode_FSConverter() to parse filenames
Victor Stinner [Fri, 11 Jun 2010 22:27:14 +0000 (22:27 +0000)]
readline: use PyUnicode_FSConverter() to parse filenames

14 years agoIssue #8965: Add a regression test to test_sys with LANG=C
Victor Stinner [Fri, 11 Jun 2010 22:17:52 +0000 (22:17 +0000)]
Issue #8965: Add a regression test to test_sys with LANG=C

14 years agolocale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filename
Victor Stinner [Fri, 11 Jun 2010 22:09:51 +0000 (22:09 +0000)]
locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filename

14 years agoMerged revisions 81906 via svnmerge from
Benjamin Peterson [Fri, 11 Jun 2010 21:53:07 +0000 (21:53 +0000)]
Merged revisions 81906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81906 | benjamin.peterson | 2010-06-11 16:40:37 -0500 (Fri, 11 Jun 2010) | 1 line

  different spellings are just unacceptable
........

14 years agoIssue #8966: If a ctypes structure field is an array of c_char, convert its
Victor Stinner [Fri, 11 Jun 2010 21:50:30 +0000 (21:50 +0000)]
Issue #8966: If a ctypes structure field is an array of c_char, convert its
value to bytes instead of str (as done for c_char and c_char_p).

14 years agoMerged revisions 81907 via svnmerge from
Antoine Pitrou [Fri, 11 Jun 2010 21:46:32 +0000 (21:46 +0000)]
Merged revisions 81907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines

  Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
  the interpreter with characters outside the Basic Multilingual Plane
  (higher than 0x10000).
........

14 years agoBlocked revisions 81904 via svnmerge
Mark Dickinson [Fri, 11 Jun 2010 20:29:09 +0000 (20:29 +0000)]
Blocked revisions 81904 via svnmerge

........
  r81904 | mark.dickinson | 2010-06-11 21:27:05 +0100 (Fri, 11 Jun 2010) | 4 lines

  Fix possible undefined behaviour from signed overflow in struct module.

  Backport of revisions 81897, 81898 and 81902 from py3k.
........

14 years agoFix more undefined-behaviour inducing overflow checks in struct module.
Mark Dickinson [Fri, 11 Jun 2010 19:50:30 +0000 (19:50 +0000)]
Fix more undefined-behaviour inducing overflow checks in struct module.

14 years agoBlocked revisions 81899 via svnmerge
Victor Stinner [Fri, 11 Jun 2010 19:24:36 +0000 (19:24 +0000)]
Blocked revisions 81899 via svnmerge

........
  r81899 | victor.stinner | 2010-06-11 21:22:28 +0200 (ven., 11 juin 2010) | 2 lines

  Issue #8362: Add Misc/maintainers.rst: list of module maintainers
........

14 years agoFix an incorrect return type.
Mark Dickinson [Fri, 11 Jun 2010 19:05:08 +0000 (19:05 +0000)]
Fix an incorrect return type.

14 years agoAvoid possible undefined behaviour from signed overflow.
Mark Dickinson [Fri, 11 Jun 2010 16:56:34 +0000 (16:56 +0000)]
Avoid possible undefined behaviour from signed overflow.

14 years agoFix typo in docstring.
Mark Dickinson [Fri, 11 Jun 2010 16:49:20 +0000 (16:49 +0000)]
Fix typo in docstring.

14 years agoIssue #3129: Trailing digits in format string are no longer ignored.
Alexander Belopolsky [Fri, 11 Jun 2010 16:04:59 +0000 (16:04 +0000)]
Issue #3129: Trailing digits in format string are no longer ignored.

14 years agoFix issue number typo.
Mark Dickinson [Fri, 11 Jun 2010 10:46:57 +0000 (10:46 +0000)]
Fix issue number typo.

14 years agoIssue #8188: Comparisons between Decimal objects and other numeric
Mark Dickinson [Fri, 11 Jun 2010 10:44:52 +0000 (10:44 +0000)]
Issue #8188: Comparisons between Decimal objects and other numeric
objects (Fraction, float, complex, int) now all function as expected.

14 years agoMerged revisions 81889 via svnmerge from
Ezio Melotti [Fri, 11 Jun 2010 02:26:42 +0000 (02:26 +0000)]
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.
........

14 years agotest_sys: add a test on the file system encoding for darwin
Victor Stinner [Fri, 11 Jun 2010 00:41:41 +0000 (00:41 +0000)]
test_sys: add a test on the file system encoding for darwin

14 years agoIssue #8965: initfsencoding() doesn't change the encoding on Mac OS X
Victor Stinner [Fri, 11 Jun 2010 00:36:33 +0000 (00:36 +0000)]
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.

14 years agoMerged revisions 81878 via svnmerge from
Michael Foord [Thu, 10 Jun 2010 20:41:54 +0000 (20:41 +0000)]
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)
........

14 years agoBlocked revisions 81876 via svnmerge
Michael Foord [Thu, 10 Jun 2010 16:33:34 +0000 (16:33 +0000)]
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.
........

14 years agoMerged revisions 81859 via svnmerge from
Michael Foord [Thu, 10 Jun 2010 16:17:07 +0000 (16:17 +0000)]
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.
........

14 years agoMerged revisions 81853 via svnmerge from
Michael Foord [Thu, 10 Jun 2010 16:16:08 +0000 (16:16 +0000)]
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().
........

14 years agoIssue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,
Mark Dickinson [Thu, 10 Jun 2010 16:05:10 +0000 (16:05 +0000)]
Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,
instead of warning.  This makes it consistent with the other integer
codes.

14 years agoFix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1
Victor Stinner [Thu, 10 Jun 2010 13:36:23 +0000 (13:36 +0000)]
Fix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1

Don't use normalize_encoding() result if it is truncated.

14 years agoIssue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() to
Victor Stinner [Thu, 10 Jun 2010 12:00:55 +0000 (12:00 +0000)]
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().

14 years agoMerged revisions 81864 via svnmerge from
Alexander Belopolsky [Wed, 9 Jun 2010 17:11:01 +0000 (17:11 +0000)]
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.
........

14 years agoMerged revisions 81860 via svnmerge from
Antoine Pitrou [Wed, 9 Jun 2010 16:38:55 +0000 (16:38 +0000)]
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
........

14 years agoIssue #8932: Skip required when compiled --without-threads.
Stefan Krah [Wed, 9 Jun 2010 08:56:28 +0000 (08:56 +0000)]
Issue #8932: Skip required when compiled --without-threads.

14 years agohttp://bugs.python.org/issue8832
Kristján Valur Jónsson [Wed, 9 Jun 2010 08:13:42 +0000 (08:13 +0000)]
http://bugs.python.org/issue8832
Issue minidom.unlink with a context manager

14 years agoIssue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format
Victor Stinner [Tue, 8 Jun 2010 22:54:19 +0000 (22:54 +0000)]
Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format

Remove last references to the "char buffer" of the buffer protocol from
Python3.

14 years agoFix #8946. Extra PyObject* parameter documented which doesn't exist.
Brian Curtin [Tue, 8 Jun 2010 22:27:07 +0000 (22:27 +0000)]
Fix #8946. Extra PyObject* parameter documented which doesn't exist.

14 years agoPyArg_Parse*("Z#") raises an error for unknown type
Victor Stinner [Tue, 8 Jun 2010 21:45:51 +0000 (21:45 +0000)]
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.

14 years agoPy_FatalError(): don't sys sys.last_xxx variables
Victor Stinner [Tue, 8 Jun 2010 21:00:13 +0000 (21:00 +0000)]
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).

14 years agoFix a compile warning missed during porting (wchar_t/char) and move a
Brian Curtin [Tue, 8 Jun 2010 20:57:52 +0000 (20:57 +0000)]
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.

14 years agosys_pyfile_write() does nothing if file is NULL
Victor Stinner [Tue, 8 Jun 2010 20:46:00 +0000 (20:46 +0000)]
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.

14 years agoMerged revisions 81489 via svnmerge from
Alexander Belopolsky [Tue, 8 Jun 2010 18:59:20 +0000 (18:59 +0000)]
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.
........

14 years agoAdded myself as a maintainer of time and datetime modules.
Alexander Belopolsky [Tue, 8 Jun 2010 17:06:48 +0000 (17:06 +0000)]
Added myself as a maintainer of time and datetime modules.

14 years agoMerged revisions 81834 via svnmerge from
Benjamin Peterson [Tue, 8 Jun 2010 14:57:22 +0000 (14:57 +0000)]
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
........

14 years agoNow that sunau has some tests, remove it from test_sundry.
R. David Murray [Tue, 8 Jun 2010 14:41:45 +0000 (14:41 +0000)]
Now that sunau has some tests, remove it from test_sundry.

14 years agoAdd note for r81830.
Stefan Krah [Tue, 8 Jun 2010 14:00:52 +0000 (14:00 +0000)]
Add note for r81830.

14 years agoIssue #7384: If the system readline library is linked against ncurses,
Stefan Krah [Tue, 8 Jun 2010 13:41:44 +0000 (13:41 +0000)]
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!

14 years agoBlocked revisions 81669,81672,81683 via svnmerge
Stefan Krah [Tue, 8 Jun 2010 13:26:49 +0000 (13:26 +0000)]
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.
........

14 years agoBlocked revisions 81825 via svnmerge
Benjamin Peterson [Mon, 7 Jun 2010 22:36:44 +0000 (22:36 +0000)]
Blocked revisions 81825 via svnmerge

........
  r81825 | benjamin.peterson | 2010-06-07 17:33:09 -0500 (Mon, 07 Jun 2010) | 1 line

  use unicode literals
........

14 years agoMerged revisions 81824 via svnmerge from
Benjamin Peterson [Mon, 7 Jun 2010 22:35:08 +0000 (22:35 +0000)]
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
........

14 years agoMerged revisions 81820 via svnmerge from
Benjamin Peterson [Mon, 7 Jun 2010 22:31:26 +0000 (22:31 +0000)]
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
........

14 years agouse the 's' format code instead of 'U'
Benjamin Peterson [Mon, 7 Jun 2010 22:24:18 +0000 (22:24 +0000)]
use the 's' format code instead of 'U'

14 years agoBlocked revisions 81817 via svnmerge
Ezio Melotti [Mon, 7 Jun 2010 22:02:50 +0000 (22:02 +0000)]
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.
........

14 years agoBlocked revisions 81769 via svnmerge
Ezio Melotti [Mon, 7 Jun 2010 21:57:18 +0000 (21:57 +0000)]
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.
........

14 years agoMerged revisions 81813 via svnmerge from
Benjamin Peterson [Mon, 7 Jun 2010 21:41:35 +0000 (21:41 +0000)]
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'
........

14 years agoIssue #8925: fix types of Py_Parse*() and Py_BuildValue() functions
Victor Stinner [Mon, 7 Jun 2010 21:20:41 +0000 (21:20 +0000)]
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.

14 years agoIssue #8897: Fix sunau module, use bytes to write the header. Patch written by
Victor Stinner [Mon, 7 Jun 2010 20:14:04 +0000 (20:14 +0000)]
Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
Thomas Jollans.

14 years agoIssue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
Victor Stinner [Mon, 7 Jun 2010 19:57:46 +0000 (19:57 +0000)]
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#

14 years agoFix naming inconsistency.
Mark Dickinson [Mon, 7 Jun 2010 18:47:09 +0000 (18:47 +0000)]
Fix naming inconsistency.

14 years agoconvertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure
Victor Stinner [Sun, 6 Jun 2010 20:38:02 +0000 (20:38 +0000)]
convertsimple(): call PyErr_NoMemory() on PyMem_NEW() failure

Raise a more revelant error (MemoryError instead of TypeError)

14 years agoSimplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL
Victor Stinner [Sun, 6 Jun 2010 20:27:51 +0000 (20:27 +0000)]
Simplify getbuffer(): convertbuffer() fails anyway if bf_getbuffer is NULL

14 years agoMerged revisions 81788 via svnmerge from
Tarek Ziadé [Sun, 6 Jun 2010 20:18:42 +0000 (20:18 +0000)]
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
........

14 years agobltn-file-objects don't exist in python3
Benjamin Peterson [Sun, 6 Jun 2010 02:44:41 +0000 (02:44 +0000)]
bltn-file-objects don't exist in python3

14 years agoreST indentation nit
Benjamin Peterson [Sun, 6 Jun 2010 02:41:24 +0000 (02:41 +0000)]
reST indentation nit

14 years agofix typo
Benjamin Peterson [Sun, 6 Jun 2010 02:40:38 +0000 (02:40 +0000)]
fix typo

14 years agoMerged revisions 81774-81775 via svnmerge from
Benjamin Peterson [Sun, 6 Jun 2010 02:32:09 +0000 (02:32 +0000)]
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
........

14 years agoBlocked revisions 81772-81773,81777 via svnmerge
Benjamin Peterson [Sun, 6 Jun 2010 02:14:27 +0000 (02:14 +0000)]
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
........

14 years agoMerged revisions 81770 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 23:59:34 +0000 (23:59 +0000)]
Merged revisions 81770 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81770 | michael.foord | 2010-06-06 00:58:40 +0100 (Sun, 06 Jun 2010) | 1 line

  Code formatting change.
........

14 years agoMerged revisions 81767 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:59:55 +0000 (21:59 +0000)]
Merged revisions 81767 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81767 | michael.foord | 2010-06-05 22:57:03 +0100 (Sat, 05 Jun 2010) | 1 line

  Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
........

14 years agoMerged revisions 81764 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:12:23 +0000 (21:12 +0000)]
Merged revisions 81764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81764 | michael.foord | 2010-06-05 21:59:00 +0100 (Sat, 05 Jun 2010) | 1 line

  Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors.
........

14 years agoMerged revisions 81763 via svnmerge from
Michael Foord [Sat, 5 Jun 2010 21:01:08 +0000 (21:01 +0000)]
Merged revisions 81763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81763 | michael.foord | 2010-06-05 21:33:43 +0100 (Sat, 05 Jun 2010) | 1 line

  Tests for unittest.TestCase.maxDiff.
........

14 years agoBlocked revisions 81761 via svnmerge
Michael Foord [Sat, 5 Jun 2010 19:58:25 +0000 (19:58 +0000)]
Blocked revisions 81761 via svnmerge

........
  r81761 | michael.foord | 2010-06-05 20:51:38 +0100 (Sat, 05 Jun 2010) | 1 line

  Updated NEWS file.
........

14 years agoMerged revisions 81756 via svnmerge from
Alexander Belopolsky [Sat, 5 Jun 2010 15:04:51 +0000 (15:04 +0000)]
Merged revisions 81756 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81756 | alexander.belopolsky | 2010-06-05 10:54:26 -0400 (Sat, 05 Jun 2010) | 1 line

  Issue #8899: time.struct_time now has class and atribute docstrings.
........