Commit graph

48682 commits

Author SHA1 Message Date
Victor Stinner
41a64a53a3 linecache.updatecache(): don't the lines into the cache on IOError
Use the same behaviour than Python 2.7.
2010-09-29 01:30:45 +00:00
Victor Stinner
35c52240dd Merged revisions 85088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85088 | victor.stinner | 2010-09-29 03:24:59 +0200 (mer., 29 sept. 2010) | 4 lines

  linecache.updatecache() returns an empty list on error

  lines variable was not set on IOError
........
2010-09-29 01:26:06 +00:00
Victor Stinner
78f43a73cb linecache.updatecache() returns an empty list on error
lines variable was not set on IOError
2010-09-29 01:24:59 +00:00
R. David Murray
d68d4e8e42 Have test_sqlite print version info when run in verbose mode. 2010-09-29 01:22:20 +00:00
R. David Murray
11cabcf73d #7110: have regrtest print test failures and tracebacks to stderr not stdout.
Patch by Sandro Tosi.
2010-09-29 01:08:05 +00:00
Antoine Pitrou
6ec5ed22b2 Merged revisions 85084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85084 | antoine.pitrou | 2010-09-29 01:59:51 +0200 (mer., 29 sept. 2010) | 5 lines

  Give a dedicated page to memoryview objects, so that they can be part
  of the concrete objects layer, while the buffer protocol is part of
  the abstract objects layer.
........
2010-09-29 00:01:41 +00:00
Antoine Pitrou
c663b58c9a Give a dedicated page to memoryview objects, so that they can be part
of the concrete objects layer, while the buffer protocol is part of
the abstract objects layer.
2010-09-28 23:59:51 +00:00
Antoine Pitrou
debf4dbf07 Merged revisions 85082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85082 | antoine.pitrou | 2010-09-29 01:39:41 +0200 (mer., 29 sept. 2010) | 4 lines

  Buffers are not sequence objects (!). Put them in the abstract objects layers
  instead.
........
2010-09-28 23:41:31 +00:00
Antoine Pitrou
f7ba2fa3d6 Buffers are not sequence objects (!). Put them in the abstract objects layers
instead.
2010-09-28 23:39:41 +00:00
Antoine Pitrou
9207f1d634 Merged revisions 85080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85080 | antoine.pitrou | 2010-09-29 01:04:04 +0200 (mer., 29 sept. 2010) | 3 lines

  Various improvements to the docs of the buffer API
........
2010-09-28 23:05:17 +00:00
Antoine Pitrou
99a00a455c Various improvements to the docs of the buffer API 2010-09-28 23:04:04 +00:00
R. David Murray
a0a89b9006 Merged revisions 85078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85078 | r.david.murray | 2010-09-28 18:25:18 -0400 (Tue, 28 Sep 2010) | 2 lines

  #9628: fix runtests.sh -x option so more than one test can be excluded.
........
2010-09-28 22:34:03 +00:00
R. David Murray
b78b4893a9 #9628: fix runtests.sh -x option so more than one test can be excluded. 2010-09-28 22:25:18 +00:00
Antoine Pitrou
c8f0196454 Fix compilation under Windows 2010-09-28 22:03:27 +00:00
Antoine Pitrou
6db43fdb3b Merged revisions 85075 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85075 | antoine.pitrou | 2010-09-28 23:52:30 +0200 (mar., 28 sept. 2010) | 3 lines

  Discourage use of the old buffer API funcs
........
2010-09-28 21:53:46 +00:00
Antoine Pitrou
a0b6873d47 Discourage use of the old buffer API funcs 2010-09-28 21:52:30 +00:00
Antoine Pitrou
3e1fd27b74 Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN,
retry the select() loop instead of bailing out.  This is because select()
can incorrectly report a socket as ready for reading (for example, if it
received some data with an invalid checksum).
2010-09-28 21:23:11 +00:00
Hirokazu Yamamoto
cc868d430b Issue #3612: Added new types to ctypes.wintypes. (CHAR and pointers) 2010-09-28 21:08:38 +00:00
Hirokazu Yamamoto
7405c200bb Updated PC/VC6 openssl build script. (for openssl-1.0.0a) 2010-09-28 18:36:04 +00:00
Hirokazu Yamamoto
313dab43fe Now perl path with spaces can be used. 2010-09-28 18:29:57 +00:00
Hirokazu Yamamoto
57b4163086 Reverted to r70917. 2010-09-28 17:55:53 +00:00
Antoine Pitrou
1ec68b132e Merged revisions 85066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85066 | antoine.pitrou | 2010-09-28 17:29:16 +0200 (mar., 28 sept. 2010) | 3 lines

  Issue #9970: improve C API documentation for memoryview objects
........
2010-09-28 15:33:25 +00:00
Antoine Pitrou
826903ece3 Issue #9970: improve C API documentation for memoryview objects 2010-09-28 15:29:16 +00:00
Ronald Oussoren
e9355de31b Merged revisions 85062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85062 | ronald.oussoren | 2010-09-28 16:38:31 +0200 (Tue, 28 Sep 2010) | 3 lines

  Fix for issue #9568.
........
2010-09-28 14:40:22 +00:00
Ronald Oussoren
01c428999a Fix for issue #9568. 2010-09-28 14:38:31 +00:00
Ronald Oussoren
478b2a8167 Merged revisions 85059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85059 | ronald.oussoren | 2010-09-28 15:57:58 +0200 (Tue, 28 Sep 2010) | 5 lines

  Add support for the ZSH shell to the "Update Shell Profile" script
  on MacOSX.

  Patch by Sylvain Mora, issue #9701.
