- 17 Ara, 2001 5 kayıt (commit)
-
-
Jack Jansen yazdı
-
Sjoerd Mullender yazdı
unescaped newlines in strings.
-
Steve Purcell yazdı
- Adds Fred's patch 487662: "Better error message for assertEqual" - Removed small portion of code unused after Guido's patch 490119: "Don't treat ^C as error"
-
Guido van Rossum yazdı
Montanaro) (With minor adjustments.)
-
Tim Peters yazdı
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 Ara, 2001 4 kayıt (commit)
-
-
Jack Jansen yazdı
-
Tim Peters yazdı
to Guido for the revelation).
-
Tim Peters yazdı
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 yazdı
-
- 15 Ara, 2001 8 kayıt (commit)
-
-
Tim Peters yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
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 yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
instead.
-
Guido van Rossum yazdı
%300s should be %.300s, twice.
-
Jack Jansen yazdı
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 Ara, 2001 23 kayıt (commit)
-
-
Tim Peters yazdı
-
Just van Rossum yazdı
python callback, and do RemoveEventHandler() upon deallocation.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Fred Drake yazdı
appropriately marked.
-
Jack Jansen yazdı
-
Fred Drake yazdı
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 yazdı
-
Fred Drake yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
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 yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
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 yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
they were represented by newlines in the document source. Partially fixes SF bug #493243.
-
Fred Drake yazdı
be on the <tr> element, not the <table> element. Partially fixes SF bug #493243.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Jeremy Hylton yazdı
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.
-