Martin v. Löwis
d79fa9e504
Bug #1216 : Restore support for Visual Studio 2002.
2007-10-12 08:58:48 +00:00
Thomas Heller
d6f638188f
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.
...
See also https://bugs.launchpad.net/bugs/72505 .
2007-10-12 06:53:32 +00:00
Thomas Heller
5cf6ef84b9
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
...
Fixes issue #1777530 ; backported from trunk.
2007-09-14 20:05:26 +00:00
Georg Brandl
fed6bb7d70
Bug #1153 : repr.repr() now doesn't require set and dictionary items
...
to be orderable to properly represent them.
(backport from rev. 58122)
2007-09-12 19:00:10 +00:00
Brett Cannon
13bfa3a97b
Cause passing a string to generator.throw() to raise a deprecation warning.
2007-09-11 21:12:14 +00:00
Martin v. Löwis
a326ab2c9f
Patch #786737 : Allow building in a tree of symlinks pointing to
...
a readonly source.
2007-09-05 11:47:22 +00:00
Matthias Klose
5cb86a2461
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
...
to include some information about the build environment.
2007-09-05 06:45:57 +00:00
Matthias Klose
b084402596
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
2007-09-04 23:47:16 +00:00
Martin v. Löwis
fc787d515d
Patch #1031213 : Decode source line in SyntaxErrors back to its original
...
source encoding.
2007-09-04 14:20:25 +00:00
Matthias Klose
cf754ba39f
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
2007-09-03 22:13:48 +00:00
Martin v. Löwis
fe2cb5912e
Bug #1737210 : Change Manufacturer of Windows installer to PSF.
2007-09-01 06:36:38 +00:00
Martin v. Löwis
39f1f45262
Bug #1709599 : Run test_1565150 only if the file system is NTFS.
2007-08-30 18:58:29 +00:00
Martin v. Löwis
aa1e005d26
Bug #1746880 : Correctly install DLLs into system32 folder on Win64.
2007-08-30 18:37:41 +00:00
Skip Montanaro
d4c096900b
.
2007-08-29 01:34:15 +00:00
Lars Gustäbel
a9bad98e3d
TarFile.__init__() no longer fails if no name argument is passed and
...
the fileobj argument has no usable name attribute (e.g. StringIO).
(backported from r57616)
2007-08-28 12:33:15 +00:00
Georg Brandl
eb4b738963
Revert the fix for #1548891 , it broke backwards compatibility with arbitrary read buffers.
...
Fixes #1730114 .
(backport from rev. 56830)
2007-08-08 13:03:45 +00:00
Hye-Shik Chang
36fe3c0a84
Backport from trunk r56727:
...
Fix gb18030 codec's bug that doesn't map two-byte characters on
GB18030 extension in encoding. (bug reported by Bjorn Stabell)
2007-08-04 04:15:04 +00:00
Matthias Klose
979f5cd3e0
- Allow Emacs 22 for building the documentation in info format.
2007-08-02 21:28:57 +00:00
Martin v. Löwis
858c80968a
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
2007-07-31 19:54:20 +00:00
Martin v. Löwis
bd28ca65d6
Bug #1704793 : Raise KeyError if unicodedata.lookup cannot
...
represent the result in a single character.
2007-07-28 07:01:43 +00:00
Martin v. Löwis
088277f290
Change location of the package index to pypi.python.org/pypi.
2007-07-25 16:24:08 +00:00
Andrew M. Kuchling
6ecd4a0535
[Backport of r56382]
...
Avoid exception if there's a stray directory inside a Maildir folder.
The Maildir specification doesn't seem to say anything about this
situation, and it can happen if you're keeping a Maildir mailbox in
Subversion (.svn directories) or some similar system. The patch just
ignores directories in the cur/, new/, tmp/ folders.
2007-07-14 22:06:30 +00:00
Thomas Heller
8b6a17bdeb
News entry for
...
Fix for SF# 1649098: avoid zero-sized array declaration in structure.
2007-07-13 17:36:01 +00:00
Thomas Heller
6f4155d1de
Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr output
...
of c_char_p and c_wchar_p has changed as a sideeffect.
2007-07-13 17:07:55 +00:00
Georg Brandl
78d59d65c7
Bug #1637365 : add subsection about "__name__ == __main__" to the
...
Python tutorial.
(backport from rev. 56306)
2007-07-12 09:37:53 +00:00
Georg Brandl
c5db923994
Patch #1673759 : add a missing overflow check when formatting floats
...
with %G.
(backport from rev. 56298)
2007-07-12 08:38:04 +00:00
Ronald Oussoren
c0f800dc8b
Patch 1673122: be explicit about which libtool to use, to avoid name clashes
...
when a users install GNU libtool early in his PATH
2007-07-09 08:40:34 +00:00
Neal Norwitz
e99cb23e71
Backport 55887:
...
Bug #1734723 : Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
2007-06-11 07:34:07 +00:00
Martin v. Löwis
2276885acd
Patch #1733960 : Allow T_LONGLONG to accept ints.
2007-06-09 08:01:33 +00:00
Neal Norwitz
66e64e2b6a
Prevent expandtabs() on string and unicode objects from causing a segfault when
...
a large width is passed on 32-bit platforms. Found by Google.
It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.
2007-06-09 04:06:30 +00:00
Thomas Heller
11c58c4c8d
Merged revisions 55129-55131 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55129 | thomas.heller | 2007-05-04 21:54:22 +0200 (Fr, 04 Mai 2007) | 3 lines
Do not truncate 64-bit pointers to 32-bit integers.
Fixes SF #1703286 , will backport to release25-maint.
........
r55131 | thomas.heller | 2007-05-04 21:56:32 +0200 (Fr, 04 Mai 2007) | 1 line
Oops, these tests do not run on Windows CE.
........
2007-06-08 19:39:31 +00:00
Martin v. Löwis
897704d1dd
Bug #1733488 : Fix compilation of bufferobject.c on AIX.
2007-06-08 17:29:40 +00:00
Hye-Shik Chang
60111e09a9
(Backport from r55770)
...
Bug #1728403 : Fix a bug that CJKCodecs StreamReader hangs when it
reads a file that ends with incomplete sequence and sizehint argument
for .read() is specified.
2007-06-05 19:14:33 +00:00
Brett Cannon
c9490e2fe9
Backport of r55752: make time.strptime() behave better when whitespace is in
...
the format arguments.
2007-06-04 00:14:06 +00:00
Neal Norwitz
2413e038c4
Backport 55731:
...
SF 1668596/1720897: distutils now copies data files
even if package_dir is empty.
2007-06-02 18:53:07 +00:00
Georg Brandl
2e23bb7545
Fix wrong issue number.
...
(backport from rev. 55735)
2007-06-01 19:20:52 +00:00
Georg Brandl
ba871a06fb
Bug #1722484 : remove docstrings again when running with -OO.
...
(backport from rev. 55732)
2007-06-01 11:33:45 +00:00
Thomas Heller
b40092bf98
Merged revisions 55677 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55677 | thomas.heller | 2007-05-30 09:01:25 +0200 (Mi, 30 Mai 2007) | 2 lines
Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
Closes bug #1726026 .
........
2007-05-30 07:07:34 +00:00
Neal Norwitz
f86ae691d3
Backport rev 55450:
...
SF bug #1721309 : Clear data so random memory does not get freed.
2007-05-19 03:53:33 +00:00
Neal Norwitz
dc78cc6f7c
Fix bug in marshal where bad data would cause a segfault due to
...
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
2007-05-16 20:09:36 +00:00
Georg Brandl
4c87581c32
HTML-escape the plain traceback in cgitb's HTML output, to prevent
...
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.
(backport from rev. 55348)
2007-05-15 20:19:39 +00:00
Brett Cannon
daa2e58104
Backport fix for r54646-7: properly clear locale cache in time.strptime when
...
the locale changes between calls.
2007-04-27 23:17:43 +00:00
Brett Cannon
a801b6a1fd
Backport r54712: document that calling file.next() on a file open for writing
...
leads to undefined behaviour.
2007-04-27 22:35:57 +00:00
Georg Brandl
d1e3f6df38
Patch #1698768 : updated the "using Python on the Mac" intro.
...
(backport from rev. 54949)
2007-04-25 06:25:07 +00:00
Georg Brandl
f784d91215
Bug #1706381 : Specifying the SWIG option "-c++" in the setup.py file
...
(as opposed to the command line) will now write file names ending in
".cpp" too.
(backport from rev. 54941)
2007-04-24 15:27:25 +00:00
Barry Warsaw
2f131d81e2
Recommit r54805:
...
Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read. Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write. This will definitely happen on Mac OS X and could potentially
happen on other platforms. See the comment for details.
2007-04-23 01:58:33 +00:00
Walter Dörwald
93a3603c67
Backport r54786:
...
Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
2007-04-21 10:31:43 +00:00
Lars Gustäbel
9319e43c67
Patch #1695229 : Fix a regression with tarfile.open() and a missing name
...
argument.
2007-04-20 20:10:59 +00:00
Lars Gustäbel
d220144a84
Fix directory names to have only one trailing slash.
...
A regression from rev. 52525.
2007-04-20 14:49:02 +00:00
Anthony Baxter
ef57abdb60
2.5.1 final
2007-04-18 03:35:45 +00:00