Martin v. Löwis
b4779c3496
Patch #515598 : removed unused import of os.
2002-02-16 23:16:53 +00:00
Martin v. Löwis
e6cc5b68bf
Remove extraneous variable 'total', as reported by James Rucker.
2002-02-16 23:13:54 +00:00
Martin v. Löwis
e12454f44a
The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715 .
...
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
2002-02-16 23:06:19 +00:00
Marc-André Lemburg
976ade691c
Also fix the comment.
2002-02-16 18:47:07 +00:00
Marc-André Lemburg
bb8b78b77a
Fix the name of the header file.
2002-02-16 18:44:52 +00:00
Marc-André Lemburg
a5d2b4cb18
Break SSL support out of _socket module and place it into a new
...
helper module _ssl.
The support for the RAND_* APIs in _ssl is now only enabled
for OpenSSL 0.9.5 and up since they were added in that
release.
Note that socketmodule.* should really be renamed to _socket.* --
unfortunately, this seems to lose the CVS history of the file.
Please review and test... I was only able to test the header file
chaos in socketmodule.c/h on Linux. The test run through fine
and compiles don't give errors or warnings.
WARNING: This patch does *not* include changes to the various
non-Unix build process files.
2002-02-16 18:23:30 +00:00
Tim Peters
e4418609f7
Whitespace normalization.
2002-02-16 07:34:19 +00:00
Tim Peters
20882dd174
SF bug #516372 : test_thread: unhandled exc. in thread
...
Fix exit races in test_thread.py and test_threaded_import.py.
I suspect the bug is provokable only under Linux (where child threads
seem to get lots of cycles before they get killed after the main thread
exits), or on multi-processor machines running other OSes.
Bugfix candidate.
2002-02-16 07:26:27 +00:00
Fred Drake
e73ad2a21f
Use the standard expression for the availability statement for alarm().
2002-02-15 20:59:43 +00:00
Skip Montanaro
8d1fdafd89
note that the alarm function is not available on Windows.
2002-02-15 20:36:19 +00:00
Fred Drake
960d7a68d0
Added deprecatioon information for mac.xstat().
...
This closes SF bug #505150 .
2002-02-15 14:35:09 +00:00
Fred Drake
928051fb26
The "%" character does not need to be escaped in verbatim environments.
...
This closes SF bug #517811 .
2002-02-15 04:12:59 +00:00
Fred Drake
7bc6f7ac7b
Consistently use \textasciicircum to produce a ^ character.
...
LaTeX really falls flat on this one!
2002-02-14 15:19:30 +00:00
Fred Drake
2eeec9bde5
Fix typo.
2002-02-14 07:16:30 +00:00
Fred Drake
78f6c867ae
Use PyModule_AddObject() instead of accessing the module dict directly.
2002-02-14 07:11:23 +00:00
Fred Drake
cca657b8fe
Use PyModule_AddIntConstant() instead of creating a private helper function.
...
This also avoids directly accessing the module'd __dict__.
2002-02-14 06:59:26 +00:00
Martin v. Löwis
8301256a44
Compute expat -I directives from srcdir. Fixes #517214 .
2002-02-14 01:25:37 +00:00
Tim Peters
b012a15c42
Finish the pyexpat rework for Windows: builders needn't suck down the
...
Expat installer from SF anymore, and the installer shouldn't install
expat.dll anymore.
2002-02-13 23:56:46 +00:00
Michael W. Hudson
0c1ceaf66d
Simon Budig's patch (posted by me):
...
[ #513235 ] prevent readline filename completion
2002-02-13 11:58:25 +00:00
Martin v. Löwis
8fef47be5f
Define VERSION in expat.h.
2002-02-13 07:47:16 +00:00
Tim Peters
9ad4b688ec
Windows time_clock(): rewrite to get rid of horrid casting tricks.
...
Don't blame Mark! The horrid casting tricks were my idea to begin with.
The rewrite works fine under VC6, and I *expect* will work fine under VC7.
2002-02-13 05:14:18 +00:00
Jack Jansen
246debbbc2
Two OSX fixes related to switching Python versions in an existing sourcetree:
...
- Create the Python.framework/Versions/$(VERSION) dir if it doesn't exist
- Override existing symlinks in the framework.
2002-02-12 21:30:53 +00:00
Martin v. Löwis
b48d198c12
"Generate" from expat.h.in, for 1.95.2.
2002-02-12 09:52:22 +00:00
Tim Peters
373f8d81ff
LOAD_FAST: rearrange branches to favor the expected case, and get
...
rid of a redundant NULL-pointer check in the expected case.
2002-02-12 04:31:21 +00:00
Mark Hammond
7ba5e810fd
Ensure we also build on VC7. Involves replacing largeint.h helper functions with msvc's native 64 bit integers.
2002-02-12 04:02:33 +00:00
Martin v. Löwis
a8d73847c4
Build using included Expat.
2002-02-12 00:05:49 +00:00
Martin v. Löwis
cf453fe2a8
Use included Expat library. Drop support for older expat versions.
2002-02-11 23:27:45 +00:00
Martin v. Löwis
481f68aaa6
Disable usage of Expat's config.h.
2002-02-11 23:16:32 +00:00
Martin v. Löwis
1dbb1caf86
Initial revision
2002-02-11 23:13:04 +00:00
Greg Ward
2e250b4378
Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
...
are preserved for redirected requests.
2002-02-11 20:46:10 +00:00
Marc-André Lemburg
aeff6687b5
Remove mentioning of -U option in "python -h" output.
2002-02-11 18:46:47 +00:00
Neal Norwitz
34172d5316
SF #515020 , delete global variables which are used only for temporary
...
values in for loops (dircase, prefix, sitedir).
2002-02-11 18:34:41 +00:00
Neal Norwitz
83bd70a7fa
SF #515005 , change "1 + ''" (which pychecker warns about being invalid)
...
into "raise Exception".
2002-02-11 18:26:02 +00:00
Neal Norwitz
f7fdedc320
SF #515022 remove unused variable
2002-02-11 18:18:29 +00:00
Neal Norwitz
aa38aa5435
SF #515009 , delete global variable that was apparently used only
...
in a for loop.
2002-02-11 18:14:22 +00:00
Neal Norwitz
d5ba4aeab0
SF #515018 , delete global variable that was apparently used only
...
in a list comprehension.
2002-02-11 18:12:06 +00:00
Neal Norwitz
f963b45dfd
SF #515026 , delete global variable that was apparently used only
...
in a for loop.
2002-02-11 18:11:09 +00:00
Neal Norwitz
bc9bc187aa
SF #515024 remove unused variable
2002-02-11 18:06:21 +00:00
Neal Norwitz
f151625b59
SF #515021 , print the refused list to the DEBUGSTREAM, so the parameter is used
...
Note: There is a TBD (aka FIXME) for how best to handle the refused addresses
2002-02-11 18:05:05 +00:00
Neal Norwitz
4212ea4d7a
SF #515012 , cleanup: remove unused variable
2002-02-11 18:01:32 +00:00
Neal Norwitz
22c5d77d47
SF #515011 , cleanup: remove "or 0" condition
2002-02-11 17:59:51 +00:00
Neal Norwitz
7fd41ccdb1
SF #515006 , remove unnecessary import
2002-02-11 17:57:55 +00:00
Neal Norwitz
086ac007a3
SF #515004 cleanup
...
- remove unnecessary imports
- rename dum -> dummy
2002-02-11 17:56:27 +00:00
Neal Norwitz
9fb289d826
SF #515000 , print result of f.tell() in test() instead of ignoring
2002-02-11 17:52:18 +00:00
Marc-André Lemburg
a0af63b242
Corrected import behaviour for codecs which live outside the encodings
...
package.
2002-02-11 17:43:46 +00:00
Andrew M. Kuchling
f2f219daa2
Regenerate configure script
2002-02-11 16:31:10 +00:00
Andrew M. Kuchling
54a3941c67
Bump version number to 2.3
2002-02-11 16:30:54 +00:00
Jack Jansen
58e7a68dea
Removed a spurious }. (How did it get there in the first place??)
2002-02-11 16:21:00 +00:00
Just van Rossum
005dbb219e
on MacOSX/Darwin, use ranlib when building static libs.
2002-02-11 15:31:50 +00:00
Steven M. Gava
e28ee754b0
improvement to keybinding re-use check
2002-02-11 03:45:22 +00:00