Georg Brandl
2f210b6bca
- Bug #1155638 : Fix a bug which affected HTTP 0.9 responses in httplib.
2005-06-26 22:09:06 +00:00
Georg Brandl
fbff1bcd69
- Bug #1100201 : Cross-site scripting was possible on BaseHTTPServer via
...
error messages.
2005-06-26 21:36:25 +00:00
Georg Brandl
379f99dbc3
Add NEWS entries for bugs closed at Bug Day.
2005-06-26 21:09:38 +00:00
Georg Brandl
40c7165e7d
NEWS entry for last bugfix
2005-06-25 21:08:46 +00:00
Raymond Hettinger
da99d1cbfe
SF bug #1224621 : tokenize module does not detect inconsistent dedents
2005-06-21 07:43:58 +00:00
Michael W. Hudson
188d4366be
Fix bug:
...
[ 1163563 ] Sub threads execute in restricted mode
basically by fixing bug 1010677 in a non-broken way.
Backport candidate.
2005-06-20 16:52:57 +00:00
Raymond Hettinger
68c0453418
Add untokenize() function to allow full round-trip tokenization.
...
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Georg Brandl
9166e1a24a
Bug #1196315 : fix weakref.WeakValueDictionary constructor.
2005-06-04 09:20:03 +00:00
Georg Brandl
6b95f1d963
Bug #1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
2005-06-03 19:47:00 +00:00
Michael W. Hudson
df88846ebc
This is my patch:
...
[ 1180995 ] binary formats for marshalling floats
Adds 2 new type codes for marshal (binary floats and binary complexes), a
new marshal version (2), updates MAGIC and fiddles the de-serializing of
code objects to be less likely to clobber the real reason for failing if
it fails.
2005-06-03 14:41:55 +00:00
Georg Brandl
268e61cf74
Bug #1213894 : os.path.realpath didn't resolve symlinks that were the first
...
component of the path.
2005-06-03 14:28:50 +00:00
Raymond Hettinger
f8f937f211
Update permissions for Birkenfeld.
2005-06-03 11:15:03 +00:00
Hye-Shik Chang
5f937a7b8b
Patch #1212117 : Add optional attribute st_flags to os.stat_result
...
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00
Michael W. Hudson
da85a90808
NEWS entry for the patch I checked in last week.
2005-06-01 11:34:22 +00:00
Raymond Hettinger
671e95b329
Add permissions for Reinhold Birkenfeld.
2005-05-28 23:20:09 +00:00
Skip Montanaro
bbf12ba7b2
Disallow opening files with modes 'aU' or 'wU' as specified by PEP
...
278. Closes bug 967182.
2005-05-20 03:07:06 +00:00
Skip Montanaro
5ff1492720
Add O_SHLOCK & O_EXLOCK. Closes patch #1103951 .
2005-05-16 02:42:22 +00:00
Skip Montanaro
174dd2219d
Add better datetime support to xmlrpclib module. Closes patch #1120353 .
2005-05-14 20:54:16 +00:00
Skip Montanaro
d3b01deb17
credit source of idea for recent doc changes
2005-05-12 13:44:23 +00:00
Raymond Hettinger
7c5e618577
Update Paul Prescod's permissions.
2005-04-30 21:25:19 +00:00
Brett Cannon
c3647ac93e
Make subclasses of int, long, complex, float, and unicode perform type
...
conversion using the proper magic slot (e.g., __int__()). Also move conversion
code out of PyNumber_*() functions in the C API into the nb_* function.
Applied patch #1109424 . Thanks Walter Doewald.
2005-04-26 03:45:26 +00:00
Martin v. Löwis
d7c795e729
Make parse_makefile fallback to environment variables if nothing is
...
defined in the makefile. Get CFLAGS from the Makefile, instead of
getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
2005-04-25 07:14:03 +00:00
Brett Cannon
08cd598c21
Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant
...
to be used for flags that change binary compatibility.
Distutils was tweaked to also use the variable if used during compilation of
the interpreter.
2005-04-24 22:26:38 +00:00
Walter Dörwald
bc8e642c1b
If the data read from the bytestream in readline() ends in a '\r' read one more
...
byte, even if the user has passed a size parameter. This extra byte shouldn't
cause a buffer overflow in the tokenizer. The original plan was to return a line
ending in '\r', which might be recognizable as a complete line and skip any '\n'
that was read afterwards. Unfortunately this didn't work, as the tokenizer only
recognizes '\n' as line ends, which in turn lead to joined lines and
SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It
can only happen with a temporarily exhausted bytestream now anyway.)
Fixes parts of SF bugs #1163244 and #1175396 .
2005-04-21 21:32:03 +00:00
Brett Cannon
49ab700cc1
Clarify usage of OPT by noting that if it is set the default values will be
...
left out.
2005-04-20 20:49:39 +00:00
Barry Warsaw
c8d907c60b
As per discussion on python-dev, descriptors defined in C with a NULL setter
...
now raise AttributeError instead of TypeError, for consistency with their
pure-Python equivalent.
2005-04-19 23:43:40 +00:00
Brett Cannon
a267563f43
Add a line explaining what env var to use to set the compiler flags and an
...
example of how to do it so that it is passed directly to ./configure .
2005-04-19 20:28:09 +00:00
Michael W. Hudson
774479c68b
Fix:
...
[ 1176893 ] Readline segfault
by unsilly-ing PyGILState_Release().
Backport candidate.
2005-04-18 08:46:17 +00:00
Raymond Hettinger
8ec676e9fa
Update permissions for Finn Bock.
2005-04-13 22:04:21 +00:00
Raymond Hettinger
3033734081
Update permissions for Eric Price.
2005-04-11 03:11:11 +00:00
Raymond Hettinger
95ed80b0e0
Update status for Irme de Jong.
2005-04-10 16:36:16 +00:00
Martin v. Löwis
ab9ec1654f
Patch #1177597 : Fix various bugs in Demo/classes/Complex.py.
2005-04-09 10:53:34 +00:00
Brett Cannon
f4189916e3
Flush out support for ``class B(): pass`` syntax by adding support to the
...
'parser' module and 'compiler' package.
Closes patch #1176012 . Thanks logistix.
2005-04-09 02:30:16 +00:00
Raymond Hettinger
da524a9d30
Record removal of permissions for Charles Waldman.
2005-04-08 20:43:19 +00:00
Tim Peters
207d5ebfc4
Add ESR info.
2005-04-08 20:02:08 +00:00
Raymond Hettinger
efcd1d3c41
Record a drop request by Ken Manheimer.
2005-04-08 19:09:19 +00:00
Raymond Hettinger
1f0d103da9
Record a drop request by Moshe Zadka.
2005-04-08 18:36:14 +00:00
Tim Peters
b53b741171
Info about Eric Price.
2005-04-08 17:16:28 +00:00
Raymond Hettinger
af2c70a5c7
Update permissions log for Reedy, Holden, Haring, and Cole.
2005-04-08 03:19:09 +00:00
Michael W. Hudson
e3afc598bc
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,
...
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS
actually expanded to nothing under a no-threads build, so if you somehow
NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would
stay NULLed when you return to Python. Argh!
Backport candidate.
2005-04-07 10:11:19 +00:00
Tim Peters
a739b08d12
By popular demand from Linux-heads(!), renamed developers to developers.txt.
2005-04-06 00:59:02 +00:00
Raymond Hettinger
7dcdd8c3e8
Begin a log of developer permissions.
2005-04-05 22:35:15 +00:00
Walter Dörwald
a6e8a4ad12
Since PyPI only accepts UTF-8 encoded data now, make sure that the data is
...
properly encoded and include the encoding in the Content-Type header.
2005-03-31 13:57:38 +00:00
Michael W. Hudson
b330adf9eb
NEWS entries for the bugs I fixed yesterday.
2005-03-31 09:35:44 +00:00
Bob Ippolito
ed233460d8
Update NEWS for patch 1171735 (Darwin 8 build fixes)
2005-03-29 13:47:59 +00:00
Anthony Baxter
12b6f6cac7
Move exception finalisation later in the shutdown process - this
...
fixes the crash seen in bug #1165761
2005-03-29 13:36:16 +00:00
Raymond Hettinger
267b868f23
* Fix decimal's handling of foreign types. Now returns NotImplemented
...
instead of raising a TypeError. Allows other types to successfully
implement __radd__() style methods.
* Remove future division import from test suite.
* Remove test suite's shadowing of __builtin__.dir().
2005-03-27 10:47:39 +00:00
Martin v. Löwis
55f1bb8bfa
Add the upload command. Make all dist commands register their
...
outputs with the distribution object.
2005-03-21 20:56:35 +00:00
Brett Cannon
e6c430dffe
Add comment about optional option for keeping indentation level from previous
...
line.
2005-03-21 20:41:51 +00:00
Matthias Klose
31a58df5ed
fix two typos in python(1)
2005-03-20 14:16:03 +00:00
Raymond Hettinger
4aec61e0fc
Add a remove() method to collections.deque objects.
2005-03-18 21:20:23 +00:00
Walter Dörwald
09515af5e2
Fix typo.
2005-03-18 10:28:24 +00:00
Raymond Hettinger
bea3f6f5c7
Bug #1163325 : "special" decimals aren't hashable
2005-03-15 04:59:17 +00:00
Raymond Hettinger
96229b1918
Add two new functions, any() and all().
2005-03-11 06:49:40 +00:00
Raymond Hettinger
984f9bb714
operator.itemgetter() and operator.attrgetter() now support extraction
...
of multiple fields. This provides direct support for sorting by
multiple keys.
2005-03-09 16:38:48 +00:00
Martin v. Löwis
e2713becd8
Build with --disable-unicode again. Fixes #1158607 .
...
Will backport to 2.4.
2005-03-08 15:03:08 +00:00
Martin v. Löwis
b60ae99601
Convert file names of posix.access according to the file system encoding.
2005-03-08 09:10:29 +00:00
Martin v. Löwis
78be7df9e4
Patch #918101 : Add tarfile open mode r|* for auto-detection of the
...
stream compression; add, for symmetry reasons, r:* as a synonym of r.
2005-03-05 12:47:42 +00:00
Brett Cannon
409d8f2ebd
Allow classes to be defined with empty parentheses. This means that
...
``class C(): pass`` is no longer a syntax error.
2005-03-05 06:47:57 +00:00
Brett Cannon
07eca3a99b
Add a highlight group for denoting bad whitespace. Also added a match rule for
...
leading tabs in a line when in Python mode.
Also fixed some grammatical errors in the comments.
2005-03-05 05:52:21 +00:00
Greg Ward
40407943b7
SF #1149508 : ensure textwrap handles hyphenated numbers correctly,
...
eg. "2004-03-04" is not broken across lines. (Merged from 2.4 branch.)
2005-03-05 02:53:17 +00:00
Martin v. Löwis
00a73e7715
Patch #1043890 : tarfile: add extractall() method.
2005-03-04 19:40:34 +00:00
Martin v. Löwis
fd78a6f7f8
Patches #925152 , #1118602 : Avoid reading after the end of the buffer
...
in pyexpat.GetInputContext. Will backport to 2.4.
2005-03-04 14:37:01 +00:00
Martin v. Löwis
c72dd38f30
Patch #1075887 : Don't require MSVC in distutils if there is nothing
...
to build. Will backport to 2.4
2005-03-04 13:50:17 +00:00
Martin v. Löwis
637431bf14
Patch #1103407 : Properly deal with tarfile iterators when untarring
...
symbolic links on Windows. Fixes #1100429 . Will backport to 2.4.
2005-03-03 23:12:42 +00:00
Martin v. Löwis
96d743ec8b
Patch #1115086 : support PY_LONGLONG in structmember.
2005-03-03 23:00:26 +00:00
Raymond Hettinger
b67cc80bb9
SF bug #1155938 : Missing None check for __init__().
2005-03-03 16:45:19 +00:00
Martin v. Löwis
4bf108d74f
Patch #802188 : better parser error message for non-EOL following line cont.
2005-03-03 11:45:45 +00:00
Martin v. Löwis
a4dac4094a
Patch #645894 : Use getrusage for computing the time consumption in
...
profile.py if available.
2005-03-03 11:39:45 +00:00
Martin v. Löwis
7fe60c0a0a
Patches #749830 , #1144555 : allow UNIX mmap size to default to current
...
file size.
2005-03-03 11:22:44 +00:00
Martin v. Löwis
df37c8c1ad
Patch #1046831 : Use get_python_version where appropriate in sysconfig.py.
2005-03-03 11:08:03 +00:00
Martin v. Löwis
c5574e809b
Patch #1117454 : Remove code to special-case cookies without values
...
in LWPCookieJar. Backported to 2.4.
2005-03-03 10:57:37 +00:00
Martin v. Löwis
4ea3eade51
Patch #1117339 : Add cookielib special name tests.
...
Backported to 2.4.
2005-03-03 10:48:12 +00:00
Martin v. Löwis
e869eb1953
Patch #1112812 : Make bsddb/__init__.py more friendly for modulefinder.
...
Backported to 2.4.
2005-03-03 09:46:07 +00:00
Martin v. Löwis
ff232d7230
Clear internal call error in 'L' format. Fixes #723201 .
...
Backported to 2.4.
2005-03-03 09:24:38 +00:00
Martin v. Löwis
f2a8d63e4f
Patch #1110248 : SYNC_FLUSH the zlib buffer for GZipFile.flush.
...
Partially fixes #1110242 .
2005-03-03 08:35:22 +00:00
Martin v. Löwis
df24153f65
Patch #1107973 : tarfile.ExFileObject iterators.
2005-03-03 08:17:42 +00:00
Martin v. Löwis
8ed338ab44
Patch #1104111 : Alter setup.py --help and --help-commands.
2005-03-03 08:12:27 +00:00
Martin v. Löwis
4afe154369
Patch #1121234 : Properly cleanup _exit and tkerror commands.
...
Will backport to 2.4.
2005-03-01 08:09:28 +00:00
Raymond Hettinger
9c323f8de4
SF patch #941881 : PEP 309 Implementation (Partial Function Application).
...
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
2005-02-28 19:39:44 +00:00
Martin v. Löwis
9533e34024
Patch #1093585 : raise a ValueError for negative history items in
...
remove_history and replace_history. Will backport to 2.4.
2005-02-27 20:33:25 +00:00
Martin v. Löwis
c2a0ac20b7
Patch #1049151 : adding bool support to xdrlib.py.
...
Also add xdrlib._test into the test suite.
2005-02-24 20:22:10 +00:00
Walter Dörwald
af3b39a182
Add support for negative indices in UserString.MutableString.__setitem__
...
and UserString.MutableString.__delitem__.
2005-02-18 13:22:43 +00:00
Michael W. Hudson
8e1afab111
NEWS blurb for fix of:
...
[ 1124295 ] Function's __name__ no longer accessible in restricted mode
2005-02-17 14:55:21 +00:00
Brett Cannon
46d9623875
spwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT is
...
defined.
2005-02-16 00:07:19 +00:00
Brett Cannon
ced04e0936
Add mention of patch #1095802 (fixing "Macintosh" references to represent OS
...
X).
2005-02-13 22:53:22 +00:00
Brett Cannon
4380242580
Modified test for tzset to not rely on tm->tm_zone's existence. Also added
...
sanity checks on tzname if HAVE_TZNAME defined.
Closes bug #1096244 . Thanks Gregory Bond.
2005-02-10 20:48:03 +00:00
Raymond Hettinger
bab4143348
SF patch #1116583 : NameError in cookielib domain check
2005-02-05 01:31:19 +00:00
Jeremy Hylton
ab630507de
Add NEWS item about future parser bug.
2005-02-04 18:44:06 +00:00
Guido van Rossum
d064142579
Security fix PSF-2005-001 for SimpleXMLRPCServer.py.
2005-02-03 15:01:24 +00:00
Michael W. Hudson
faa7648ffe
More bug #1077106 stuff, sorry -- modem induced impatiece!
...
This should go on whatever bugfix branches the other fetches up on.
2005-01-31 17:09:25 +00:00
Martin v. Löwis
1d11de6dbd
Revert os.py 1.75, and directly implement update.
...
Fixes #1110478 and #1100235 .
2005-01-29 13:29:23 +00:00
Martin v. Löwis
13a1fde4da
Partially revert #1074011 ; don't try to fflush stdin.
...
Backported to 2.3 and 2.4.
2005-01-27 18:56:16 +00:00
Fred Drake
9c131f2879
add missing word
2005-01-23 15:16:08 +00:00
Martin v. Löwis
8e3ca8af26
Flush std{in,out,err} before closing it. Fixes #1074011 .
...
Will backport to 2.4 and 2.3.
2005-01-23 09:41:49 +00:00
Martin v. Löwis
c300175547
Patch #579435 : Shadow Password Support Module
2005-01-23 09:27:24 +00:00
Martin v. Löwis
4d394dfebb
Truncate st_?time before comparing it with ST_?TIME in the tests.
2005-01-23 09:19:22 +00:00
Thomas Heller
d6c6e2224b
distutils/command/install.py change.
2005-01-20 19:20:16 +00:00
Michael W. Hudson
46e6d92dc1
tweaks, small updates
2005-01-18 15:53:59 +00:00
Skip Montanaro
058858151d
Document the reconvert module.
2005-01-16 20:48:27 +00:00
Martin v. Löwis
fe33d0ba87
Default stat_float_times to true.
2005-01-16 08:57:39 +00:00
Martin v. Löwis
22b457e03b
Added SEEK_* constants. Fixes #711830 .
2005-01-16 08:40:58 +00:00
Andrew McNamara
f69d94f6c0
Moved reader \r and \n processing from the iterator to the state machine -
...
this allows for better handling of newline characters in quoted fields (and
hopefully resolves Bug 967934).
2005-01-13 11:30:54 +00:00
Skip Montanaro
0af3ade6aa
Add strptime() constructor to datetime class. Thanks to Josh Spoerri for
...
the changes.
2005-01-13 04:12:31 +00:00
Andrew McNamara
7f2053eff3
Add counting of source iterator lines to the reader object - handy for
...
user error messages (otherwise difficult to do without instrumenting
the source).
2005-01-12 11:17:16 +00:00
Andrew McNamara
0f0599ddc1
When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields
...
to floats.
2005-01-12 09:45:18 +00:00
Andrew McNamara
c89f284df8
When using QUOTE_NONNUMERIC, we now test for "numericness" with
...
PyNumber_Check, rather than trying to convert to a float. Reimplemented
writer - now raises exceptions when it sees a quotechar but neither
doublequote or escapechar are set. Doublequote results are now more
consistent (eg, single quote should generate """", rather than "",
which is ambiguous).
2005-01-12 07:44:42 +00:00
Andrew McNamara
31d8896ee2
Rename csv.set_field_limit to csv.field_size_limit (since it both sets and
...
gets).
2005-01-12 03:45:10 +00:00
Andrew McNamara
a08eecb638
Add news about csv module updates.
2005-01-12 03:25:27 +00:00
Raymond Hettinger
a422c34b70
SF 1098985: set objects cannot be marshalled
2005-01-11 03:03:27 +00:00
Skip Montanaro
afd77d980e
Add definitions for "up" and "down" commands that print/display the current
...
Python file/line when the current C execution frame is inside
PyEval_EvalFrame. These are commented out by default because GDB sometimes
crashes as a result (seems like a GDB bug).
Add a pyframe command that displays the current Python stack frame. If the
marked lines are uncommented, it will also cause Emacs/XEmacs to display the
current file/line.
2005-01-08 21:56:43 +00:00
Brett Cannon
e6539c4401
In _DummyThread objects the lock stored in __block (allocated thanks to
...
_Thread.__init__) was never used. This is a waste since locks use OS
primitives that are in limited supply. So the lock is deleted in
_DummyThread.__init__ .
Closes bug #1089632 .
2005-01-08 02:43:53 +00:00
Raymond Hettinger
97db05de3e
SF #75103 : imghdr -- identify JPEGs in EXIF format
2005-01-07 08:15:41 +00:00
Raymond Hettinger
c34f8673a1
Teach the peephole optimizer to fold simple constant expressions.
2005-01-02 06:17:33 +00:00
Andrew M. Kuchling
3b585b30c0
[Bug #1083110 ] calling .flush() on decompress objects causes a segfault due to an uninitialized pointer: fixes the problem and adds a test case
2004-12-28 20:10:48 +00:00
Walter Dörwald
3673369951
Add NEWS entry about bug #1076985 .
2004-12-22 12:50:50 +00:00
Sean Reifschneider
7caafe7018
Changing the idle wrapper to use Python and execvp() to pass arguments to
...
idle.
2004-12-21 02:22:29 +00:00
Raymond Hettinger
6065d32325
SF bug #951915 : fix bug in StringIO.truncate - length not changed
...
(Patch by Armin Rigo.)
2004-12-20 23:51:53 +00:00
Raymond Hettinger
b0900e6a21
SF #1085304 : Make array.array pickle-able
2004-12-16 16:23:40 +00:00
Marc-André Lemburg
bb4f1bdd8b
locale.py now uses an updated locale alias table (built using
...
Tools/i18n/makelocalealias.py, a tool to parse the X11 locale
alias file); the encoding lookup was enhanced to use Python's
encoding alias table
As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize
valid locale setting.
2004-12-10 21:58:14 +00:00
Raymond Hettinger
3557f42658
Combined several entries.
2004-12-07 12:02:02 +00:00
Raymond Hettinger
a6b45cc31d
Eliminate the deprecated option to return None instead of a tuple of arguments in __reduce__().
2004-12-07 07:05:57 +00:00
Brett Cannon
84667c063a
Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparse
...
instead of getopt. Required making use of gettext._ as optional (optparse
changed OK'ed by Greg Ward in private email).
2004-12-07 03:25:18 +00:00
Brett Cannon
516592f4ff
setup.py now uses the library directories specified in LDFLAGS (``-L``
...
directories) and the include directories specified in CPPFLAGS (``-I``
directories) for compiling the extension modules.
This has led to the core being compiled with the values in the shell's
CPPFLAGS. It has also removed the need for special casing to use Fink and
DarwinPorts under darwin since the needed directories can now be specified in
LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do
``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for
everything to work properly).
Parsing the values in the environment variables is done with getopt. While optparse
would have been a nicer solution it cannot be used because of dependency issues
at execution time; optparse uses gettext which uses struct which will not have
been compiled when the code is imported. If optparse ever makes its
importation of gettext optional by catching ImportError and setting _() to an
identity function then it can be used.
2004-12-07 00:42:59 +00:00
Raymond Hettinger
c7979f16ec
Removed deprecated tzparse module.
2004-12-05 11:38:18 +00:00
Raymond Hettinger
b2594050ea
Added optional None arguments to itertools.islice().
2004-12-05 09:25:51 +00:00
Raymond Hettinger
3489cad30a
Removed the deprecated bin parameter from the pickle module.
2004-12-05 05:20:42 +00:00
Raymond Hettinger
4ebe364277
Remove the deprecated statcache module.
2004-12-05 04:55:14 +00:00
Raymond Hettinger
1bc82f891c
Removed deprecated method arguments from the shelve module.
2004-12-05 03:58:17 +00:00
Raymond Hettinger
6c92d76abc
Removed deprecated method from pstats.
2004-12-05 03:28:00 +00:00
Raymond Hettinger
f3fa9460de
Removed deprecated use_statcache argument.
2004-12-05 01:58:09 +00:00
Raymond Hettinger
664347be94
SF bug #1078905 : Docs for unittest run() methods are misleading
2004-12-04 21:21:53 +00:00
Raymond Hettinger
784ab76c87
Remove the deprecated whrandom module.
2004-12-04 10:50:51 +00:00
Raymond Hettinger
665174834a
Remove PyRange_New().
2004-12-03 11:45:13 +00:00
Raymond Hettinger
f9245578c9
Acknowledge contribution of a thorough tutorial review.
2004-12-03 08:33:32 +00:00
Raymond Hettinger
3b0c7c20a1
SF patch #1077353 : add key= argument to min and max
...
(First draft of patch contributed by Steven Bethard.)
2004-12-03 08:30:39 +00:00
Raymond Hettinger
4901a1f267
Add key= argument to heapq.nsmallest() and heapq.nlargest().
2004-12-02 08:59:14 +00:00
Anthony Baxter
4277ed8d0a
whoops!
2004-11-30 11:53:10 +00:00
Anthony Baxter
e2648eeb14
doodedoodedoo on the way to 2.4 final
2004-11-30 01:28:55 +00:00
Anthony Baxter
e48bad7a24
preparing for 2.4 final (wooooooo!)
2004-11-29 01:40:31 +00:00
Kurt B. Kaiser
4c79a83e0c
Hye-Shik Chang's fix for Bug 875692.
...
Improve signal handling, especially when using threads, by forcing an early
re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not
cleared by Py_MakePendingCalls().
M Misc/NEWS
M Python/ceval.c
2004-11-23 18:06:08 +00:00
Anthony Baxter
5cc727ad7b
2.4rc1
2004-11-18 12:32:27 +00:00
Raymond Hettinger
39e92ead4b
Mark PyRange_New() as deprecated.
2004-11-18 09:41:45 +00:00
Skip Montanaro
0bb2a65dbd
split functionality into pystack and pystackv commands. The former will
...
work with core dumps because it avoids calling any Python API routines. The
latter prints all the local variable values as well as the stack frames but
won't work with core dumps because it relies on _PyObject_Dump to print
variables.
2004-11-17 16:04:15 +00:00
Tim Peters
bbc0d4409c
SF bug 1065388: calendar day/month name lookup too slow
...
__getitem__() methods: compute only the new spellings needed to satisfy
the given indexing object. This is purely an optimization (it should
have no effect on visible semantics).
2004-11-13 16:18:32 +00:00
Raymond Hettinger
96b49a51d0
SF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by Niki W. Waibel.)
...
Simple renaming to avoid a conflict that prevented compilation on Solaris.
2004-11-10 13:13:05 +00:00
Tim Peters
50c6bdb1d6
test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
...
showing that doctest's pdb.set_trace() support was dramatically broken.
doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace
function instead of (implicitly) None. Else interaction with pdb was
bizarre, noticing only 'call' events. Amazingly, the existing set_trace()
tests didn't care.
2004-11-08 22:07:37 +00:00
Tim Peters
fb1ffb0ebb
SF bug 1061968: threads: segfault or Py_FatalError at exit
...
PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673. Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.
Alas, there's no useful test case for this shy bug. Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box. I've never been able to provoke it (but not for lack of
trying!).
This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673. I don't intend to
backport this fix. For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.
2004-11-08 04:30:21 +00:00
Jeremy Hylton
def9d2a17c
Fix for SF bug 988120 via patch 1061941.
...
If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
2004-11-07 16:13:49 +00:00
Brett Cannon
7d28e96a41
Add comment about removal of CoreServices/CoreFoundation compilation against
...
the core on OS X (also specifically mention removal of
PyMac_GetAppletScriptFile() ).
2004-11-07 01:19:00 +00:00