Andrew M. Kuchling
6db67821a1
Typo fix
2006-04-18 14:04:57 +00:00
Martin v. Löwis
45294a9562
Remove types from type_list if they have no objects
...
and unlist_types_without_objects is set.
Give dump_counts a FILE* argument.
2006-04-18 06:24:08 +00:00
Tim Peters
0969e8ad4e
At least test_threading_local doesn't leak any more.
2006-04-18 03:02:10 +00:00
Tim Peters
c7605f21ae
local.__del__(): This didn't actually do anything, because of too
...
much convolution <0.5 wink>. Simplified to the point that it works,
and test_threading_local no longer reports leaks under -R. Thanks
to Thomas Wouters for initial analysis.
2006-04-17 21:12:33 +00:00
Martin v. Löwis
4be4e657e0
Add reindent target.
2006-04-17 19:25:49 +00:00
Martin v. Löwis
bd30f52881
Patch #790710 : Add breakpoint command lists in pdb.
2006-04-17 17:08:37 +00:00
Neal Norwitz
7ebd1f8491
Add some notes about a couple of poorly behaved tests
2006-04-17 01:49:14 +00:00
Neal Norwitz
0f77da36e9
test_cmd_line should not leak any more, ensure an empty reflog file exists if no leaks are found
2006-04-17 01:48:41 +00:00
Martin v. Löwis
0db2a989f3
Patch #1063914 : Add clipboard_get.
2006-04-16 20:55:38 +00:00
Martin v. Löwis
19ab6c98cf
Initialize structseq types only once.
2006-04-16 18:55:50 +00:00
Martin v. Löwis
d18d5a3153
Update instructions for EXTRA_CFLAGS: configure ignores
...
them; they have to be passed to make.
2006-04-16 18:55:07 +00:00
Martin v. Löwis
48bbaf2375
Patch #1470875 : Building Python with MS Free Compiler.
2006-04-15 18:06:54 +00:00
Martin v. Löwis
4b501e6c7d
Patch #1191700 : Adjust column alignment in bdb breakpoint lists.
...
Backported to 2.4.
2006-04-15 08:41:11 +00:00
Martin v. Löwis
7e75f1aafb
Patch #1191065 : Fix preprocessor problems on systems where recvfrom
...
is a macro.
2006-04-15 08:35:59 +00:00
Martin v. Löwis
c90b17ec82
Patch #1161914 : Add python-config.
2006-04-15 08:13:05 +00:00
Andrew M. Kuchling
db4018f320
Typo fix
2006-04-14 14:54:18 +00:00
Martin v. Löwis
0f48d98b74
Patch #1324762 : Change --with-cxx to --with-cxx-main.
2006-04-14 14:34:26 +00:00
Neal Norwitz
615461603c
SF Bug #1454485 , array.array('u') could crash the interpreter when
...
passing a string. Martin already fixed the actual crash by ensuring
Py_UNICODE is unsigned. As discussed on python-dev, this fix
removes the possibility of creating a unicode string from a raw buffer.
There is an outstanding question of how to fix the crash in 2.4.
2006-04-14 05:20:28 +00:00
Tim Peters
384178c12d
Added George Yoshida.
2006-04-14 04:54:58 +00:00
Gregory P. Smith
3adc4aa2fb
raise the minimum supported BerkeleyDB version to 3.3 and add notes to
...
news about this and a couple other recent fixes.
2006-04-13 19:19:01 +00:00
Anthony Baxter
57fdcbc60f
reverting r45321: Patch #860326 : traceback.format_exception_only() now
...
prepends the exception's module name to non-builtin exceptions, like
the interpreter itself does.
broke a number of doctests. should be discussed before checking in (see
discussion on python-dev).
2006-04-13 01:34:33 +00:00
Georg Brandl
24c274f5dc
Patch #860326 : traceback.format_exception_only() now prepends the
...
exception's module name to non-builtin exceptions, like the interpreter
itself does.
2006-04-12 21:14:09 +00:00
Anthony Baxter
e29002ccb0
Bug #1469163 : SimpleXMLRPCServer unconditionally attempted to import fcntl.
...
Wrapped in a try/except.
2006-04-12 12:07:31 +00:00
Neal Norwitz
ee6d23e500
Update comments and the skip list, maybe some of these tests don't
...
report failures, we'll see.
Skip certain hopeless tests: compiler and logging.
compiler will likely always show varying leaks since it doesn't work
on a defined set of modules unless -u compiler is specified. But that
takes forever (we only run with -u network currently).
logging causes hangs when running with -R.
2006-04-12 05:56:00 +00:00
Georg Brandl
bbfe4fad36
Bug #1467952 : os.listdir() now correctly raises an error if readdir()
...
fails with an error condition.
2006-04-11 06:47:43 +00:00
Tim Peters
527f652a8f
Typo repair.
2006-04-11 01:47:17 +00:00
Tim Peters
3a5e8b1e36
More words on patch #837242 , since 4 or 5 tests started
...
failing on one of the 32-bit buildbot boxes because of it,
due to tempting but always-wrong Python code. Users
probably have code like this too (I know I did ...).
2006-04-11 01:44:07 +00:00
Phillip J. Eby
51dd7d9719
Add notes to NEWS for other work today.
2006-04-11 01:21:31 +00:00
Phillip J. Eby
4703211080
Updated the warnings, linecache, inspect, traceback, site, and doctest modules
...
to work correctly with modules imported from zipfiles or via other PEP 302
__loader__ objects. Tests and doc updates are included.
2006-04-11 01:07:43 +00:00
Martin v. Löwis
0bc2ab9a20
Patch #837242 : id() for large ptr should return a long.
2006-04-10 20:28:17 +00:00
Martin v. Löwis
17de8ffc21
Patch #1467770 : Add Popen objects to _active only in __del__.
...
Introduce _child_active member to keep track on whether a child
needs to be waited for.
Backport candidate.
2006-04-10 15:55:37 +00:00
Martin v. Löwis
10acfd00b2
Patch #1429775 : Link Python modules to libpython on linux if
...
--enable-shared. Fixes #832799 .
2006-04-10 12:39:36 +00:00
Martin v. Löwis
b04dee935c
Patch #1462222 : Fix Tix.Grid. Closes #1036406 .
2006-04-10 08:34:21 +00:00
Neal Norwitz
6974a51d1a
I wonder if we can be too graceful? One oughta be enough. :-)
2006-04-10 00:25:01 +00:00
Anthony Baxter
8220174489
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
...
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844 )
2006-04-09 15:07:40 +00:00
Neal Norwitz
a31bf18c48
glob('anything*/') would fail because isdir is in os.path, not os.
2006-04-09 03:35:43 +00:00
Gregory P. Smith
7f5b6f4b33
Fix bsddb.db.DBError derived exceptions so they can be unpickled.
...
Also adds some backwards compatibility when compiling _bsddb.c on earlier
python versions (needed for pybsddb).
2006-04-08 07:10:51 +00:00
Neal Norwitz
5102c4e385
Hopefully this makes test_urllib2 have inconsistent leak results
2006-04-06 08:00:20 +00:00
Neal Norwitz
a1f9b7f50f
I don't think we know of any tests that really leak anymore
...
(other than those in leakers).
2006-04-06 07:58:59 +00:00
Anthony Baxter
51bcb68b1d
blank spots for Misc/NEWS, post alpha1 (plus testing buildbot 0.7.2)
2006-04-05 14:51:42 +00:00
Matthias Klose
d77f8b3bea
- correct patch number
2006-04-03 16:34:56 +00:00
Matthias Klose
8e39ec78bc
- Patch #360466 : Replace the MD5 implementation from RSA Data Security Inc
...
with the implementation from http://sourceforge.net/projects/libmd5-rfc/ .
2006-04-03 16:27:50 +00:00
Anthony Baxter
ebed3f629b
preparation for 2.5a1
2006-04-03 15:03:44 +00:00
Martin v. Löwis
ea62d2535f
Bug #1421664 : Set sys.stderr.encoding
2006-04-03 10:56:49 +00:00
Anthony Baxter
93f5b93422
The email module's parsedate_tz function now sets the daylight savings
...
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi
2006-04-03 08:05:07 +00:00
Neal Norwitz
92e212f7d9
Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328.
2006-04-03 04:48:37 +00:00
Fred Drake
ad5177cf8d
Patch #624325 : urlparse.urlparse() and urlparse.urlsplit() results
...
now sport attributes that provide access to the parts of the result.
2006-04-01 22:14:43 +00:00
Andrew M. Kuchling
7034f6b79f
Some typo & grammar fixes
2006-04-01 10:50:08 +00:00
Georg Brandl
828fdefd92
Update SQLite version requirement.
2006-04-01 08:59:03 +00:00
Georg Brandl
7f6b67c235
patch #1462498 : handle entityrefs in attribute values.
2006-04-01 08:35:18 +00:00
Walter Dörwald
48d5e508eb
Bug #947906 : Add classes LocaleTextCalendar and LocaleHTMLCalendar,
...
that output localized month and weekday names and can cope
with encodings.
2006-04-01 07:57:00 +00:00
Anthony Baxter
c51ee69b27
merged the sqlite-integration branch.
...
This is based on pysqlite2.1.3, and provides a DB-API interface in
the standard library. You'll need sqlite 3.2.2 or later to build
this - if you have an earlier version, the C extension module will
not be built.
2006-04-01 00:57:31 +00:00
Tim Peters
c17976e983
Another crack at bug #1460340 : make random.sample(dict)
...
work, this time by ugly brute force.
2006-04-01 00:26:53 +00:00
Georg Brandl
ccadf84a1b
Patch #1460496 : round() now accepts keyword arguments.
2006-03-31 18:54:53 +00:00
Georg Brandl
338ef7d2bd
Bug #1445068 : getpass.getpass() can now be given an explicit stream
...
argument to specify where to write the prompt.
2006-03-31 18:42:16 +00:00
Georg Brandl
22ec80bc4f
Patch #1462313 , bug #1443328 : the pickle modules now can handle classes
...
that have __private names in their __slots__.
2006-03-31 18:25:44 +00:00
Georg Brandl
43f08a85e4
Patch #1380952 : fix SSL objects timing out on consecutive read()s
2006-03-31 18:01:16 +00:00
Georg Brandl
dd2245f230
Bug #1250170 , Patch #1462230 : handle socket.gethostname()
...
failures gracefully
2006-03-31 17:18:06 +00:00
Walter Dörwald
58917a6083
Bug #947906 : An object oriented interface has been added to the calendar
...
module. It's possible to generate HTML calendar now and the module can be
called as a script (e.g. via ``python -mcalendar``).
2006-03-31 15:26:22 +00:00
Neal Norwitz
602d339047
Add a NEWS entry for the Alpha fixes
2006-03-31 08:21:40 +00:00
Anthony Baxter
262c00a21e
Fixed bug #1459029 - unicode reprs were double-escaped.
...
Backed out an old patch from 2000.
2006-03-30 10:53:17 +00:00
Phillip J. Eby
59821cf209
Oops, forgot to checkin the NEWS for --identity
2006-03-30 02:16:40 +00:00
Georg Brandl
80bb2bb7eb
Revert r43399.
2006-03-28 19:19:56 +00:00
Georg Brandl
f1349cd05d
Bug #1459963 : urllib2 now normalizes HTTP header names correctly
...
with title().
2006-03-28 12:40:24 +00:00
Walter Dörwald
40108c97fb
Mention patch id for the CJK part of the patch and
...
the name of the two new C functions.
2006-03-27 08:15:44 +00:00
Tim Peters
c9d78aa470
Years in the making.
...
objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE}
to PyObject_{Free, FREE} in a release build. They're aliases for the
system free() now.
_subprocess.c/sp_handle_dealloc(): Since the memory was originally
obtained via PyObject_NEW, it must be released via PyObject_FREE (or
_DEL).
pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of
PyObject vs PyMem mismatches in these -- it's like the specific
function called at each site was picked at random, sometimes even with
memory obtained via PyMem getting released via PyObject. Changed most
to use PyObject uniformly, since the blobs allocated are predictably
small in most cases, and obmalloc is generally faster than system
mallocs then.
If extension modules in real life prove as sloppy as Python's front
end, we'll have to revert the objimpl.h + pymem.h part of this patch.
Note that no problems will show up in a debug build (all calls still go
thru obmalloc then). Problems will show up only in a release build, most
likely segfaults.
2006-03-26 23:27:58 +00:00
Raymond Hettinger
fd3fcf0b35
SF Patch #1455676 : Simplify using Queues with daemon consumer threads
...
Adds join() and task_done() methods to track when all enqueued tasks have
been gotten and fully processed by daemon consumer threads.
2006-03-24 20:43:29 +00:00
Martin v. Löwis
bd8dbab247
Preserve command name, for later printing of active
...
commands. If there are active commands when the tests
start, fail, printing these commands.
2006-03-23 18:18:35 +00:00
Hye-Shik Chang
d478f3453f
Patch #1396919 : Reenable the system scope threads on FreeBSD 5.4
...
and later versions because they bumped the default setting to
get our basic tests to run correctly..
2006-03-23 12:32:36 +00:00
Neal Norwitz
e98ccf6690
Forward port MvL's fix in 43227:
...
Fix crash when a Unicode string containing an encoding declaration is
compile()d. Fixes #1115379 .
2006-03-23 05:39:47 +00:00
Thomas Heller
c61c049955
ctypes was added.
2006-03-22 10:09:27 +00:00
Georg Brandl
72d7a78eb0
Change NEWS entry for recent socket API change
2006-03-22 06:44:14 +00:00
Barry Warsaw
4d90bbd292
News about email 4.0.
2006-03-22 02:45:50 +00:00
Barry Warsaw
0568f404ca
remove test file
2006-03-21 19:46:26 +00:00
Barry Warsaw
a3aaf3e7c8
py trunk svn test
2006-03-21 19:37:40 +00:00
Barry Warsaw
49c54bc97a
py trunk svn test
2006-03-21 19:26:34 +00:00
Barry Warsaw
f37ec35b0b
py trunk svn test
2006-03-21 18:30:37 +00:00
Anthony Baxter
24078c5c4f
moved older releases into HISTORY
2006-03-20 06:30:41 +00:00
Neal Norwitz
05a45599d7
Patch #1309579 : wait3 and wait4 were added to the posix module by Chad J. Schroeder.
...
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
2006-03-20 06:30:08 +00:00
Anthony Baxter
fa86907aae
SF [ 1231053 ] audioop - alaw encoding/decoding added, code updated
...
This patch adds a-LAW encoding to audioop and replaces the old
u-LAW encoding/decoding code with the current code from sox.
Possible issues: the code from sox uses int16_t.
Code by Lars Immisch
2006-03-20 05:21:58 +00:00
Georg Brandl
abd1ff8f1f
Previously, Python code had no easy way to access the contents of a
...
cell object. Now, a ``cell_contents`` attribute has been added
(closes patch #1170323 ).
2006-03-18 07:59:59 +00:00
Georg Brandl
bc45a3f821
RFE #567972 : Socket objects' family, type and proto properties are
...
now exposed via new get...() methods.
2006-03-17 19:17:34 +00:00
Neal Norwitz
770a800967
Update/expand on comments about leaking tests.
2006-03-17 04:52:38 +00:00
Neal Norwitz
ddda855337
Ignore ctypes leaks, but add a test case so we do not forget.
2006-03-17 04:45:38 +00:00
Neal Norwitz
10be10cbe7
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
2006-03-16 06:50:13 +00:00
Neal Norwitz
efbeaef1c1
Add a news entry about the sre/re swap.
2006-03-16 06:40:39 +00:00
Tim Peters
cf79aace07
Merge the tim-obmalloc branch to the trunk.
...
This is a heavily altered derivative of SF patch 1123430, Evan
Jones's heroic effort to make obmalloc return unused arenas to
the system free(), with some heuristic strategies to make it
more likley that arenas eventually _can_ be freed.
2006-03-16 01:14:46 +00:00
Walter Dörwald
067db48997
Document the other change from patch #1359365 .
2006-03-15 22:17:27 +00:00
Walter Dörwald
197e8321c6
SF patch #1359365 : cStringIO.StringIO.isatty() will raise a ValueError
...
now if close() has been called before (like file and StringIO.StringIO do)
2006-03-15 22:13:13 +00:00
Walter Dörwald
abb02e5994
Patch #1436130 : codecs.lookup() now returns a CodecInfo object (a subclass
...
of tuple) that provides incremental decoders and encoders (a way to use
stateful codecs without the stream API). Functions
codecs.getincrementaldecoder() and codecs.getincrementalencoder() have
been added.
2006-03-15 11:35:15 +00:00
Hye-Shik Chang
abb903fd54
Bug #1448490 : Fix a bug that ISO-2022 codecs could not handle
...
SS2 (single-shift 2) escape sequences correctly.
2006-03-13 10:20:08 +00:00
Martin v. Löwis
04824ce8ed
Add regrtest -w option.
2006-03-10 21:26:16 +00:00
Martin v. Löwis
480f1bb67b
Update Unicode database to Unicode 4.1.
2006-03-09 23:38:20 +00:00
Georg Brandl
e2b4677253
Move entry to correct section.
2006-03-09 23:22:43 +00:00
Georg Brandl
24cb053b15
Patch #1446372 : quit and exit can now be called from the interactive
...
interpreter to exit.
2006-03-09 23:22:06 +00:00
Georg Brandl
533ff6fc06
Patch #1434038 : property() now uses the getter's docstring if there is
...
no "doc" argument given. This makes it possible to legitimately use
property() as a decorator to produce a read-only property.
2006-03-08 18:09:27 +00:00
Guido van Rossum
9aa37ab5d2
Add note about PEP 357.
2006-03-07 18:54:08 +00:00
Barry Warsaw
d3c38ff7f8
SF patch #1443865 ; gc.get_count() added and optional argument 'generation'
...
added to gc.collect(). Updated docs, unit test, and NEWS entry.
(Also, fixed a typo in NEWS.)
2006-03-07 09:46:03 +00:00
Neal Norwitz
995acdf308
Add a note about the bug fixes
2006-03-07 05:01:00 +00:00
Neal Norwitz
4dc4a8401a
Ignore leaks from the socket test too. Sigh, this list is getting long. :-(
2006-03-06 23:04:04 +00:00