Commit graph

48682 commits

Author SHA1 Message Date
Raymond Hettinger
f56c9cd30d Backport doc readability improvements for the collections module. 2010-08-08 00:32:32 +00:00
Raymond Hettinger
a6b76ba52e Improve readability of collections docs by adding a summary table
at the top and by list concrete classes before abstract base classes.
2010-08-08 00:29:08 +00:00
Benjamin Peterson
a09fabc14b set svn:eol-style 2010-08-08 00:04:26 +00:00
Raymond Hettinger
a2156c0b36 Fix typo 2010-08-07 23:38:16 +00:00
Raymond Hettinger
648e725712 Fix typo 2010-08-07 23:37:37 +00:00
Raymond Hettinger
0a9b5189d8 Document implementation notes for priority queues 2010-08-07 23:33:05 +00:00
Raymond Hettinger
0e833c3227 Document implementation notes for priority queues 2010-08-07 23:31:27 +00:00
Raymond Hettinger
c60f454af5 Backport doc updates for the bisect module 2010-08-07 21:40:14 +00:00
Benjamin Peterson
fa45076cbd kill outdated comment 2010-08-07 21:32:12 +00:00
Raymond Hettinger
769b6d3009 Clean-up docstring in examples. 2010-08-07 21:31:55 +00:00
Victor Stinner
0a3ddad666 Issue #9425: Create run_file() subfunction
* Call Py_MakePendingCalls() before converting the filename from
   wchar_t* to char*
 * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
2010-08-07 16:34:25 +00:00
Mark Dickinson
998308b75a Merged revisions 83780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83780 | mark.dickinson | 2010-08-07 13:33:36 +0100 (Sat, 07 Aug 2010) | 1 line

  Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
........
2010-08-07 13:05:49 +00:00
Mark Dickinson
af43e9a288 Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses. 2010-08-07 12:33:36 +00:00
Victor Stinner
a62207c584 Issue #9425: Create run_command() subfunction
Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
2010-08-07 10:57:17 +00:00
Victor Stinner
6c6f851eae Issue #9425: skip tests if a filename is not encodable 2010-08-07 10:09:35 +00:00
Raymond Hettinger
87c9d6cf9c Improve the docs for bisect to cover common searching tasks. 2010-08-07 07:36:55 +00:00
Raymond Hettinger
1b66996281 Fix nit (sentinel on lhs of comparison). 2010-08-07 05:54:08 +00:00
Raymond Hettinger
08d01eedef Add partition recipe to itertools docs. 2010-08-07 05:36:53 +00:00
Raymond Hettinger
e9499aef0a Fix markup 2010-08-07 04:19:49 +00:00
Brian Curtin
80cd4bff53 Merged revisions 83771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83771 | brian.curtin | 2010-08-06 22:47:21 -0500 (Fri, 06 Aug 2010) | 3 lines

  Fix an assertRaises situation and typo. Also pass all tests to run_unittest
  rather than do it by platform -- the proper skips are in place already.
........
2010-08-07 03:52:38 +00:00
Brian Curtin
42143562c2 Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.
2010-08-07 03:47:21 +00:00
Raymond Hettinger
86f9613957 Improve the whatsnew article on the lru/lfu cache decorators. 2010-08-06 23:23:49 +00:00
Mark Dickinson
7e3b948cfe Issue #9530: Fix a couple of places where undefined behaviour can
occur, as a result of signed integer overflow.
2010-08-06 21:33:18 +00:00
R. David Murray
d0511b0efb Add xml subpackages, since they are likely to have different maintainers.
And if not they can be merged back together when that becomes apparent.
2010-08-06 21:18:49 +00:00
Brian Curtin
b42a21df11 Include Windows.h for BOOL. 2.7 and 3.2 already had this due to
a feature 3.1 doesn't have. Followup to #9324.
2010-08-06 19:52:50 +00:00
Brian Curtin
3f004b1cc0 Merged revisions 83763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines

  Fix #9324: Add parameter validation to signal.signal on Windows in order
  to prevent crashes.
