Neal Norwitz
ba902fda3c
SF #515041 , Update path for 2.3
2002-02-19 02:58:54 +00:00
Martin v. Löwis
f9bd6b09e1
Allow __doc__ to be of arbitrary type. Patch by James Henstridge,
...
fixes #504343 . 2.2.1 candidate.
2002-02-18 17:46:48 +00:00
Steven M. Gava
82c6682bb7
further work on config system
2002-02-18 01:45:43 +00:00
Steven M. Gava
4974575609
handle user theme and key set deletion
2002-02-18 01:43:11 +00:00
Neil Schemenauer
6354386d65
Move some opcodes to top of big eval_frame switch statement. Skip
...
things_to_do block for a few common opcodes that don't do any real
work. Closes SF patch #512256 .
2002-02-17 19:10:14 +00:00
Tim Peters
54e5b89d77
SF bug #497839 : reindent chokes on empty first lines.
...
Reindenter.run(): copy over initial all-whitespace lines (if any, and
after normalizing to remove trailing blanks and tabs).
Bugfix candidate.
2002-02-17 07:03:05 +00:00
Andrew MacIntyre
41d97d6777
Create and populate OS/2 EMX port build directory:
...
PC/os2emx/
Makefile
README.os2emx
config.c
dlfcn.c // libdl emulation code for loadable extensions
dlfcn.h
dllentry.c // DLL initialisation routine for Python DLL
getpath.c
pyconfig.h
python23.def // Python DLL symbol export definitions
pythonpm.c // console-less PM interpreter wrapper
2002-02-17 05:23:30 +00:00
Tim Peters
18e6778bcd
Repair so that importing socket doesn't blow up on platforms that lack
...
SSL support. test_socket.py passes again on Windows.
Added an XXX about adding _ssl exports to the __all__ list (it doesn't
appear to be doing anything about that now, but since I don't have SSL
on this box I can't really tell).
2002-02-17 04:25:24 +00:00
Tim Peters
643a7fc62f
Moved the declaration of PySocketSock_Type from socketmodule.h to
...
socketmodule.c. No code outside of the .c file references it, so it
doesn't belong the .h file (at least not yet ...), and declaring it
an imported symbol in the .h file can't be made to work on Windows (it's
a cross-DLL symbol then) without substantial code rewriting. Also
repaired the comment that goes along with the decl, to stop referring
to names and functions that haven't existed for 7 years <wink>.
socketmodule.c compiles cleanly on Windows again. The test_socket dies
at once, though (later).
2002-02-17 04:13:21 +00:00
Tim Peters
6f5505aaf9
For readability, switch to tab indents; was using a mix of tab indents,
...
4-space indents, and ambiguous space+tab indents. Added an XXX comment
about a confusing part. Still doesn't build on Windows.
2002-02-17 03:58:51 +00:00
Martin v. Löwis
a5854c24a2
Patch #508038 : Do not use a type as a variable name.
2002-02-16 23:39:10 +00:00
Martin v. Löwis
b2c92f44d4
Patch #511193 : Implement killpg in posixmodule.
2002-02-16 23:35:41 +00:00
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