Martin v. Löwis
d476a400b4
Bug #1216 : Restore support for Visual Studio 2002.
...
Will backport to 2.5.
2007-10-12 08:56:52 +00:00
Thomas Heller
7fee6dd2a3
On OS X, use os.uname() instead of gestalt.sysv(...) to get the
...
operating system version. This allows to use ctypes when Python
was configured with --disable-toolbox-glue.
2007-10-11 19:51:32 +00:00
Raymond Hettinger
a48a29947a
Eliminate camelcase function name
2007-10-08 21:26:58 +00:00
Neal Norwitz
44f326ef2a
Add a note about fixing some more warnings found by Coverity.
2007-10-05 05:29:17 +00:00
Raymond Hettinger
a7fc4b13e0
Add __asdict__() to NamedTuple and refine the docs.
...
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__(). The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.
2007-10-05 02:47:07 +00:00
Raymond Hettinger
50e90e265f
itertools.count() no longer limited to sys.maxint.
2007-10-04 00:20:27 +00:00
Raymond Hettinger
8f6693701c
enumerate() is no longer bounded to using sequences shorter than LONG_MAX. The possibility of overflow was sending some newsgroup posters into a tizzy.
2007-10-03 21:18:11 +00:00
Brett Cannon
0b14f243c4
tuple.__repr__ did not consider a reference loop as it is not possible from
...
Python code; but it is possible from C. object.__str__ had the issue of not
expecting a type to doing something within it's tp_str implementation that
could trigger an infinite recursion, but it could in C code.. Both found
thanks to BaseException and how it handles its repr.
Closes issue #1686386 . Thanks to Thomas Herve for taking an initial stab at
coming up with a solution.
2007-09-30 19:45:10 +00:00
Georg Brandl
aff85e2d26
Patch #1541463 : optimize performance of cgi.FieldStorage operations.
2007-09-20 16:06:07 +00:00
Facundo Batista
673debfd63
Annotated the correction to urllib.py, issue #1177
2007-09-19 14:02:03 +00:00
Facundo Batista
b67da23718
Decimal is updated, :)
2007-09-17 16:26:50 +00:00
Brett Cannon
0153159e67
Add a bunch of GIL release/acquire points in tp_print implementations and for
...
PyObject_Print().
Closes issue #1164 .
2007-09-17 03:28:34 +00:00
Georg Brandl
8fd3ecf928
Bug #1153 : repr.repr() now doesn't require set and dictionary items
...
to be orderable to properly represent them.
2007-09-12 19:00:07 +00:00
Brett Cannon
4c20bc40d7
Generators had their throw() method allowing string exceptions. That's a
...
no-no.
Fixes issue #1147 . Need to fix 2.5 to raise a proper warning if a string
exception is passed in.
2007-09-11 21:02:28 +00:00
Brett Cannon
a0c05512ec
Fix a possible segfault from recursing too deep to get the repr of a list.
...
Closes issue #1096 .
2007-09-10 21:38:27 +00:00
Thomas Heller
2825b2ea44
Add a 'c_longdouble' type to the ctypes module.
2007-09-07 06:32:17 +00:00
Brett Cannon
1e534b5425
Fix a crasher where Python code managed to infinitely recurse in C code without
...
ever going back out to Python code in PyObject_Call(). Required introducing a
static RuntimeError instance so that normalizing an exception there is no
reliance on a recursive call that would put the exception system over the
recursion check itself.
2007-09-07 04:18:30 +00:00
Martin v. Löwis
d44a4e9719
Patch #786737 : Allow building in a tree of symlinks pointing to
...
a readonly source.
2007-09-05 11:47:34 +00:00
Matthias Klose
38336406eb
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
2007-09-04 20:46:02 +00:00
Matthias Klose
642ac8530a
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
...
to include some information about the build environment.
2007-09-04 18:17:36 +00:00
Martin v. Löwis
a5136196bc
Patch #1031213 : Decode source line in SyntaxErrors back to its original
...
source encoding. Will backport to 2.5.
2007-09-04 14:19:28 +00:00
Martin v. Löwis
58bd49f5fe
Patch #1388440 : Add set_completion_display_matches_hook and
...
get_completion_type to readline.
2007-09-04 13:13:14 +00:00
Matthias Klose
691632f14d
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
2007-09-03 23:33:04 +00:00
Martin v. Löwis
8bc77e4b33
Bug #1737210 : Change Manufacturer of Windows installer to PSF.
...
Will backport to 2.5.
2007-09-01 06:36:03 +00:00
Martin v. Löwis
7dcb83cdc5
Bug #1709599 : Run test_1565150 only if the file system is NTFS.
2007-08-30 19:04:09 +00:00
Martin v. Löwis
75c23bddbe
Bug #1746880 : Correctly install DLLs into system32 folder on Win64.
2007-08-30 18:25:47 +00:00
Bill Janssen
f413fb06b9
added note on new ssl module and deprecation of socket.ssl
2007-08-30 18:08:06 +00:00
Skip Montanaro
3e275363b6
Recent items.
2007-08-29 01:33:45 +00:00
Lars Gustäbel
0f4a14b56f
TarFile.__init__() no longer fails if no name argument is passed and
...
the fileobj argument has no usable name attribute (e.g. StringIO).
(will backport to 2.5)
2007-08-28 12:31:09 +00:00
Guido van Rossum
95f1a1be3d
News about functools.reduce.
2007-08-27 20:52:10 +00:00
Guido van Rossum
4f2c3ddca4
Server-side SSL and certificate validation, by Bill Janssen.
...
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
2007-08-25 15:08:43 +00:00
Georg Brandl
8ec5754086
uuid creation is now threadsafe, backport from py3k rev. 57375.
2007-08-24 06:10:01 +00:00
Brett Cannon
dbed7a7394
Make test_runpy re-entrant.
2007-08-23 14:53:17 +00:00
Hye-Shik Chang
2390104d81
Add cheot-ga-keut composed make-up sequence support in EUC-KR codec.
2007-08-20 06:49:18 +00:00
Brett Cannon
414f3f90f0
Remove news entry for test.test_support.guard_warnings_filter as it has been
...
removed.
2007-08-17 18:59:58 +00:00
Walter Dörwald
6e39080649
Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.
2007-08-17 16:41:28 +00:00
Georg Brandl
9616444427
Revert the fix for #1548891 , it broke backwards compatibility with arbitrary read buffers.
...
Fixes #1730114 .
2007-08-08 13:03:41 +00:00
Hye-Shik Chang
f3e93a0268
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:10:18 +00:00
Neal Norwitz
766d880a2f
Py_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport
2007-08-03 06:46:29 +00:00
Matthias Klose
eb8ff67fd7
- Allow Emacs 22 for building the documentation in info format.
2007-08-02 21:33:13 +00:00
Martin v. Löwis
76760b0e8f
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
2007-07-31 19:57:56 +00:00
Martin v. Löwis
f1e0b3f630
Bug #1704793 : Return UTF-16 pair if unicodedata.lookup cannot
...
represent the result in a single character.
2007-07-28 07:03:05 +00:00
Martin v. Löwis
f25e35b9ec
Bug #978833 : Close https sockets by releasing the _ssl object.
2007-07-27 18:28:22 +00:00
Martin v. Löwis
254b8f9096
Change location of the package index to pypi.python.org/pypi
2007-07-25 16:24:23 +00:00
Martin v. Löwis
6819210b9e
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
...
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
2007-07-21 06:55:02 +00:00
Thomas Heller
ef4fff3435
Fix for SF# 1649098: avoid zero-sized array declaration in structure.
2007-07-13 17:46:54 +00:00
Thomas Heller
fa704c6ade
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:12:23 +00:00
Georg Brandl
4b3ab6fcc0
Patch #1675424 : Added tests for uncovered code in the zipfile module.
...
The KeyError raised by Zipfile.getinfo for nonexistent names now has
a descriptive message.
2007-07-12 09:59:22 +00:00
Georg Brandl
9467bc5ad1
Bug #1637365 : add subsection about "__name__ == __main__" to the
...
Python tutorial.
2007-07-12 09:37:49 +00:00
Georg Brandl
7c3b50db66
Patch #1673759 : add a missing overflow check when formatting floats
...
with %G.
2007-07-12 08:38:00 +00:00