Commit graph

41666 commits

Author SHA1 Message Date
briancurtin
94eceeb89c Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
2011-03-14 15:35:35 -04:00
Ronald Oussoren
250324952e Fixes #1099: Mac compile fails with pydebug and framework enabled
Without this patch "./configure --with-pydebug --enable-framework CC=gcc-4.0" fails on MacOSX
2011-03-14 10:11:59 -04:00
R David Murray
d89ee79d19 #11488: Add tests for writelines method of SpooledTemporaryFile.
Patch by Evan Dandrea.
2011-03-14 09:55:46 -04:00
Ross Lagerwall
8fea2e6a50 Issue #10885: Fix multiprocessing docs typo 2011-03-14 10:40:15 +02:00
R David Murray
d79210a0e4 #11490: EACCES can also mean command not found 2011-03-13 22:13:09 -04:00
Antoine Pitrou
6b19e50e9b Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) 2011-03-13 19:31:11 +01:00
Ezio Melotti
2b73660135 Fix markup in inputoutput.rst. 2011-03-13 02:19:57 +02:00
Ezio Melotti
77845ce55a Fix typo. 2011-03-12 22:25:06 +02:00
Benjamin Peterson
ab2b71699c trunc -> math.trunc (closes #11475) 2011-03-12 11:58:15 -06:00
Mark Dickinson
37a79fb75b Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations in ROUND_FLOOR rounding mode. 2011-03-12 11:12:52 +00:00
Senthil Kumaran
abd4a05561 Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex 2011-03-12 11:40:25 +08:00
Antoine Pitrou
26606fd23f Issue #11403: add some MSVC-generated files to .hgignore 2011-03-11 23:42:49 +01:00
Ezio Melotti
7885833df0 #11446: fix incorrect PEP link. 2011-03-11 20:50:42 +02:00
Eli Bendersky
9cc6249dee Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 16:33:36 +02:00
R David Murray
30178068d9 #10999: Add missing documentation for chflags constants to stat module docs
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a Use simpler assert in basic example. 2011-03-10 23:38:18 +02:00
Gregory P. Smith
c542547211 Reword the finalization note. 2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272 Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti
2d1e88a4d1 Backport from 3.2 several improvements and fixes for unittest.rst. 2011-03-10 12:16:35 +02:00
Antoine Pitrou
7983d33f54 Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.
2011-03-09 12:34:41 +01:00
Ned Deily
d2853180df Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
2011-03-09 02:36:51 -08:00
Vinay Sajip
c8ab6eeb01 Issue #11444: Lock handlers while flushing/closing during shutdown. 2011-03-08 22:49:57 +00:00
Benjamin Peterson
49d7149e6d transform izip_longest #11424 2011-03-07 22:50:37 -06:00
Vinay Sajip
3f84b07816 Issue #11424: Fix bug in determining child loggers. 2011-03-07 17:49:33 +00:00
Benjamin Peterson
d86e4c8673 only do this sys.stderr replacing on CPython 2011-03-06 17:14:30 -06:00
Thomas Wouters
81638f1351 Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.
2011-03-06 11:49:15 -08:00
Martin v. Löwis
21967d0b4d Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
2011-03-06 11:28:23 +01:00
Georg Brandl
1d0a0f5060 #11294: add missing ERA_T_FMT to locale docs. 2011-03-06 11:09:51 +01:00
Georg Brandl
931e5c1038 #11292: add missing A_REVERSE to curses attribute table. 2011-03-06 11:08:35 +01:00
Georg Brandl
a2388be2af #11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ]. 2011-03-06 11:07:11 +01:00
Georg Brandl
45ec333c72 #11227: use Host header in asyncore example. 2011-03-06 11:05:03 +01:00
Georg Brandl
12a6153aee #11373: fix spelling. 2011-03-06 10:57:52 +01:00
Georg Brandl
3640e18d90 #11405: do not reference the string module again for its deprecated functions, only for Template class. 2011-03-06 10:56:18 +01:00
Georg Brandl
da2271939a #11392: you can trust the computer, but you have to know what it does. 2011-03-06 10:53:55 +01:00
Georg Brandl
e32acd0d79 #11337: remove unreferenced footnote. 2011-03-06 10:51:18 +01:00
Georg Brandl
310337f828 #11400: remove reference to pre-1.5 assignment behavior. 2011-03-06 10:48:43 +01:00
Georg Brandl
8256242b30 Adapt platform and test_platform to the build identification changes. 2011-03-05 21:09:22 +01:00
Georg Brandl
1ca2e7965c Commit the hg build identification patch from the pymigr repo. 2011-03-05 20:51:24 +01:00
Antoine Pitrou
7b50c2c6ae Fix buildbot failure following 97a5590b9291 2011-03-06 01:47:18 +01:00
Antoine Pitrou
16a0a0b0a0 Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.
2011-03-06 01:11:03 +01:00
Georg Brandl
3c2ccf2936 More tag fixups. 2011-03-05 20:29:01 +01:00
Georg Brandl
5537d298ea Add updated .hgeol file and fix newlines in the 3.1 branch. 2011-03-05 15:10:38 +01:00
Georg Brandl
6e63a41801 Fix tag references in 3.1 branch. 2011-03-05 15:10:23 +01:00
Giampaolo Rodolà
2f95dc0225 Merged revisions 88722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line

  Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........
2011-03-03 14:09:45 +00:00
Antoine Pitrou
88f416e425 Apparently, skipUnless() doesn't prevent the execution of
setUp() under 3.1.
2011-03-01 00:29:11 +00:00
Antoine Pitrou
9e719b6eba Merged revisions 88460,88464,88466,88486,88511,88652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88460 | antoine.pitrou | 2011-02-21 19:03:13 +0100 (lun., 21 févr. 2011) | 4 lines

  Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers
  larger than 4GB.  Patch by Nadeem Vawda.
........
  r88464 | antoine.pitrou | 2011-02-21 20:05:08 +0100 (lun., 21 févr. 2011) | 3 lines

  Fix issues on 32-bit systems introduced by r88460
........
  r88466 | antoine.pitrou | 2011-02-21 20:28:40 +0100 (lun., 21 févr. 2011) | 3 lines

  Fix compile error under MSVC introduced by r88460.
........
  r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines

  Issue #4681: Allow mmap() to work on file sizes and offsets larger than
  4GB, even on 32-bit builds.  Initial patch by Ross Lagerwall, adapted for
  32-bit Windows.
........
  r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines

  Issue #11277: finally fix Snow Leopard crash following r88460.
  (probably an OS-related issue with mmap)
........
  r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines

  Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
  Patch by Hirokazu Yamamoto.
........
2011-02-28 23:48:16 +00:00
Éric Araujo
6c04569ada Typos 2011-02-26 14:48:42 +00:00
Éric Araujo
9dba9c4611 Final update and deprecation of maintainers.rst.
This file has been removed from 3.2 and moved to the devguide.  I think
the safe choice for the stable branches is to keep it with a warning
and link.
2011-02-26 13:02:50 +00:00
Éric Araujo
682f6a7a1c Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:46:00 +00:00
Georg Brandl
bd65e7fa46 Markup backport fix. 2011-02-25 11:27:55 +00:00