Martin v. Löwis
49ee14dac5
Patch #839038 : Add getsid(2).
2003-11-10 06:35:36 +00:00
Guido van Rossum
967b063add
Plug tempfile.mktemp() hole (Iustin Pop).
2003-11-10 02:27:19 +00:00
Guido van Rossum
b256159396
mktemp() shouldn't rely on os.path.exists(), which can return False if
...
the file is a symlink. Instead, use os.lstat directly, if it exists;
fall back on os.stat or the built-in open. Thanks to Iustin Pop.
2003-11-10 02:16:36 +00:00
Alex Martelli
f09994e527
fixed wrong error checking on fcntl call as per SF bug # 821896
...
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:44:09 +00:00
Alex Martelli
0c5b4ad8f2
fixed obvious bug in _send_header as per SF bug #831271
...
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:41:38 +00:00
Alex Martelli
721b776175
fixed buggy comment as per SF bug #827856
...
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:38:39 +00:00
Alex Martelli
c516b0e47c
clarified (in the 5.14 summary) that tests and comparisons all chain,
...
added a specific \ref to 5.9 in lieu of previous vague "see above".
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:33:56 +00:00
Alex Martelli
37dc334276
Add docs for readmodule_ex and its function-descriptors, fixing
...
sf bug#812818.
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:32:54 +00:00
Alex Martelli
50324a604c
Avoid giving advice that's bad for security, as per SF bug #823515
...
(same as commit of Sun Nov 2 to the release23-maint branch)
2003-11-09 16:31:18 +00:00
Brett Cannon
35d8360bf7
Document Py_RETURN_NONE.
2003-11-09 04:15:30 +00:00
Andrew M. Kuchling
f7a6b67e5c
Add 'see also' section pointing to the PEP
2003-11-08 16:05:37 +00:00
Andrew M. Kuchling
1a420251cf
Add some recent changes
2003-11-08 15:58:49 +00:00
Raymond Hettinger
af28e4b66b
Update test to handle list.__reversed__().
2003-11-08 12:39:53 +00:00
Raymond Hettinger
001f228f36
Improve the reverse list iterator to free memory as soon as the iterator
...
is exhausted.
2003-11-08 11:58:44 +00:00
Raymond Hettinger
e21f606657
SF bug #835457 : Small typo in logging documentation
2003-11-08 11:40:03 +00:00
Raymond Hettinger
c24c9106e8
Minor code fixup. Make sure that len reflects the current list size.
2003-11-08 11:35:22 +00:00
Raymond Hettinger
b3af1813eb
Convert heapq.py to a C implementation.
2003-11-08 10:24:38 +00:00
Raymond Hettinger
1021c44b41
Optimize reversed(list) using a custom iterator.
2003-11-07 15:38:09 +00:00
Michael W. Hudson
ff1f194982
Fix the problem addressed by patch
...
[ 819012 ] Fix for former/latter confusion in Extending documentation
although not by using supplied patch.
2003-11-07 11:45:34 +00:00
Raymond Hettinger
dc62aeca4c
Add a new looping idiom
2003-11-07 01:30:58 +00:00
Martin v. Löwis
5ce2fecf8e
Patch #837322 : Clarify owning, borrowing, stealing. Backported to 2.3.
2003-11-06 21:08:11 +00:00
Martin v. Löwis
d2171d2ba4
Overallocate target buffer for normalization more early. Fixes #834676 .
...
Backported to 2.3.
2003-11-06 20:47:57 +00:00
Raymond Hettinger
85c20a41df
Implement and apply PEP 322, reverse iteration
2003-11-06 14:06:48 +00:00
Neil Schemenauer
f607fc5395
Add traceback.format_exc().
2003-11-05 23:03:00 +00:00
Jeremy Hylton
904ed86a77
Make undetected error on stack unwind a fatal error.
2003-11-05 17:29:35 +00:00
Anthony Baxter
92bee36045
missing news entry
2003-11-04 14:35:49 +00:00
Gregory P. Smith
7441e65821
* SF patch 835100 - C++ // comments are not allowed. Use /* */
2003-11-03 21:35:31 +00:00
Jeremy Hylton
ceac90aecb
Fix compiler warning about possible use of n without assignment.
...
Also fix use of n for two different variables in two different blocks.
2003-11-03 20:58:28 +00:00
Gregory P. Smith
a703a21b48
* Use weakref's of DBCursor objects for the iterator cursors to avoid a
...
memory leak that would've occurred for all iterators that were
destroyed before having iterated until they raised StopIteration.
* Simplify some code.
* Add new test cases to check for the memleak and ensure that mixing
iteration with modification of the values for existing keys works.
2003-11-03 01:04:41 +00:00
Raymond Hettinger
83c187460e
SF patch #834444 : add versionadd to new functions
...
(Contributed by George Yoshida.)
2003-11-02 09:50:56 +00:00
Raymond Hettinger
cc523fc53d
SF patch #834015 : Remove imports of unused modules
...
(Contributed by George Yoshida.)
2003-11-02 09:47:05 +00:00
Gregory P. Smith
dc113a8a06
* Fix the singlethreaded deadlocks occurring in the simple bsddb interface.
...
* Add support for multiple iterator/generator objects at once on the simple
bsddb _DBWithCursor interface.
2003-11-02 09:10:16 +00:00
Gregory P. Smith
e276717113
Fix a tuple memory leak when raising DB, DBEnv and DBCursor "object
...
has been closed" exceptions.
Adds a DBCursorClosedError exception in the closed cursor case for
future use in fixing the legacy bsddb interface deadlock problems
due to its use of cursors with DB_INIT_LOCK | DB_THREAD support
enabled.
2003-11-02 08:06:29 +00:00
Raymond Hettinger
54a831bef7
Use PyTuple_Pack() to simplify enumerate().
2003-11-02 05:37:44 +00:00
Andrew M. Kuchling
b4b9ced1b6
[Bug #817178 ] Fix incorrect arguments in example, noted by Terry Reedy
2003-10-31 19:52:30 +00:00
Martin v. Löwis
2389c41a10
Patch #833710 : Set INSTSONAME on Solaris. Backported to 2.3.
2003-10-31 15:42:07 +00:00
Martin v. Löwis
893ffa4372
Patch #830858 : Correct the number of is-functions. Backported to 2.3 and 2.2.
2003-10-31 15:35:53 +00:00
Martin v. Löwis
04570dbed1
Patch #628301 : Update installer to
...
http://cesnet.dl.sourceforge.net/sourceforge/avpython/Python-2.3.2-Win32-159-Setup.iss
2003-10-31 14:02:41 +00:00
Martin v. Löwis
45394c281d
Patch #531629 : Add multicall support.
2003-10-31 13:49:36 +00:00
Martin v. Löwis
f9b08b8e60
Patch #785689 : Use basename in usage. Backported to 2.3.
2003-10-31 13:05:21 +00:00
Martin v. Löwis
be4fea6198
Patch #787189 : Explicitly define CTRL on SGI.
2003-10-31 13:01:24 +00:00
Martin v. Löwis
48440b7c27
Patch #: Add POP3 over SSL support.
2003-10-31 12:52:35 +00:00
Martin v. Löwis
9ad853bc37
Patch #788404 : ignore "b" and "t" mode modifiers in posix_popen.
...
Fixes #703198 . Backported to 2.3.
2003-10-31 10:01:53 +00:00
Raymond Hettinger
9885c93b99
Fix typo.
2003-10-30 06:08:32 +00:00
Brett Cannon
82b24827f6
Minor grammatical fix.
2003-10-30 05:42:15 +00:00
Raymond Hettinger
c40b7afee2
Update test to include "sorted" in dir(list).
2003-10-29 07:23:57 +00:00
Raymond Hettinger
0a9b9da0c3
Add list.sorted() classmethod.
2003-10-29 06:54:43 +00:00
Raymond Hettinger
c43a7e7c37
SF bug #827902 : ctime is not creation time
...
New fix for this bug recognizes differing definitions on various systems.
2003-10-29 00:46:19 +00:00
Neal Norwitz
9920430107
SF #775057 , fix IDLE problem in about dialog
...
If the file doesn't exist, the code to display an error message was broken
Will backport.
2003-10-28 21:57:10 +00:00
Skip Montanaro
030f68a66a
note db2pickle/pickle2db tweaks
2003-10-28 16:24:00 +00:00