........
2010-09-28 14:04:41 +00:00
Ronald Oussoren
9af738022e Add support for the ZSH shell to the "Update Shell Profile" script
on MacOSX.

Patch by Sylvain Mora, issue #9701.
2010-09-28 13:57:58 +00:00
Hirokazu Yamamoto
a0b551acf8 Changed order to see other test results. (Also temporary commit) 2010-09-28 09:46:48 +00:00
Hirokazu Yamamoto
b0a71a01f9 Run test_ttk_guionly in verbose mode. (This commit is temporary) 2010-09-28 09:11:21 +00:00
Mark Dickinson
fa41e60c9d Issue #9599: Tweak loghelper algorithm to return slightly improved results for powers of 2. 2010-09-28 07:22:27 +00:00
Hirokazu Yamamoto
d057cd62f7 Updated VS8.0 bz2.vcproj with PCBuild/vs9to8.py. 2010-09-28 07:03:40 +00:00
Vinay Sajip
805ddaa3da Issue #9947: logging: backported locking fix from py3k. 2010-09-27 21:51:36 +00:00
Vinay Sajip
3ab905f17b Issue #9945: logging: backported locking fixes from py3k. 2010-09-27 21:46:14 +00:00
Brett Cannon
5305a998d5 Since __import__ is not designed for general use, have its docstring point
people towards importlib.import_module().

Closes issue #7397.
2010-09-27 21:08:38 +00:00
Hirokazu Yamamoto
af08f93523 Blocked revisions 84762,84897,84902,84949 via svnmerge
........
  r84762 | hirokazu.yamamoto | 2010-09-13 14:59:38 +0900 | 1 line

  Updated PC/VS8.0 with PCBuild/vs9to8.py.
........
  r84897 | hirokazu.yamamoto | 2010-09-19 17:31:01 +0900 | 1 line

  Set svn:ignore to folders.
........
  r84902 | hirokazu.yamamoto | 2010-09-19 18:24:20 +0900 | 1 line

  Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
........
  r84949 | hirokazu.yamamoto | 2010-09-22 01:05:47 +0900 | 1 line

  Revert r84902 before committing better solution.
........
2010-09-27 19:21:57 +00:00
Antoine Pitrou
08ae02f11e Merged revisions 85032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85032 | antoine.pitrou | 2010-09-27 19:52:25 +0200 (lun., 27 sept. 2010) | 6 lines

  Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal is
  received.  Now sendall() properly calls signal handlers if necessary,
  and retries sending if these returned successfully, including on sockets
  with a timeout.
........
2010-09-27 18:14:43 +00:00
Brian Curtin
1771b54bed Implement #8521. Added named argument handling to winreg's CreateKeyEx,
DeleteKeyEx, and OpenKeyEx.

Note that CKE and DKE are new functions for 3.2 so I didn't give them a
versionchanged because of the existing versionadded. OpenKeyEx already
existed so it gets a versionchanged tag.
2010-09-27 17:56:36 +00:00
Antoine Pitrou
6d7df63837 Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal is
received.  Now sendall() properly calls signal handlers if necessary,
and retries sending if these returned successfully, including on sockets
with a timeout.
2010-09-27 17:52:25 +00:00
Alexander Belopolsky
0ae33611fa Issue 9941: Minor code cleanup before implementing the context manager feature:
- Eliminated code repetition between run and runctx;
  - Removed redundant calls to dict.key;
  - Removed unused "blabbed" attribute;
  - Simplified the loop in  write_results_file().
2010-09-27 15:49:20 +00:00
Vinay Sajip
76ca3b430c logging: Updated library configuration documentation. 2010-09-27 13:53:47 +00:00
Kristján Valur Jónsson
3b69db27d7 issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.
2010-09-27 05:32:54 +00:00
Senthil Kumaran
603ca41e27 Merged revisions 85025 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85025 | senthil.kumaran | 2010-09-27 06:56:03 +0530 (Mon, 27 Sep 2010) | 6 lines

  Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
  been added. This helps in accidental overwritting of User-Agent header to
  default value. To preserve the old behavior, only headers not in unredirected
  headers will be updated.
........
2010-09-27 01:28:10 +00:00
Senthil Kumaran
42ef4b1f4c Fix Issue1595365 - Adding the req.headers after the un-redirect headers have
been added. This helps in accidental overwritting of User-Agent header to
default value. To preserve the old behavior, only headers not in unredirected
headers will be updated.
2010-09-27 01:26:03 +00:00
Antoine Pitrou
cb15988114 Issue #8445: try to fix some buildbot failures on test_ttk_guionly.
Patch by Guilherme.
2010-09-26 16:36:33 +00:00
Vinay Sajip
4fbe4b340a logging: NullHandler optimisation. 2010-09-26 11:04:10 +00:00
Antoine Pitrou
a305ca786c Fix typo. 2010-09-25 22:12:00 +00:00
Vinay Sajip
9fdd11b3b6 Issue #9947: logging: Fixed locking bug in stopListening. 2010-09-25 17:48:25 +00:00
Vinay Sajip
32fb6a81f9 Issue #9945: logging: Fixed locking bugs in addHandler/removeHandler. 2010-09-25 17:42:36 +00:00
Georg Brandl
fda2106ac2 #9562: slight clarification. 2010-09-25 16:56:36 +00:00
Georg Brandl
a0fc3d37d3 #9944: fix typo. 2010-09-25 13:30:03 +00:00