| Fri, 05 Feb 2010 17:11:32 +0000 |
Antoine Pitrou |
Merged revisions 77989 via svnmerge from
2.6
|
| Thu, 01 Jan 2009 15:46:10 +0000 |
Georg Brandl |
Merged revisions 67952-67953,67955,67957-67958,67960-67961,67963,67965,67967,67970-67971,67973,67982,67988,67990,67995,68014,68016,68030,68057,68061,68112,68115-68118,68120-68121,68123-68128 via svnmerge from
2.6
|
| Thu, 25 Sep 2008 20:52:56 +0000 |
Amaury Forgeot d'Arc |
#3965: on Windows, open() crashes if the filename or the mode is invalid,
legacy-trunk
|
| Tue, 12 Aug 2008 14:49:50 +0000 |
Martin v. Löwis |
Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
legacy-trunk
|
| Tue, 10 Jun 2008 17:42:36 +0000 |
Gregory P. Smith |
More reverting of r63675 per the mailing list discussions. This restores
legacy-trunk
|
| Mon, 09 Jun 2008 04:58:54 +0000 |
Gregory P. Smith |
This reverts r63675 based on the discussion in this thread:
legacy-trunk
|
| Sun, 01 Jun 2008 07:20:46 +0000 |
Martin v. Löwis |
New environment variable PYTHONIOENCODING.
legacy-trunk
|
| Mon, 26 May 2008 12:51:38 +0000 |
Christian Heimes |
Renamed PyString to PyBytes
legacy-trunk
|
| Sat, 17 May 2008 22:11:54 +0000 |
Georg Brandl |
#2353: raise Py3k warning in file.xreadlines().
legacy-trunk
|
| Sun, 27 Apr 2008 18:40:21 +0000 |
Benjamin Peterson |
A little reformating of Py3k warnings
legacy-trunk
|
| Sun, 27 Apr 2008 03:01:45 +0000 |
Benjamin Peterson |
Use PyErr_WarnPy3k throughout
legacy-trunk
|
| Sun, 06 Apr 2008 23:11:17 +0000 |
Gregory P. Smith |
Make file objects as thread safe as the underlying libc FILE* implementation.
legacy-trunk
|
| Fri, 21 Mar 2008 20:38:24 +0000 |
Georg Brandl |
#2348: add py3k warning for file.softspace.
legacy-trunk
|
| Tue, 18 Mar 2008 15:35:58 +0000 |
Brett Cannon |
Remove all traces of HAVE_STRERROR.
legacy-trunk
|
| Tue, 18 Mar 2008 00:20:01 +0000 |
Gregory P. Smith |
Fix the IOError message text when opening a file with an invalid filename.
legacy-trunk
|
| Sat, 23 Feb 2008 15:11:18 +0000 |
Georg Brandl |
#2067: file.__exit__() now calls subclasses' close() method.
legacy-trunk
|
| Mon, 28 Jan 2008 02:07:53 +0000 |
Christian Heimes |
static PyObject* variables should use PyString_InternFromString() instead of PyObject_FromString() to store a python string in a function level static var.
legacy-trunk
|
| Wed, 19 Dec 2007 02:37:44 +0000 |
Christian Heimes |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
legacy-trunk
|
| Sat, 08 Dec 2007 14:37:43 +0000 |
Skip Montanaro |
Note that open() is the preferred way to open files (issue 1510).
legacy-trunk
|
| Sat, 22 Sep 2007 20:18:03 +0000 |
Guido van Rossum |
Patch # 188 by Philip Jenvey.
legacy-trunk
|
| Mon, 17 Sep 2007 03:28:34 +0000 |
Brett Cannon |
Add a bunch of GIL release/acquire points in tp_print implementations and for
legacy-trunk
|
| Sat, 21 Jul 2007 06:55:02 +0000 |
Martin v. Löwis |
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
legacy-trunk
|
| Thu, 26 Apr 2007 09:15:08 +0000 |
Kristján Valur Jónsson |
Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile.
legacy-trunk
|
| Tue, 23 Jan 2007 13:42:00 +0000 |
Thomas Wouters |
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize
legacy-trunk
|
| Sun, 12 Nov 2006 18:24:26 +0000 |
Martin v. Löwis |
Bug #1067760: Deprecate passing floats to file.seek.
legacy-trunk
|
| Tue, 23 Dec 2008 13:10:43 +0000 |
Martin v. Löwis |
Revert patch for #1706039, as it can crash the interpreter.
2.5
|
| Sat, 13 Dec 2008 15:36:49 +0000 |
Martin v. Löwis |
Issue #1706039: Support continued reading from a file even after
2.5
|
| Sat, 03 May 2008 07:12:23 +0000 |
Gregory P. Smith |
Backport r61468 from trunk: Improves the text of the IOError raised
2.5
|
| Mon, 07 May 2007 19:25:38 +0000 |
Kristján Valur Jónsson |
Merge change 54982 from the trunk. This fixes the test_subprocess test in the testsuite for VisualStudio2005 builds, by "sanitizing" the "mode" that is used in the posixmodule's fdopen(). In particular the non-standard "U" mode character is removed.
2.5
|
| Tue, 23 Jan 2007 13:54:30 +0000 |
Thomas Wouters |
Backport trunk revision 53527:
2.5
|
| Wed, 04 Oct 2006 12:17:45 +0000 |
Armin Rigo |
Forward-port of r52136,52138: a review of overflow-detecting code.
legacy-trunk
|
| Thu, 31 Aug 2006 18:54:26 +0000 |
Brett Cannon |
Make sure memory is properly cleaned up in file_init.
legacy-trunk
|
| Mon, 21 Aug 2006 18:20:10 +0000 |
Neal Norwitz |
Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev
legacy-trunk
|
| Mon, 17 Jul 2006 00:55:45 +0000 |
Neal Norwitz |
Stop INCREFing name, then checking if it's NULL. name (f_name) should never
legacy-trunk
|
| Sun, 16 Jul 2006 02:32:03 +0000 |
Neal Norwitz |
Handle a NULL name properly.
legacy-trunk
|
| Mon, 03 Jul 2006 14:59:05 +0000 |
Kristján Valur Jónsson |
Fix build problems with the platform SDK on windows. It is not sufficient to test for the C compiler version when determining if we have the secure CRT from microsoft. Must test with an undocumented macro, __STDC_SECURE_LIB__ too.
legacy-trunk
|
| Mon, 12 Jun 2006 15:45:12 +0000 |
Kristján Valur Jónsson |
Fix the CRT argument error handling for VisualStudio .NET 2005. Install a CRT error handler and disable the assertion for debug builds. This causes CRT to set errno to EINVAL.
legacy-trunk
|
| Sat, 10 Jun 2006 12:23:46 +0000 |
Martin v. Löwis |
Patch #1495999: Part two of Windows CE changes.
legacy-trunk
|
| Thu, 08 Jun 2006 14:50:21 +0000 |
Georg Brandl |
Bug #1502805: don't alias file.__exit__ to file.close since the
legacy-trunk
|
| Thu, 18 May 2006 07:01:27 +0000 |
Georg Brandl |
Bug #1462152: file() now checks more thoroughly for invalid mode
legacy-trunk
|
| Tue, 02 May 2006 19:47:52 +0000 |
Guido van Rossum |
Get rid of __context__, per the latest changes to PEP 343 and python-dev
legacy-trunk
|
| Tue, 02 May 2006 04:43:14 +0000 |
Neal Norwitz |
SF #1479181: split open() and file() from being aliases for each other.
legacy-trunk
|
| Thu, 13 Apr 2006 07:37:25 +0000 |
Martin v. Löwis |
Replace INT_MAX with PY_SSIZE_T_MAX where string length
legacy-trunk
|
| Thu, 13 Apr 2006 02:06:09 +0000 |
Anthony Baxter |
spread the extern "C" { } magic pixie dust around. Python itself builds now
legacy-trunk
|
| Tue, 11 Apr 2006 06:54:30 +0000 |
Anthony Baxter |
More C++-compliance. Note especially listobject.c - to get C++ to accept the
legacy-trunk
|
| Fri, 31 Mar 2006 20:31:02 +0000 |
Georg Brandl |
Bug #1177964: make file iterator raise MemoryError on too big files
legacy-trunk
|
| Thu, 30 Mar 2006 11:57:00 +0000 |
Georg Brandl |
Remove unnecessary casts in type object initializers.
legacy-trunk
|
| Fri, 10 Mar 2006 02:28:35 +0000 |
Guido van Rossum |
Um, I thought I'd already checked this in.
legacy-trunk
|
| Tue, 28 Feb 2006 21:57:43 +0000 |
Guido van Rossum |
Updates to the with-statement:
legacy-trunk
|
| Mon, 27 Feb 2006 16:46:16 +0000 |
Martin v. Löwis |
Revert backwards-incompatible const changes.
legacy-trunk
|
| Wed, 15 Feb 2006 17:27:45 +0000 |
Martin v. Löwis |
Merge ssize_t branch.
legacy-trunk
|
| Sun, 12 Feb 2006 11:53:32 +0000 |
Thomas Wouters |
SF patch #1397960: When mixing file-iteration and
legacy-trunk
|
| Sun, 08 Jan 2006 06:13:13 +0000 |
Neal Norwitz |
strlen() returns a size_t, get rid of 64-bit warning
legacy-trunk
|
| Thu, 15 Dec 2005 05:25:09 +0000 |
Neal Norwitz |
Revert r41662 and the part of 41552 that originally caused the problem
legacy-trunk
|
| Tue, 13 Dec 2005 16:44:02 +0000 |
Hye-Shik Chang |
Add a workaround for file.ftell() to raise IOError for ttys.
legacy-trunk
|
| Sat, 10 Dec 2005 18:50:16 +0000 |
Jeremy Hylton |
Add const to several API functions that take char *.
legacy-trunk
|
| Fri, 20 May 2005 03:07:06 +0000 |
Skip Montanaro |
Disallow opening files with modes 'aU' or 'wU' as specified by PEP
legacy-trunk
|
| Tue, 23 Jan 2007 15:09:19 +0000 |
Thomas Wouters |
Backport trunk revision 53527:
2.4
|
| Wed, 04 Oct 2006 10:13:32 +0000 |
Armin Rigo |
A review of overflow-detecting code in the 2.4 branch.
2.4
|
| Tue, 03 Oct 2006 18:43:28 +0000 |
Andrew M. Kuchling |
[Backport r50683 | neal.norwitz]
2.4
|