]>
granicus.if.org Git - python/log
Raymond Hettinger [Sun, 10 Apr 2005 16:21:07 +0000 (16:21 +0000)]
SF patch
1179503 : Fix typos in rpc.py
* Call to unpack_int() should have no arguments
* Misspelled BadRPCVerspion exception
* Replace <> with !=
Andrew M. Kuchling [Sat, 9 Apr 2005 23:59:41 +0000 (23:59 +0000)]
Fill out one section
Andrew M. Kuchling [Sat, 9 Apr 2005 15:51:44 +0000 (15:51 +0000)]
Add more text
Raymond Hettinger [Sat, 9 Apr 2005 14:55:07 +0000 (14:55 +0000)]
* Fix error in definition of Im() which returned self instead of 0
for non-complex arguments.
* Replace type() comparisons with isinstance() checks.
* Replace apply() calls with equivalent syntactic form.
* Simplify __hash__ definition to hash the underlying tuple.
* Use math.hypot() for more robust computation of __abs__().
* Use sorted() instead of the multi-step keys/sort/iter.
* Update comment on the cmath module.
Martin v. Löwis [Sat, 9 Apr 2005 10:53:34 +0000 (10:53 +0000)]
Patch #
1177597 : Fix various bugs in Demo/classes/Complex.py.
Martin v. Löwis [Sat, 9 Apr 2005 10:51:19 +0000 (10:51 +0000)]
Patch #
1177597 : Correct various bugs, add comments.
Brett Cannon [Sat, 9 Apr 2005 03:03:00 +0000 (03:03 +0000)]
Add grammar change for allowing ``class B(): pass`` syntax.
Brett Cannon [Sat, 9 Apr 2005 02:30:16 +0000 (02:30 +0000)]
Flush out support for ``class B(): pass`` syntax by adding support to the
'parser' module and 'compiler' package.
Closes patch #
1176012 . Thanks logistix.
Brett Cannon [Sat, 9 Apr 2005 01:27:37 +0000 (01:27 +0000)]
Add test for ``class B1(): pass``.
Raymond Hettinger [Fri, 8 Apr 2005 20:43:19 +0000 (20:43 +0000)]
Record removal of permissions for Charles Waldman.
Tim Peters [Fri, 8 Apr 2005 20:02:08 +0000 (20:02 +0000)]
Add ESR info.
Raymond Hettinger [Fri, 8 Apr 2005 19:09:19 +0000 (19:09 +0000)]
Record a drop request by Ken Manheimer.
Raymond Hettinger [Fri, 8 Apr 2005 18:36:14 +0000 (18:36 +0000)]
Record a drop request by Moshe Zadka.
Tim Peters [Fri, 8 Apr 2005 18:00:59 +0000 (18:00 +0000)]
test_default_encoding_issues(): Fully restore sys.setdefaultencoding.
test_site often failed under "regrtest.py -r", because this xmlrpc test
left sys with a setdefaultencoding attribute, but loading site.py removes
that attribute and test_site.py verifies the attribute is gone. Changed
this test to get rid of sys.setdefaultencoding if it didn't exist when
this test started.
Don't know whether this is a bugfix (backport) candidate.
Tim Peters [Fri, 8 Apr 2005 17:16:28 +0000 (17:16 +0000)]
Info about Eric Price.
Raymond Hettinger [Fri, 8 Apr 2005 03:19:09 +0000 (03:19 +0000)]
Update permissions log for Reedy, Holden, Haring, and Cole.
Michael W. Hudson [Thu, 7 Apr 2005 10:11:19 +0000 (10:11 +0000)]
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.
Raymond Hettinger [Thu, 7 Apr 2005 05:36:17 +0000 (05:36 +0000)]
SF bug #
1178269 Clarify when isMappingType/isSequenceType is True.
Raymond Hettinger [Thu, 7 Apr 2005 04:38:04 +0000 (04:38 +0000)]
SF bug #
1178255 : 256 should read 255 in operator module docs
Michael W. Hudson [Wed, 6 Apr 2005 13:05:18 +0000 (13:05 +0000)]
Make that a C, not a C++, comment.
Michael W. Hudson [Wed, 6 Apr 2005 11:27:40 +0000 (11:27 +0000)]
Add a comment explaining the import of longintrepr.h.
Tim Peters [Wed, 6 Apr 2005 00:59:02 +0000 (00:59 +0000)]
By popular demand from Linux-heads(!), renamed developers to developers.txt.
Raymond Hettinger [Tue, 5 Apr 2005 22:35:15 +0000 (22:35 +0000)]
Begin a log of developer permissions.
Raymond Hettinger [Tue, 5 Apr 2005 04:31:09 +0000 (04:31 +0000)]
SF bug #
1168983 : ftplib.py string index out of range
* resp[:1] in '123' # after Py2.2, this allowed blank responses to pass.
* replace <> with !=
* provide a usage message for empty command line calls
Backport candidate.
Walter Dörwald [Mon, 4 Apr 2005 21:42:22 +0000 (21:42 +0000)]
Fix typos.
Walter Dörwald [Mon, 4 Apr 2005 21:38:47 +0000 (21:38 +0000)]
Fix for SF bug #
1175396 : readline() will now read one more character, if
the last character read is "\r" (and size is None, i.e. we're allowed to
call read() multiple times), so that we can return the correct line ending
(this additional character might be a "\n").
If the stream is temporarily exhausted, we might return the wrong line ending
(if the last character read is "\r" and the next one (after the byte stream
provides more data) is "\n", but at least the atcr member ensure that we
get the correct number of lines (i.e. this "\n" will not be treated as
another line ending.)
Hye-Shik Chang [Mon, 4 Apr 2005 16:32:07 +0000 (16:32 +0000)]
Fill docstrings for module and functions, extracted from the tex
documentation. (Patch #
1173245 , Contributed by Jeremy Yallop)
Hye-Shik Chang [Mon, 4 Apr 2005 15:49:02 +0000 (15:49 +0000)]
Make a handy macro, Py_DEFAULT_RECURSION_LIMIT to allow to define
a default value of recursion limit from build systems. 1000 levels
are still too high for some 64bit systems.
Hye-Shik Chang [Mon, 4 Apr 2005 15:21:04 +0000 (15:21 +0000)]
Fix testcase for 64bit BSD systems: long is 8 bytes for those systems
so there's no need to pad after off_t members. And a small typo fix.
Vinay Sajip [Thu, 31 Mar 2005 20:18:06 +0000 (20:18 +0000)]
Added threadName to LogRecord
Vinay Sajip [Thu, 31 Mar 2005 20:16:55 +0000 (20:16 +0000)]
Added threadName and now using re-entrant lock
Walter Dörwald [Thu, 31 Mar 2005 13:57:38 +0000 (13:57 +0000)]
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.
Michael W. Hudson [Thu, 31 Mar 2005 09:35:44 +0000 (09:35 +0000)]
NEWS entries for the bugs I fixed yesterday.
Michael W. Hudson [Wed, 30 Mar 2005 16:41:55 +0000 (16:41 +0000)]
I suppose a bug report or even a fix would be a better response, but
commit a yelp about a noted flaw the error messages for METH_KEYWORDS
functions under some circumstances.
Michael W. Hudson [Wed, 30 Mar 2005 16:32:10 +0000 (16:32 +0000)]
Fix for rather inaccurately titled bug
[
1165306 ] Property access with decorator makes interpreter crash
Don't allow the creation of unbound methods with NULL im_class, because
attempting to call such crashes.
Backport candidate.
Michael W. Hudson [Wed, 30 Mar 2005 16:25:34 +0000 (16:25 +0000)]
Minor wording fix.
Michael W. Hudson [Wed, 30 Mar 2005 11:21:53 +0000 (11:21 +0000)]
Fixes for
[
1166660 ] The readline module can cause python to segfault
It seems to me that the code I'm rewriting here attempted to call any
user-supplied hook functions using the thread state of the thread that
called the hook-setting function, as opposed to that of the thread
that is currently executing. This doesn't work, in general.
Fix this by using the PyGILState API (It wouldn't be that hard to
define a dummy version of said API when #ifndef WITH_THREAD, would
it?).
Also, check the conversion to integer of the return value of a hook
function for errors (this problem was mentioned in the ipython bug
report linked to in the above bug).
Michael W. Hudson [Wed, 30 Mar 2005 10:09:12 +0000 (10:09 +0000)]
Be a bit more accurate.
Michael W. Hudson [Wed, 30 Mar 2005 09:38:12 +0000 (09:38 +0000)]
I don't think it's particularly accurate to say Guido is maintaining
this module any more.
Fred Drake [Tue, 29 Mar 2005 16:06:51 +0000 (16:06 +0000)]
add 2.4.1 to the release history
Anthony Baxter [Tue, 29 Mar 2005 16:05:36 +0000 (16:05 +0000)]
merge from branch
Bob Ippolito [Tue, 29 Mar 2005 13:47:59 +0000 (13:47 +0000)]
Update NEWS for patch
1171735 (Darwin 8 build fixes)
Anthony Baxter [Tue, 29 Mar 2005 13:36:16 +0000 (13:36 +0000)]
Move exception finalisation later in the shutdown process - this
fixes the crash seen in bug #
1165761
Tim Peters [Mon, 28 Mar 2005 23:50:54 +0000 (23:50 +0000)]
SF patch
1167316 : doctest.py fails self-test if run directly.
Patch by Ilya Sandler.
Bugfix candidate.
Bob Ippolito [Mon, 28 Mar 2005 23:23:47 +0000 (23:23 +0000)]
patch [
1171735 ] - Darwin 8's headers disable functionality when
POSIX is enabled. This prevents the toolbox glue, all of Carbon,
and various other non-POSIX features from compiling. The POSIX
symbols are still used by default, so turning off the #define
doesn't hurt.
Additionally, linker flags have changed for Darwin 8, and are
different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.
Approved by Anthony
Martin v. Löwis [Mon, 28 Mar 2005 15:29:28 +0000 (15:29 +0000)]
Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #
1170460 .
Will backport to 2.4.
Martin v. Löwis [Mon, 28 Mar 2005 12:34:20 +0000 (12:34 +0000)]
Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4.
Greg Ward [Mon, 28 Mar 2005 02:40:46 +0000 (02:40 +0000)]
Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE,
AFMT_S32_BE, AFMT_MPEG.
Greg Ward [Mon, 28 Mar 2005 02:34:59 +0000 (02:34 +0000)]
SF #
1169212 : merge from 2.4 branch: fix silly typo in explaining AFMT
macros: U16 is unsigned and S16 is signed. Duh. Clarify surrounding
text a bit and refer to OSS docs.
Tim Peters [Mon, 28 Mar 2005 01:08:02 +0000 (01:08 +0000)]
Whitespace normalization.
Tim Peters [Mon, 28 Mar 2005 01:05:48 +0000 (01:05 +0000)]
Two lines in this file had unbalanced parentheses -- couldn't possibly
work (SyntaxErrors at compile time).
I slammed in what looked like the obvious fixes, but someone who
understands this file should check my work.
Raymond Hettinger [Sun, 27 Mar 2005 20:19:05 +0000 (20:19 +0000)]
Fix whitespace.
Raymond Hettinger [Sun, 27 Mar 2005 20:11:44 +0000 (20:11 +0000)]
SF patch #
1171417 : bug fix for islice() in docs
Raymond Hettinger [Sun, 27 Mar 2005 10:47:39 +0000 (10:47 +0000)]
* 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().
Raymond Hettinger [Sun, 27 Mar 2005 03:04:54 +0000 (03:04 +0000)]
SF bug #
1770766 : weakref proxy has incorrect __nonzero__ behavior.
Martin v. Löwis [Thu, 24 Mar 2005 19:40:57 +0000 (19:40 +0000)]
Add missing socket import
Thomas Heller [Thu, 24 Mar 2005 07:45:53 +0000 (07:45 +0000)]
Function signatures for tp_descr_get and tp_descr_set.
Fred Drake [Thu, 24 Mar 2005 07:00:05 +0000 (07:00 +0000)]
minor cleanup
Fred Drake [Thu, 24 Mar 2005 06:21:37 +0000 (06:21 +0000)]
clean up the underscore mess for the typeset formats so that subscripts
work in math displays (thanks to Bo Peng on the Doc-SIG)
Martin v. Löwis [Wed, 23 Mar 2005 22:16:22 +0000 (22:16 +0000)]
Make SRPMs pyversion 'any'.
Martin v. Löwis [Wed, 23 Mar 2005 18:54:36 +0000 (18:54 +0000)]
Make dist_files a triple, with the Python target version included,
so that bdist_wininst can specify 'any'.
Walter Dörwald [Wed, 23 Mar 2005 10:38:59 +0000 (10:38 +0000)]
Fix typo.
Martin v. Löwis [Tue, 22 Mar 2005 23:02:54 +0000 (23:02 +0000)]
Make the signature detached.
Walter Dörwald [Tue, 22 Mar 2005 22:43:28 +0000 (22:43 +0000)]
Add tests for tuple, list and UserList that initialize the object from
various iterables.
(Copied from test_deque.py as suggested by Jim Jewett in SF bug #
1166274 )
Martin v. Löwis [Tue, 22 Mar 2005 22:23:29 +0000 (22:23 +0000)]
Fix registration of output file.
Martin v. Löwis [Tue, 22 Mar 2005 20:32:41 +0000 (20:32 +0000)]
Don't set the Python version for sdist uploads.
Martin v. Löwis [Tue, 22 Mar 2005 15:51:14 +0000 (15:51 +0000)]
Upload GPG signature.
Walter Dörwald [Tue, 22 Mar 2005 11:22:38 +0000 (11:22 +0000)]
Fix typo.
Fred Drake [Tue, 22 Mar 2005 05:43:18 +0000 (05:43 +0000)]
fix Python style guide conformance
Fred Drake [Tue, 22 Mar 2005 04:09:37 +0000 (04:09 +0000)]
- fix markup bugs
- more consistent markup
- elaborate a couple of points
Walter Dörwald [Mon, 21 Mar 2005 21:31:47 +0000 (21:31 +0000)]
Add list tests that ensure that remove() removes the first occurrence.
(Copied from test_deque.py as suggested by Jim Jewett in SF bug #
1166274 )
Martin v. Löwis [Mon, 21 Mar 2005 21:00:59 +0000 (21:00 +0000)]
Actually add the implementation of the command.
Martin v. Löwis [Mon, 21 Mar 2005 20:56:35 +0000 (20:56 +0000)]
Add the upload command. Make all dist commands register their
outputs with the distribution object.
Brett Cannon [Mon, 21 Mar 2005 20:41:51 +0000 (20:41 +0000)]
Add comment about optional option for keeping indentation level from previous
line.
Skip Montanaro [Mon, 21 Mar 2005 19:39:16 +0000 (19:39 +0000)]
correct ontosys url - closes
1167329
Fred Drake [Mon, 21 Mar 2005 06:36:32 +0000 (06:36 +0000)]
- rename check_provision() to split_revision()
- fix indentation to conform to the Python style guide
- add more tests and documentation
Fred Drake [Mon, 21 Mar 2005 05:51:01 +0000 (05:51 +0000)]
fix obscure markup error, wrapping a long line
Fred Drake [Mon, 21 Mar 2005 05:47:11 +0000 (05:47 +0000)]
fix environment broken in revision 1.6
Fred Drake [Sun, 20 Mar 2005 22:19:47 +0000 (22:19 +0000)]
PEP 314 implementation (client side):
added support for the provides, requires, and obsoletes metadata fields
Fred Drake [Sun, 20 Mar 2005 22:17:02 +0000 (22:17 +0000)]
helper code, mostly from Andy Harrington, for PEP 314 completion
Andrew M. Kuchling [Sun, 20 Mar 2005 21:42:04 +0000 (21:42 +0000)]
Write part of PEP 309 section
Andrew M. Kuchling [Sun, 20 Mar 2005 20:06:49 +0000 (20:06 +0000)]
Describe how to get back lib-old; if this isn't the best way, please let me know
Andrew M. Kuchling [Sun, 20 Mar 2005 19:52:18 +0000 (19:52 +0000)]
Add item
Andrew M. Kuchling [Sun, 20 Mar 2005 19:26:30 +0000 (19:26 +0000)]
Describe various things
Matthias Klose [Sun, 20 Mar 2005 14:16:03 +0000 (14:16 +0000)]
fix two typos in python(1)
Raymond Hettinger [Sat, 19 Mar 2005 16:27:33 +0000 (16:27 +0000)]
Fill-in missing argspec.
Raymond Hettinger [Sat, 19 Mar 2005 00:00:51 +0000 (00:00 +0000)]
Apply remove's mutation test after every equality test.
Raymond Hettinger [Fri, 18 Mar 2005 21:20:23 +0000 (21:20 +0000)]
Add a remove() method to collections.deque objects.
Skip Montanaro [Fri, 18 Mar 2005 16:56:37 +0000 (16:56 +0000)]
add UnicodeReader and UnicodeWriter example classes
Walter Dörwald [Fri, 18 Mar 2005 10:28:24 +0000 (10:28 +0000)]
Fix typo.
Anthony Baxter [Wed, 16 Mar 2005 04:15:07 +0000 (04:15 +0000)]
Patch #
1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
support for posix semaphores.
Skip Montanaro [Wed, 16 Mar 2005 03:51:56 +0000 (03:51 +0000)]
typo
Fred Drake [Tue, 15 Mar 2005 15:52:08 +0000 (15:52 +0000)]
add two more extensions:
- .wsdl --> Web Service Definition Language
- .xpdl --> XML Process Definition Language
Raymond Hettinger [Tue, 15 Mar 2005 04:59:17 +0000 (04:59 +0000)]
Bug #
1163325 : "special" decimals aren't hashable
Martin v. Löwis [Tue, 15 Mar 2005 00:39:40 +0000 (00:39 +0000)]
Reuse componentids for *.dll across minor releases.
Indicate to the user when this is an upgrade installation.
Make CHM file non-advertised.
Backported to 2.4.
Martin v. Löwis [Mon, 14 Mar 2005 21:23:33 +0000 (21:23 +0000)]
Configure bug reporting address.
Walter Dörwald [Mon, 14 Mar 2005 19:25:41 +0000 (19:25 +0000)]
Add default value for "whence" argument.
Walter Dörwald [Mon, 14 Mar 2005 19:06:30 +0000 (19:06 +0000)]
Reset internal buffers when seek() is called. This fixes SF bug #
1156259 .
Martin v. Löwis [Mon, 14 Mar 2005 17:20:13 +0000 (17:20 +0000)]
Add more UUIDs. Update custom actions for Itanium.
Backported to 2.4
Vinay Sajip [Sun, 13 Mar 2005 09:57:46 +0000 (09:57 +0000)]
Made traceback unconditional, to avoid lock contention problems when logging errors occur in a custom importer (SF path #
1158052 ).