SMTPHandler and Unicode Hello, I want to send error messages with SMTPHandler logging. But SMTPHandler does not seem to be unicode aware. Is there something doable without playing with sys.setdefaultencoding ? import logging,logging.handlers smtpHandler = logging.handlers.SMTPHandler(mailhost=("smtp.example.com",25), fromaddr="toto... 8 Jul 2010 19:12
eric 5.0.0 released Detlev Offenbach wrote: Hi, I just uploaded eric 5.0.0. This is the first official release. It is available via the eric web site. http://eric-ide.python-projects.org/index.html What is it? ----------- eric5 is the Python3 variant of the well know eric4 Python IDE and is the first dev... 5 Jul 2010 06:42
What is the name of the name space I am in? I try to use "new.new.classobj (name, baseclass, dict)" and have no clue what the "dict" of the current name space is. I can name dicts of imported modules, because their name exists in the current name space. If, for instance, I import a module "service" then that module's name space would be "service.__dict_... 6 Jul 2010 13:22
Why Python forbids multiple instances of one module? 2010/7/4 CHEN Guang <dr.cg(a)126.com>: Why Python forbids multiple instances of one module? If only Python allows multiple instances of one module, module will be enough to replace class in most cases. After all, it is much easier to write a module than a class, at least we do not have to write self everyw... 6 Jul 2010 02:29
VICIOUS Enemy Insurgents kill 34 US soldiers after 9 hrs attack - Bellies ripped open and numerous injured - call for TRUE PATRIOTS . The deep undercover spies mislead the public on the facts VICIOUS Enemy Insurgents kill 34 US soldiers after 9 hrs attack - Bellies ripped open and numerous injured - call for TRUE PATRIOTS . The deep undercover spies mislead the public on the facts http://www.youtube.com/watch?v=fRZSzdQuOqM&feature=related http://www.youtube.com/watch?v=0q7yEnMjQ6U&feature=related htt... 4 Jul 2010 20:59
Getting the name of the file that imported current module foo.py: import bar bar.show_importer() output: 'foo' or 'foo.py' or 'path/to/foo' etc. Possible? Thanks, Tobiah ... 6 Jul 2010 01:24
Python 2.7 released 2010/7/4 Benjamin Peterson <benjamin(a)python.org>: On behalf of the Python development team, I'm jocund to announce the second release candidate of Python 2.7. Arg!!! This should, of course, be "final release". -- Regards, Benjamin ... 8 Jul 2010 12:29
Twisted 10.1.0 released On behalf of Twisted Matrix Laboratories, I am honored to announce the release of Twisted 10.1.0. Highlights include: * Deferreds now support cancellation * A new "endpoint" interface which can abstractly describe stream transport endpoints such as TCP and SSL * inotify support for Linux, which allows ... 5 Jul 2010 07:46
[RELEASE] Python 2.7 released On behalf of the Python development team, I'm jocund to announce the second release candidate of Python 2.7. Python 2.7 will be the last major version in the 2.x series. However, it will also have an extended period of bugfix maintenance. 2.7 includes many features that were first released in Python 3.1. The fa... 4 Jul 2010 12:15 |