Skip Montanaro
766349e57e
Incorporate a lightly edited version of the SocketServer module's docstring
...
into the docs and segregate the method descriptions for the various classes
into separate sections. Base on suggestion by Paul Rubin in c.l.py.
2005-05-12 13:42:42 +00:00
Kurt B. Kaiser
935ea9a0b2
Improve subprocess link error notification
...
M NEWS.txt
M PyShell.py
M rpc.py
2005-05-10 03:44:24 +00:00
Raymond Hettinger
77d08bcfc2
SF bug #1193890 : calendar.weekheader not found in __all__
2005-05-10 03:20:12 +00:00
Kurt B. Kaiser
20345fb8aa
Use Queue's blocking feature instead of sleeping in the main
...
loop. Patch # 1190163 Michiel de Hoon
2005-05-05 23:29:54 +00:00
Michael W. Hudson
abb103b17a
Don't use 'is not' to compare strings.
...
(spotted by reading pypy-svn :)
2005-05-04 11:59:38 +00:00
Raymond Hettinger
7c5e618577
Update Paul Prescod's permissions.
2005-04-30 21:25:19 +00:00
Raymond Hettinger
42406e6f27
SF patch #1191489 : Simplify logic in random.py
2005-04-30 09:02:51 +00:00
Brett Cannon
53e9a8b9f3
Fix error in a docstring where a single quote started the docstring but triple
...
quote ended it.
Closes bug #1192777 . Thanks Christopher Smith.
2005-04-30 05:50:19 +00:00
Guido van Rossum
ebbffd42f3
Fixed a typo in docstring I happened upon.
2005-04-30 00:20:35 +00:00
Raymond Hettinger
b56b494bea
SF bug #1190451 : 6.9 First sentence is confusing
...
* Fixed incorrect wording: expression->exception
* Noted the specific exception reported by "raise" when the is nothing
to re-raise.
* Eliminated several instances of "e.g." as recommended in the style guide.
2005-04-28 07:18:47 +00:00
Michael W. Hudson
e8dead47e6
Fix
...
[ python-Bugs-1190599 ] dir() docs show incorrect output
though not entirely how it's suggested in the bug report.
2005-04-27 09:41:23 +00:00
Raymond Hettinger
f21569e53d
Fix typo.
2005-04-26 05:18:53 +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
43148c8413
Update test to the current readline() behaviour.
2005-04-21 21:45:36 +00:00
Walter Dörwald
a4eb2d56a4
Fix comment.
2005-04-21 21:42:35 +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
b180c06a54
Fix tests dependent on the exception raised by non-settable descriptors.
2005-04-20 19:41:36 +00:00
Tim Peters
e890682e52
Whitespace normalization.
2005-04-20 17:45:13 +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
Raymond Hettinger
87bd3fe266
Correct swapped descriptions of empty string splits.
2005-04-19 04:29:44 +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
Jack Jansen
6d22b56b7e
Updated to work with current Python docs setup, and added a minimal README.
2005-04-17 21:30:52 +00:00
Brett Cannon
4454a1ff84
Fix building of spwd; was incorrectly checking for the needed HAVE_* values to
...
properly build the module.
Also moved up the creation of config_h_vars (from
distutils.sysconfig.parse_config_h()) higher on up in detect_modules() so that
it can be used sooner).
2005-04-15 20:32:39 +00:00
Raymond Hettinger
1356f785c1
SF bug #1183742 : PyDict_Copy() can return non-NULL value on error
2005-04-15 15:58:42 +00:00
Anthony Baxter
fa7e6b46ef
typo fix, thanks Jeremy Sanders
2005-04-15 06:17:20 +00:00
Walter Dörwald
769f8219a4
SF patch #1180062 by George Yoshida:
...
Doc/lib/libfunctional.tex: "in an new object" should read "in a new object"
Doc/lib/libsubprocess.tex: argument name is wrong; comma is missing.
2005-04-14 20:08:59 +00:00
Raymond Hettinger
8ec676e9fa
Update permissions for Finn Bock.
2005-04-13 22:04:21 +00:00
Fred Drake
cc97ebf577
get_method() returns a method name, not take it as an argument
...
(backporting to release24-maint branch)
2005-04-13 01:08:23 +00:00
Hye-Shik Chang
f2dbeff60b
Fix HTTP method handler example so that method names in uppercases
...
can be processed. (Submitted by Jooncheol Park)
2005-04-12 02:49:52 +00:00
Raymond Hettinger
3033734081
Update permissions for Eric Price.
2005-04-11 03:11:11 +00:00
Raymond Hettinger
fc11383ec3
SF bug #1180392 : StringIO's docs should mention overwriting of initial value
...
* Added a note that the initial file position is zero even if the object
is freshly initialized.
2005-04-11 01:03:44 +00:00
Raymond Hettinger
e490502e04
SF bug #1179957 : Missing def'n of equality for set elements
2005-04-10 17:32:35 +00:00
Raymond Hettinger
95ed80b0e0
Update status for Irme de Jong.
2005-04-10 16:36:16 +00:00
Raymond Hettinger
c672f8c377
SF patch 1179503: Fix typos in rpc.py
...
* Call to unpack_int() should have no arguments
* Misspelled BadRPCVerspion exception
* Replace <> with !=
2005-04-10 16:21:07 +00:00
Andrew M. Kuchling
d8d732e7d2
Fill out one section
2005-04-09 23:59:41 +00:00
Andrew M. Kuchling
4b000cd819
Add more text
2005-04-09 15:51:44 +00:00
Raymond Hettinger
bdaad8c939
* 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.
2005-04-09 14:55:07 +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
Martin v. Löwis
4a1e48c566
Patch #1177597 : Correct various bugs, add comments.
2005-04-09 10:51:19 +00:00
Brett Cannon
629496b77c
Add grammar change for allowing ``class B(): pass`` syntax.
2005-04-09 03:03:00 +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
Brett Cannon
4ebc7e3bd0
Add test for ``class B1(): pass``.
2005-04-09 01:27:37 +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