Guido van Rossum
9ee4b94f51
Add a safeguard against setting the class to something with a
...
different free or alloc slot.
2002-05-24 18:47:47 +00:00
Guido van Rossum
4b46c0a15f
Don't require Unicode support.
2002-05-24 17:58:05 +00:00
Andrew M. Kuchling
0cc8c37357
Move really open-ended XXX items into comments
...
Remove 1.5.2 reference: who cares?
2002-05-24 17:06:17 +00:00
Guido van Rossum
2d3b986480
Disambiguate the grammar for backtick.
...
The old syntax suggested that a trailing comma was OK inside backticks,
but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar
to avoid the ambiguity. Fred: you may want to update the refman.
2002-05-24 15:47:06 +00:00
Guido van Rossum
a0a6c5a042
Add missing \ to macro definition only used when universal newlines
...
are disabled.
2002-05-24 15:24:38 +00:00
Raymond Hettinger
ef4d4bdc3c
Whitespace normalized.
2002-05-23 23:58:17 +00:00
Jack Jansen
b66e1a3dd2
Allow the shared library initialization routine to be overridden with an initialize=xxx argument.
...
Should fix #492465 .
2002-05-23 22:34:18 +00:00
Jack Jansen
dc74568782
Added missing dirs to LIBSUBDIRS, and reformatted it so it's easier to read
...
and maintain. Fixes #557482 .
2002-05-23 22:18:13 +00:00
Fred Drake
92bf9dacc9
Markup adjustments; fix the names of modules referenced in an expression.
2002-05-23 21:07:19 +00:00
Tim Peters
84ee323cb9
John Aycock correctly pointed out that the grammar for
...
"power" was formally ambiguous. Here's his fix.
2002-05-23 20:05:40 +00:00
Raymond Hettinger
c32f0336e0
Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.
2002-05-23 19:44:49 +00:00
Barry Warsaw
f070cce6af
(py-goto-statement-below): Watch out for landing in a triple quoted
...
string with text in column zero. Skip that stuff when looking for the
"first statement following the statement containing point".
2002-05-23 19:42:16 +00:00
Fred Drake
db2e3e3c9c
Added missing dependency on the refcount data file.
2002-05-23 19:41:25 +00:00
Tim Peters
1ccb3eeb7b
Link with the right C library! This has always been wrong (& my fault).
2002-05-23 19:25:59 +00:00
Fred Drake
f547863c63
Use Perl function prototypes to help avoid definition/usage mismatches
...
while modifying these files.
Minor style changes to make the use of "my" with arrays more consistent.
2002-05-23 17:59:16 +00:00
Fred Drake
ffb294bd34
Add refcount information for PySequence_ITEM().
2002-05-23 16:03:16 +00:00
Fred Drake
86228e4ca2
Add version annotation for PySequence_ITEM().
2002-05-23 16:02:28 +00:00
Tim Peters
bf9cb3ff1a
Use function instead of macro spellings for PyObject_memorystuff.
2002-05-23 15:51:20 +00:00
Tim Peters
c9ca5c82f9
Whitespace normalization.
2002-05-23 15:49:38 +00:00
Tim Peters
8ac1495a6a
Whitespace normalization.
2002-05-23 15:15:30 +00:00
Barry Warsaw
f655328483
parseaddr(): Fixed in the same way that Message.getaddrlist() was
...
fixed (re: SF bug #555035 ). Include a unittest.
2002-05-23 03:21:01 +00:00
Skip Montanaro
12424bc0ef
force gzip module to open files using 'b'inary mode.
...
closes patch #536278 .
2002-05-23 01:43:05 +00:00
Neal Norwitz
d4e5be5340
Closes : #556025 seg fault when doing list(xrange(1e9))
...
A MemoryError is now raised when the list cannot be created.
There is a test, but as the comment says, it really only
works for 32 bit systems. I don't know how to improve
the test for other systems (ie, 64 bit or systems
where the data size != addressable size,
e.g. 64 bit data, but 48 bit addressable memory)
2002-05-22 23:19:17 +00:00
Fred Drake
7779b208ae
Remove spurious "()" from the __str__() description.
2002-05-22 20:44:03 +00:00
Barry Warsaw
177b4a065f
Jack's documentation for the U mode character on the file()
...
constructor, vetted by Barry.
2002-05-22 20:39:43 +00:00
Barry Warsaw
4be55b5cef
file_doc: Add some description of the U mode character, but only when
...
WITH_UNIVERSAL_NEWLINES is enabled.
2002-05-22 20:37:53 +00:00
Jason Tishler
24cf7766bc
Patch #491107 : Cygwin setup.py import workaround patch
...
mwh wrote:
> Jason, feel free to complain if you think this isn't
> the right thing to do.
I guess that I would like to complain and reopen this
issue. :,) I cannot build a Python 2.2.1 with threads
under Cygwin without this patch even though I'm using
Michael's static _socket workaround. This is due to the
Cygwin fork() problem with DLL base address conflicts
that are triggered by importing many modules during the
setup.py run. Similar problems can also be caused by
regrtest.py.
Even after my rebase patch is accepted into Cygwin's
setup.exe, I feel this patch will still be necessary.
This is because during the build process, the shared
extensions (i.e., DLLs) will not be rebased yet. Hence,
the potential for DLL base address conflicts will exist.
One way to obviate this patch is to push the rebase
functionality into Cygwin's ld. Unfortunately, I don't
think this is likely to happen. Another possible way,
is to use the yet to be defined and implemented unload
module functionality:
http://mail.python.org/pipermail/python-dev/2001-December/019028.html
2002-05-22 16:46:15 +00:00
Jack Jansen
a43b2c4e30
Regenerated from new Universal Headers.
2002-05-22 15:08:58 +00:00
Jack Jansen
a7f4ded436
Allow the script to have not only a TEXT filetype but also a null filetype (to enable files to be created from the Unix side of OSX to be droppable on the MacPython interpreter).
2002-05-22 15:02:08 +00:00
Jack Jansen
0e2f798301
Replaced lots of PyMem_DEL() calls with PyObject_DEL().
2002-05-22 14:31:48 +00:00
Jack Jansen
422cdde69a
Enable WITH_PYMALLOC.
2002-05-22 14:31:10 +00:00
Jack Jansen
94ce52e8e8
Added 2 more addresses to send release notifications to.
2002-05-22 14:30:37 +00:00
Fred Drake
c58507582b
Added a version annotation for StringTypes.
...
Added documentation for BooleanType.
2002-05-22 02:44:24 +00:00
Barry Warsaw
43193150ee
Bump to version 2.0.4
2002-05-22 01:52:33 +00:00
Barry Warsaw
4be9eccbc4
getaddresses(): Like the change in rfc822.py, this one needs to access
...
the AddressList.addresslist attribute directly.
Also, add a test case for the email.Utils.getaddresses() interface.
2002-05-22 01:52:10 +00:00
Barry Warsaw
c421ad4a35
Minor typo: Message.getall() -> Message.get_all()
2002-05-22 01:22:46 +00:00
Skip Montanaro
012ed5da5e
add BooleanType
2002-05-21 23:17:12 +00:00
Guido van Rossum
5e355b244f
In both spilldata() functions, pretend that the docstring for
...
non-callable objects is always None. This makes for less confusing
output and fixes the problem reported in SF patch #550290 .
2002-05-21 20:56:15 +00:00
Barry Warsaw
0a8d4d5736
Message.getaddrlist(): Use the AddressList.addresslist attribute
...
instead of calling the getaddrlist() method, since the latter doesn't
work with multiple calls (it will return the empty list for the second
and subsequent calls).
Closes SF bug #555035 . Include a unittest.
2002-05-21 19:46:13 +00:00
Raymond Hettinger
6cf09f0792
Patch 543387. Document deprecation of complex %, //,and divmod().
2002-05-21 18:19:49 +00:00
Raymond Hettinger
97394bc795
Patch 533291. Deprecate None return form of __reduce__.
2002-05-21 17:22:02 +00:00
Raymond Hettinger
7f7d5bf438
Patch 543222. Disable script bindings in shell window.
2002-05-21 17:00:20 +00:00
Fred Drake
f79f2f94d5
Add additional comments on the use of \deprecated.
2002-05-21 16:27:20 +00:00
Neil Schemenauer
a2b11ecb08
Add IS_TRACKED and IS_MOVED macros. This makes the logic a little more clear.
2002-05-21 15:53:24 +00:00
Raymond Hettinger
0ebac97058
Patch 549187. Improve string formatting error message.
2002-05-21 15:14:57 +00:00
Fred Drake
5ecb7aaa6a
Add availability information for a couple of the types, and notes on writing
...
string-type tests for versions of Python built without Unicode support.
2002-05-21 14:28:22 +00:00
Guido van Rossum
fecdb494da
Another one.
2002-05-21 12:38:46 +00:00
Raymond Hettinger
8eaa3ad22c
Patches 558535. The standard Windows binding for Edit Select All
...
is Control-A rather than Alt-A.
2002-05-21 12:26:59 +00:00
Fred Drake
2513357c4b
Munge the RCS keywords to avoid updates, so the version number matches that
...
of the PyUNIT version of the same file. This helps people understand that
this version is the same as the version from the independent PyUNIT
release (confusion was indicated on the PyUNIT mailing list).
2002-05-21 03:49:00 +00:00
Michael W. Hudson
755f75eef8
Use types.StringTypes instead of explicit (str, unicode) list
2002-05-20 17:29:46 +00:00