- 17 Dec, 2001 2 commits
-
-
Guido van Rossum authored
Montanaro) (With minor adjustments.)
-
Tim Peters authored
got a barrage of compile errors that didn't make sense to the C++ brain: MSVC does not allow C (but does allow C++) initializers to contain data addresses supplied by other DLLs. So changed the initializers here to use dummy nulls, and changed module init to plug in the foreign addresses at runtime (manually simulating what C++ does by magic). Tested on Windows, and Guido tested on Linux (thanks!). BTW, the *point* is that people are going to use this module as a template for writing their own subtypes, and it's unusual for extension authors to build their extensions into Python directly (separate DLLs are the norm on Windows); so it's better if we give them a template that works <wink>.
-
- 16 Dec, 2001 4 commits
-
-
Jack Jansen authored
-
Tim Peters authored
to Guido for the revelation).
-
Tim Peters authored
about its dubious treatment of NULL (also opened a bug report on that, but don't want to risk changing it this late in the 2.2 game).
-
Fred Drake authored
-
- 15 Dec, 2001 8 commits
-
-
Tim Peters authored
-
Fred Drake authored
-
Tim Peters authored
Dietmar Schwertberger. Bugfix candidate. """ RISCOS/Modules/getpath_riscos.c: Include trailing '\0' when using strncpy [copy strlen(...)+1 characters]. Lib/plat-riscos/riscospath.py: Use riscosmodule.expand for os.path.abspath. [fixes problems with site.py where abspath("<Python$Dir>") returned join(os.getcwd(), "<Python$Dir>") as e.g. "SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>" wasn't recognised as an absolute path.] """
-
Fred Drake authored
-
Fred Drake authored
-
Guido van Rossum authored
instead.
-
Guido van Rossum authored
%300s should be %.300s, twice.
-
Jack Jansen authored
Finally CW7 allows me to replace the continually-in-need-of-updating exports files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-)
-
- 14 Dec, 2001 25 commits
-
-
Tim Peters authored
-
Just van Rossum authored
python callback, and do RemoveEventHandler() upon deallocation.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Fred Drake authored
appropriately marked.
-
Jack Jansen authored
-
Fred Drake authored
This partially fixes SF bug #492619. Fix a typo & use the new notice environment instead of (ab)using the \note and \warning macros.
-
Jack Jansen authored
-
Fred Drake authored
-
Jack Jansen authored
-
Jack Jansen authored
skipped on Mac OS X. Not sure yet about test_locale.py: this may be due to my copy of Mac OS X (although it talks english fine enough).
-
Fred Drake authored
-
Barry Warsaw authored
-
Barry Warsaw authored
call self.close() just before raising SMTPServerDisconnected. This allows you to, e.g. reconnect after a server timeout. Merged from the 2.2c1 branch.
-
Barry Warsaw authored
-
Fred Drake authored
-
Fred Drake authored
they were represented by newlines in the document source. Partially fixes SF bug #493243.
-
Fred Drake authored
be on the <tr> element, not the <table> element. Partially fixes SF bug #493243.
-
Fred Drake authored
-
Fred Drake authored
-
Jeremy Hylton authored
Rev 1.20 introduced a call to getpeername() in the dispatcher constructor. This only works for a connected socket. Apparently earlier versions of the code worked with un-connected sockets, e.g. a listening socket. It's not clear that the code is supposed to accept these sockets, because it sets self.connected = 1 when passed a socket. But it's also not clear that it should be a fatal error to pass a listening socket. The solution, for now, is to put a try/except around the getpeername() call and continue if it fails. The self.addr attribute is used primarily (only?) to produce a nice repr for the object, so it hardly matters. If there is a real error on a connected socket, it's likely that subsequent calls will fail too.
-
Jack Jansen authored
Add default values for options in the class init routine, not in the convenience wrapper function: distutils uses the class directly. Fixes bug #492665.
-
Guido van Rossum authored
Fix for SF bug #492345. (I could've sworn I checked this in, but apparently I didn't!) This code: class Classic: pass class New(Classic): __metaclass__ = type attempts to create a new-style class with only classic bases -- but it doesn't work right. Attempts to fix it so it works caused problems elsewhere, so I'm now raising a TypeError in this case.
-
- 13 Dec, 2001 1 commit
-
-
Just van Rossum authored
- FindControlUnderMouse() returns an existing control, not a new one.
-