Raymond Hettinger
b67ad7e671
Patch #826074 : cmath.log optional base argument, fixes #823209
...
(Contributed by Andrew Gaul.)
2004-06-14 07:40:10 +00:00
Martin v. Löwis
ad21945d03
Back out #957240 .
2004-06-14 04:58:42 +00:00
Anthony Baxter
c982bbde1c
Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora releases.
...
Ignore it, rather than breaking.
Will backport.
(and r1.1000 for Misc/NEWS!)
2004-06-11 17:16:46 +00:00
Anthony Baxter
3ecdb250af
Fix for bug #966623 - classes created with type() in an exec(, {}) don't
...
have a __module__. Test for this case.
Bugfix candidate, will backport.
2004-06-11 14:41:18 +00:00
Raymond Hettinger
57c2d930f6
Add a final permutation step to the tuple hash function.
...
Prevents a collision pattern that occurs with nested tuples.
(Yitz Gale provided code that repeatably demonstrated the weakness.)
2004-06-10 18:42:15 +00:00
Raymond Hettinger
33ecffb65a
SF patch #969791 : Add nlargest() and nsmallest() to heapq.
2004-06-10 05:03:17 +00:00
Martin v. Löwis
737ea82a5a
Patch #774665 : Make Python LC_NUMERIC agnostic.
2004-06-08 18:52:54 +00:00
Martin v. Löwis
bdec50f027
Feature request #935915 : Add os.path.devnull.
2004-06-08 08:29:33 +00:00
Martin v. Löwis
f30d60edbc
Patch #510695 : Add TSC profiling for the VM.
2004-06-08 08:17:44 +00:00
Tim Peters
604c013ef2
SF 952807: Unpickling pickled instances of subclasses of datetime.date,
...
datetime.datetime and datetime.time could yield insane objects. Thanks
to Jiwon Seo for the fix.
Bugfix candidate. I'll backport it to 2.3.
2004-06-07 23:04:33 +00:00
Thomas Heller
90a764c5ee
Fix a refcount bug in an obscure code corner.
2004-06-07 15:12:44 +00:00
Neal Norwitz
c3cd9df95a
Add some doc about using valgrind
2004-06-06 19:58:40 +00:00
Hye-Shik Chang
2400e93057
SF #877165 : Give an info about what C++ compiler command should be
...
used in cygwin and mingw32. (Reported by Michael Droettboom)
2004-06-05 18:37:53 +00:00
Hye-Shik Chang
39aef79821
Fix a bug that robotparser starves memory when the server responses
...
in HTTP/0.9 due to dissonance of httplib.LineAndFileWrapper and
urllib.addbase.
2004-06-05 13:30:56 +00:00
Brett Cannon
0096e262ff
Refactored site.py into functions. Also moved over to using sets.
...
New regression test suite.
2004-06-05 01:12:51 +00:00
Martin v. Löwis
642c8a11fd
Patch #926209 : Patch to setup.py to run on x86_64 Linux.
2004-06-04 13:55:13 +00:00
Martin v. Löwis
77ca6c4c84
Warn abou missing mutate flag to ioctl. Fixes #696535 .
2004-06-03 12:47:26 +00:00
Hye-Shik Chang
bc555e386b
Fix the grammar a bit more. (Adjusted by Tony Meyer)
2004-06-03 11:10:58 +00:00
Martin v. Löwis
eac324b90b
Patch #957240 : Add count parameter to asyncore.loop.
2004-06-03 09:18:35 +00:00
Martin v. Löwis
3e501dcfc7
One more attempt to fix the grammar.
2004-06-03 04:03:30 +00:00
Andrew M. Kuchling
f7e836e6dd
Don't build the pcre module any more
2004-06-02 17:42:56 +00:00
Hye-Shik Chang
5629d0e616
Fix grammar hopefully. :)
2004-06-02 16:52:49 +00:00
Hye-Shik Chang
974ed7cfa5
- SF #962502 : Add two more methods for unicode type; width() and
...
iswide() for east asian width manipulation. (Inspired by David
Goodger, Reviewed by Martin v. Loewis)
- Move _PyUnicode_TypeRecord.flags to the end of the struct so that
no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
2004-06-02 16:49:17 +00:00
Andrew M. Kuchling
b6568b91fd
Add a name (old change sitting in my tree)
2004-06-02 15:37:04 +00:00
Martin v. Löwis
d8948725d2
Patch #954115 : Fix os.stat handling of UNC roots.
...
Will backport to 2.3.
2004-06-02 09:57:56 +00:00
Martin v. Löwis
e440e47e91
Patch #957398 : Add public API for Generator Object/Type.
2004-06-01 15:22:42 +00:00
Raymond Hettinger
41bd02256f
SF bug #942952 : Weakness in tuple hash
...
(Basic approach and test concept by Tim Peters.)
* Improved the hash to reduce collisions.
* Added the torture test to the test suite.
2004-06-01 06:36:24 +00:00
Martin v. Löwis
173ecb6094
Copy from python-2.3.spec. Incorporate patch #961465 :
...
Including changes from Ian Holsman to build under Red Hat 7.3.
Fixing some problems with the /usr/local path change.
2004-05-31 19:40:57 +00:00
Tim Peters
2f50e90818
SF patch 959726: sdist versus SVN
...
The disutils sdist command now ignores .svn directories.
2004-05-31 19:27:59 +00:00
Martin v. Löwis
2a6ba9097e
Patch #963318 : Add support for client-side cookie management.
2004-05-31 18:22:40 +00:00
Raymond Hettinger
027bb633b6
Add weakref support to sockets and re pattern objects.
2004-05-31 03:09:25 +00:00
Skip Montanaro
79cddc56b3
stupid, stupid, stupid... raw_input() already supports readline() if the
...
readline module is loaded.
2004-05-24 14:20:16 +00:00
Skip Montanaro
0dc23101a0
Exposed readline() function from the readline module.
2004-05-23 17:46:50 +00:00
Raymond Hettinger
059e170c1d
SF bug #949329 : sets.Set() --> set()
2004-05-19 19:56:44 +00:00
Raymond Hettinger
354433a59d
SF patch #872326 : Generator expression implementation
...
(Code contributed by Jiwon Seo.)
The documentation portion of the patch is being re-worked and will be
checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).
The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch. Further additions are
welcome from everyone. Please stress test this new feature as much as
possible before the alpha release.
2004-05-19 08:20:33 +00:00
Skip Montanaro
beddfcb6d0
date typo in %changelog
2004-05-17 13:17:38 +00:00
Thomas Heller
2e7c8328ae
Fix SF item #876278 : Unbounded recursion in modulefinder.
...
Already backported to release23-maint.
2004-05-11 15:10:59 +00:00
Martin v. Löwis
456ab1d271
Swap public and system ID in start_doctype_decl. Fixes #780300 .
2004-05-06 01:54:36 +00:00
Raymond Hettinger
0468e416c1
SF patch #947476 : Apply freelist technique to lists
...
Re-use list object bodies. Saves calls to malloc() and free() for
faster list instantiation and deallocation.
2004-05-05 05:37:53 +00:00
Thomas Heller
cc10a85fdc
Forgot to mention the SF number, and that Bob Ippolito provided the patch.
2004-04-22 17:28:25 +00:00
Thomas Heller
1328b52c6f
Two new public API functions, Py_IncRef and Py_DecRef. Useful for
...
dynamic embedders of Python.
2004-04-22 17:23:49 +00:00
Hye-Shik Chang
0f5bf1ebdd
SF #926075 : Fixed the bug that returns a wrong pattern object for
...
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
2004-04-20 21:11:11 +00:00
Hye-Shik Chang
54f9439b7c
Bug #934635 : Fix a bug where the configure script couldn't detect
...
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)
2004-04-14 07:55:31 +00:00
Skip Montanaro
d0c0c41fe9
note --trackcalls flag in trace module
2004-04-07 16:03:02 +00:00
Raymond Hettinger
e2eda606a8
Improve accuracy of sequence and mapping checks.
2004-04-04 08:51:41 +00:00
Andrew MacIntyre
4e10ed3b86
If a file is opened with an explicit buffer size >= 1, repeated
...
close() calls would attempt to free() the buffer already free()ed on
the first close(). [bug introduced with patch #788249 ]
Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.
2004-04-04 07:01:35 +00:00
Skip Montanaro
7a92d74c52
It would help if I deleted the old pystack!
...
Also, move pystack comment down next to it
2004-04-02 14:53:55 +00:00
Skip Montanaro
74d07f2bfa
include local variables when dumping Python stack trace
2004-04-02 14:51:13 +00:00
Martin v. Löwis
fb66cd2540
Patch #924497 : find(1) all files with /usr/local/bin/python in them.
...
Backported to 2.3.
2004-03-31 18:59:04 +00:00
Brett Cannon
21beb4c2ce
Fixed a caching bug in platform.platform() where the argument of 'terse' was
...
not taken into consideration when caching value.
2004-03-25 16:55:12 +00:00