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
Michael W. Hudson
7b7ba54033
Guess what? --disable-unicode proofing.
...
This is a strange test.
2002-05-20 14:54:17 +00:00
Michael W. Hudson
f207277167
More --disable-unicode stuff.
...
I'm getting better at vi!
2002-05-20 14:48:16 +00:00
Michael W. Hudson
3704644acb
Use types.StringTypes instead of (types.StringType, types.UnicodeType) --
...
works better (at all!) in --disable-unicode builds.
Bugfix candidate, probably.
2002-05-20 14:30:06 +00:00
Michael W. Hudson
9c373061ad
tolerate --disable-unicode...
2002-05-20 14:24:53 +00:00
Michael W. Hudson
7c6a4ad78f
More mindless --disable-unicode proofing.
2002-05-20 14:22:28 +00:00
Michael W. Hudson
286225b548
easy --disable-unicode proofing.
2002-05-20 14:15:42 +00:00
Michael W. Hudson
d95c828307
Fix for
...
[ 558249 ] softspace vs --disable-unicode
And #endif was in the wrong place.
Bugfix candidate, almost surely.
I think I will embark on squashing test failures in --disable-unicode builds --
a Real Bug was hiding under them.
2002-05-20 13:56:11 +00:00
Barry Warsaw
47f3e2cb6c
Add a bit of news about the email package fixes.
2002-05-20 00:14:24 +00:00
Barry Warsaw
6d86f8302f
A test message w/ CRLF line endings
2002-05-19 23:53:38 +00:00