[issue41672] imaplib: wrong return type documented

2020-09-11 Thread Norbert Cyran
Norbert Cyran added the comment: @corona10 PR added: https://github.com/python/cpython/pull/22207 -- ___ Python tracker <https://bugs.python.org/issue41

[issue41672] imaplib: wrong return type documented

2020-09-11 Thread Norbert Cyran
Change by Norbert Cyran : -- keywords: +patch pull_requests: +21261 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22207 ___ Python tracker <https://bugs.python.org/issu

[issue41672] imaplib: wrong return type documented

2020-09-06 Thread Norbert Cyran
Norbert Cyran added the comment: @ericsmith Sure, I can create a PR and link it here when I'm done. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41672] imaplib: wrong return type documented

2020-08-31 Thread Norbert Cyran
New submission from Norbert Cyran : Documentation on IMAP4 class specifies wrong return type of its commands: Each command returns a tuple: (type, [data, ...]) where type is usually 'OK' or 'NO', and data is either the text from the command response, or mandated results from

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-09 Thread Norbert
Norbert added the comment: Yes, if the Python runtime caches file names and determines based on the cache whether a file exists, then it needs to normalize both the file names in the cache and the name of the file it’s looking for. As far as I know, both HFS and APFS do this themselves when

[issue39832] Modules with decomposable characters in module name not found on macOS

2020-03-02 Thread Norbert
New submission from Norbert : Modules whose names contain characters that are in precomposed form but can be decomposed in Normalization Form D can’t be found on macOS. To reproduce: 1. Download and unzip the attached file Modules.zip. This produces a directory Modules with four Python

Re: SMTPHandler and Unicode

2010-07-07 Thread norbert
Well, you could use an approach like the one suggested here: http://plumberjack.blogspot.com/2010/07/using-custom-formatter-to-dea... That's nice, thanks. I'll use something like this. Just a thought : I will use errors=replace in the call to the encode method to be sure that the logger does

SMTPHandler and Unicode

2010-07-05 Thread norbert
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),

Re: SMTPHandler and Unicode

2010-07-05 Thread norbert
On 5 juil, 13:17, Chris Withers ch...@simplistix.co.uk wrote: try MailingLogger: If you have unicode problems with that, I'd be interested in fixing them! Your package has the same unicode problem : import logging,logging.handlers from mailinglogger.MailingLogger import MailingLogger

Re: SMTPHandler and Unicode

2010-07-05 Thread norbert
On 5 juil, 14:32, Chris Withers ch...@simplistix.co.uk wrote: norbert wrote: Your package has the same unicode problem : import logging,logging.handlers from mailinglogger.MailingLogger import MailingLogger mailingLogger = MailingLogger(mailhost=('smtp.example.com', 25),fromaddr='t

Re: SMTPHandler and Unicode

2010-07-05 Thread norbert
Ouch. Implicit encoding sounds like a bad behaviour. Looking at the FileHandler source ( http://svn.python.org/view/python/trunk/Lib/logging/__init__.py?view=markup ) : the utf-8 encoding is a fallback. But *FileHandler family let you specify the encoding you want, so that's OK I think. But

Hint :Easy_Install Documentation

2007-01-12 Thread Norbert
Hello list, just in the moment I wanted to write about then lacking documentation about Easy_Install, but then I found this one : http://www-128.ibm.com/developerworks/library/l-cppeak3.html. Just for google. HTH Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: python.org not current

2006-12-08 Thread Norbert
On 8 Dez., 08:40, Fredrik Lundh [EMAIL PROTECTED] wrote: Norbert wrote: the python websitehttp://www.python.org/mentions Version 2.3.6 and 2.4.4 on the most prominent place. Shouldn't this be changed to 2.5.x ?you're looking at the news section: the 2.3.6 and 2.4.4 maintenance releases

python.org not current

2006-12-07 Thread Norbert
Hello all, the python website http://www.python.org/ mentions Version 2.3.6 and 2.4.4 on the most prominent place. Shouldn't this be changed to 2.5.x ? Regards Norbert -- http://mail.python.org/mailman/listinfo/python-list

EasyInstall under Windows - strange behaviour

2006-11-30 Thread Norbert
', 'console_scripts', 'easy_install')() ) What is going on here ? I presume that there are some trivial things I don't understand, can someone provide apointer or hint ? Thank you for your time ! Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: EasyInstall under Windows - strange behaviour

2006-11-30 Thread Norbert
for the tip, but I checked this and this is not the case. I presume that I missed a step in the ez_setup process. Thanks again Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: small python cgi webserver

2006-11-05 Thread Norbert Kaufmann
/rfc2616-sec6.html#sec6 As you may see you separate the header of a response from the body by an empty line, generated with CRLF. Since one CRLF ends the line inside the header you need two of them. Bye Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: small python cgi webserver

2006-11-04 Thread Norbert Kaufmann
' then you have to name your cgi_directories ['/Desktop/cgi-bin']. In your response (cgi-script) you have to divide the header from the content '\r\n\r\n'. HTH Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you practice Python?

2006-06-02 Thread Norbert Kaufmann
configuration files, search in logfiles for errors, etc. -- for your project in Python. Convince your project manager to develop prototypes. No one in your company is better and faster in prototyping than the Python expert Ray. HTH Norbert -- It is easier to get forgiveness than permission. -- http

Re: Pywin32: How to import data into Excel?

2005-11-13 Thread Norbert
automate save-as-workbook and any formatting you need afterwards. But there are thorny issues with different locales and number formats. Excel is also just too clever in recognising dates All the best Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: Formated String in optparse

2005-04-14 Thread Norbert Thek
with only an english enabled browser wouldn't see a difference..) I tried to work with the encode method of string but It didn't work for me some hint what to do? Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: Threading Problem

2004-12-22 Thread Norbert
that the starting function finishes, while the other thread still runs ?' . As I said, this is the purpose of threading. Thanks again Norbert -- http://mail.python.org/mailman/listinfo/python-list

Re: Threading Problem

2004-12-22 Thread Norbert
Thanks Alan, i hoped it would be something trivial :) Norbert -- http://mail.python.org/mailman/listinfo/python-list