........
2010-08-06 19:34:52 +00:00
Brian Curtin
ef9efbd69c Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.
2010-08-06 19:27:32 +00:00
Mark Dickinson
e6fc7401a9 In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX]. 2010-08-06 18:55:26 +00:00
Tim Golden
40b3744efa Issue #3210: Ensure stdio handles are closed if CreateProcess fails 2010-08-06 13:20:12 +00:00
Tim Golden
af5ac3974b Issue #3210: Ensure stdio handles are closed if CreateProcess fails 2010-08-06 13:03:56 +00:00
Martin v. Löwis
2e3d539ce2 Change pyc removal to support __pycache__. 2010-08-06 10:43:31 +00:00
Raymond Hettinger
51ced7afe7 Issue8757: Implicit set-to-frozenset conversion not thread-safe. 2010-08-06 09:57:49 +00:00
Raymond Hettinger
38bf2ccf4c Issue8757: Implicit set-to-frozenset conversion not thread-safe. 2010-08-06 09:52:17 +00:00
Mark Dickinson
13197f4e29 Merged revisions 83751-83752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83751 | mark.dickinson | 2010-08-06 10:36:57 +0100 (Fri, 06 Aug 2010) | 1 line

  Issue #9526:  Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.
........
  r83752 | mark.dickinson | 2010-08-06 10:38:58 +0100 (Fri, 06 Aug 2010) | 1 line

  Misc/NEWS entry for r83751.
........
2010-08-06 09:42:28 +00:00
Mark Dickinson
4f3086f264 Misc/NEWS entry for r83751. 2010-08-06 09:38:58 +00:00
Mark Dickinson
346f0af4f6 Issue #9526: Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB. 2010-08-06 09:36:57 +00:00
Raymond Hettinger
373e78c6f5 Fix the VS8.0 build 2010-08-06 09:22:46 +00:00
Gerhard Häring
5d8cd24100 Issue #3854: Documented using the sqlite3 module with multiple threads. 2010-08-06 06:13:25 +00:00
Gerhard Häring
c34d76cdc3 Issue #3854: Documented using the sqlite3 module with multiple threads. 2010-08-06 06:12:05 +00:00
Brian Curtin
f045d775fd Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.
2010-08-05 18:56:00 +00:00
Alexander Belopolsky
6fc4ade2bb Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
2010-08-05 17:34:27 +00:00
Gerhard Häring
1c5471f319 Issue #6683: For SMTP logins we now try all authentication methods advertised
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.
2010-08-05 14:08:44 +00:00
Alexandre Vassalotti
ae7801813c Issue 5077: Add documentation for operator fixer.
Patch by Meador Inge.
2010-08-05 07:12:18 +00:00
Mark Dickinson
388122d43b Issue #9337: Make float.__str__ identical to float.__repr__.
(And similarly for complex numbers.)
2010-08-04 20:56:28 +00:00
Martin v. Löwis
b6c5074920 Add Terry Reedy. 2010-08-04 19:08:20 +00:00
Mark Dickinson
e56a386e0e Merged revisions 83732 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83732 | mark.dickinson | 2010-08-04 19:42:43 +0100 (Wed, 04 Aug 2010) | 3 lines

  Issue #9498:  Add reference to sys.float_info from 'numeric types' docs.
  Thanks Yitz Gale.
........
2010-08-04 18:43:36 +00:00
Mark Dickinson
74f5902b04 Issue #9498: Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.
2010-08-04 18:42:43 +00:00
Antoine Pitrou
560f7647ce Issue #8814: function annotations (the __annotations__ attribute)
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper.  Patch by Terrence Cole.
2010-08-04 18:28:02 +00:00
Senthil Kumaran
fe2f4ecc14 Merged revisions 83729 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83729 | senthil.kumaran | 2010-08-04 23:16:23 +0530 (Wed, 04 Aug 2010) | 3 lines

  Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.
........
2010-08-04 17:49:13 +00:00
Senthil Kumaran
5626eec0c2 Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot. 2010-08-04 17:46:23 +00:00