Re: word_set [snip enormous subject line]

2013-01-26 Thread Steven D'Aprano
of sample data needed to demonstrate the problem; three or four words is enough, no need to waste everyone's time and bandwidth with sixteen thousand words; - choose a MEANINGFUL subject line, there is no need to paste the entire body of your code in the subject line. Thank you. -- Steven

[no subject]

2012-12-15 Thread Dustin Guerri
Hi there, I'm new to Python and to programming. is this the right place for me to post a beginner question on Python use ? Many thanks. -- http://mail.python.org/mailman/listinfo/python-list

Abuse of subject, was Re: Abuse of Big Oh notation

2012-08-21 Thread Peter Otten
wxjmfa...@gmail.com wrote: By chance and luckily, first attempt. c:\python32\python -m timeit ('€'*100+'€'*100).replace('€' , 'œ') 100 loops, best of 3: 1.48 usec per loop c:\python33\python -m timeit ('€'*100+'€'*100).replace('€' , 'œ') 10 loops, best of 3: 7.62 usec per loop

Re: Abuse of subject, was Re: Abuse of Big Oh notation

2012-08-21 Thread wxjmfauth
Le mardi 21 août 2012 09:52:09 UTC+2, Peter Otten a écrit : wxjmfa...@gmail.com wrote: By chance and luckily, first attempt. c:\python32\python -m timeit ('€'*100+'€'*100).replace('€' , 'œ') 100 loops, best of 3: 1.48 usec per loop c:\python33\python -m timeit

[no subject]

2012-07-04 Thread levi nie
-- http://mail.python.org/mailman/listinfo/python-list

Problem with ImapLib and subject in French

2012-06-18 Thread Valentin Mercier
Hi, I'm trying to search some mails with SUBJECT criteria, but the problem is the encoding, I'm trying to search french terms (impalib and python V2.7) I've tried few things, but I think the encoding is the problem, in my mail header I have something like this: =?iso-8859-1?Q?Job

Re: Problem with ImapLib and subject in French

2012-06-18 Thread Arnaud Delobelle
On 18 June 2012 12:31, Valentin Mercier merciervs...@gmail.com wrote: Hi, I'm trying to search some mails with SUBJECT criteria, but the problem is the encoding, I'm trying to search french terms (impalib and python V2.7) I've tried few things, but I think the encoding is the problem, in my

Re: Problem with ImapLib and subject in French

2012-06-18 Thread Dieter Maurer
Valentin Mercier merciervs...@gmail.com writes: I'm trying to search some mails with SUBJECT criteria, but the problem is the encoding, I'm trying to search french terms (impalib and python V2.7) I've tried few things, but I think the encoding is the problem, in my mail header I have

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Michal Sladek
Michal Sladek mic...@sladkovi.eu added the comment: Changing code to: encodedSubject = '=?utf-8?b?{0}?='.format(base64Subject) still works properly with smtp.seznam.cz server -- ___ Python tracker rep...@bugs.python.org

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think the next thing to do would be to replace the call to send_message with code that calls BytesGenerator to write the message out to disk, and diff the output of the two versions (normal subject and hand-encoded subject). Maybe

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Martin v . Löwis
) after the subject (and all other places with base64), which might confuse seznam. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14062

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I also attach a stand-alone version. To run this locally, run smtpdX.Y.py -dn localhost:2525 -- Added file: http://bugs.python.org/file24844/a.py ___ Python tracker rep...@bugs.python.org

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, got it. When I created BytesParser I turned the 'NL' constant into a class attribute, but in the line that handles Header objects in BytesParser I failed to change NL to self._NL. So when send_message calls flatten with

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d0bf40ff20ef by R David Murray in branch '3.2': #14062: fix BytesParser handling of linesep for Header objects http://hg.python.org/cpython/rev/d0bf40ff20ef New changeset 7617f3071320 by R David Murray in branch

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks for the bug report. I thought we had tests for processing Header objects when serializing a message using BytesParser, but clearly we didn't. And thanks Tatiana and Martin for issue review and testing. -- resolution: -

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: Hi msladek! I tried to reproduce your bug using Python 3.2.2 on MacOS X, but didn't manage - all worked fine. I used gmail both to send and receive the message, on SSL: smtpPort = '465' smtpSrv = 'smtp.gmail.com' As I'm

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread Michal Sladek
:02 -0700 (PDT) Content-Type: multipart/mixed; boundary1165280172== MIME-Version: 1.0 From: mic...@sladkovi.eu To: msla...@volny.cz Subject: =?utf-8?b?xb5sdcWlb3XEjWvDvSBrxa/FiA==?= X-Gm-Message-State: ALoCoQmf6k2GVVKdm0ZNbvSyPpZ0Gl1yv/BDc3h3zrh34hWWp3wa/fSBXbWT9FANzBLd5k1qUnEP X-DKIM

[issue14062] UTF-8 Email Subject problem

2012-03-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It makes no sense that changing how Subject is generated would affect the later formatting of the mime header. There is no coupling that I'm aware of in the code. I notice that your handcrafted version uses uppercase for the charset

[no subject]

2012-03-10 Thread Sam Sam
How to change the color of source browser in DrPython? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2012-02-28 Thread Brendon Joyce
-- http://mail.python.org/mailman/listinfo/python-list

[issue14062] UTF-8 Email Subject problem

2012-02-20 Thread Michal Sladek
New submission from Michal Sladek mic...@sladkovi.eu: Hello! I think there is a problem when adding UTF-8 subject to email message. I wrote following function (its code is based on examples I found in offical docs) which should send an email with UTF-8 subject, UTF-8 plain text body

[issue14062] UTF-8 Email Subject problem

2012-02-20 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14062 ___ ___ Python-bugs-list

[issue14062] UTF-8 Email Subject problem

2012-02-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14062 ___ ___ Python-bugs-list

[no subject]

2012-02-13 Thread roncy thomas
I'm doing a miniproject on electronics voting system.I require help for creating a code in python for coverting the barcode into binary digits.Or atleast an algorithm for the same..please Help..Reply to this mail id. Kindly help me. --

[no subject]

2012-02-03 Thread Debashish Saha
would u like to help me by answering some vbasic questions about python? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2012-01-07 Thread abdullah zuberi
hello ? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-12-27 Thread rozelak
Hallo, I have kind of special question when extening python with C++ implemented modules. I try to implement a class, behaving also like an array. And I need to implement slice-getters. I implemented PySequenceMethods.sq_slice to get simple slices like: myobj[x:y] It works perfectly, without

Spam in subject lines (Re: 70% [* SPAM *] Re: multiprocessing.Queue blocks when sending large object)

2011-12-05 Thread Chris Angelico
On Mon, Dec 5, 2011 at 7:57 PM, b...@mail.python.org wrote: Why do people add character  like    [* SPAM *]  to their  subject lines ??   Is it supposed to do something  ??   I figured since programmers hang out here, maybe one of you know this. People don't. It's something added by a spam

Re: Spam in subject lines (Re: multiprocessing.Queue blocks when sending large object)

2011-12-05 Thread Steven D'Aprano
On Mon, 05 Dec 2011 20:11:28 +1100, Chris Angelico wrote: On Mon, Dec 5, 2011 at 7:57 PM, b...@mail.python.org wrote: Why do people add character  like    [* SPAM *]  to their  subject lines ??   Is it supposed to do something  ??   I figured since programmers hang out here, maybe one of you

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-10-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 65e7f40fefd4 by Antoine Pitrou in branch '3.2': Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported. http://hg.python.org/cpython/rev/65e7f40fefd4 New changeset

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-10-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8e6694387c98 by Antoine Pitrou in branch '2.7': Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported. http://hg.python.org/cpython/rev/8e6694387c98 --

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-10-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This should be fixed now. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13034

[issue13034] Python does not read Alternative Subject Names from some SSL certificates

2011-10-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: (fixing the title) -- title: Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits - Python does not read Alternative Subject Names from some SSL certificates

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Andrea Trasatti
New submission from Andrea Trasatti atrasa...@gmail.com: We found a problem with SSL certificates, when they are larger than 1024 bits and you need to check Alternative Subject Names. In our case we have a 2048 bit certificate, issued by Verisign for the domain developer.nokia.com

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Extension Modules nosy: +giampaolo.rodola, janssen, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13034 ___

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Attila Csipa
Changes by Attila Csipa launch...@csipa.in.rs: -- nosy: +achipa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13034 ___ ___ Python-bugs-list

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for reporting. This trivial patch seems to fix it (still needs a test): diff -r 1b4fae183da3 Modules/_ssl.c --- a/Modules/_ssl.cTue Aug 09 18:48:02 2011 -0500 +++ b/Modules/_ssl.cFri Sep 23 18:16:04 2011 +0200 @@ -590,7 +590,7 @@

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: For the record, curl uses the (also undocumented) X509_get_ext_d2i() function instead. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13034

[issue13034] Python does not read Alternative Subject Names from SSL certificates larger than 1024 bits

2011-09-23 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: -giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13034 ___ ___

Changing subject sucks. Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Phlip
On Jul 20, 6:17 pm, rantingrick rantingr...@gmail.com wrote: RE: *Ben Finney changes thread subject* Please everyone, do not change the subject of someone's thread because it's considered rude. Thank you. No it isn't. Rambling off on a new topic under the wrong subject is rude. -- http

Re: Changing subject sucks. Re: I am fed up with Python GUI toolkits...

2011-07-20 Thread Steven D'Aprano
On Thu, 21 Jul 2011 12:34 pm Phlip wrote: On Jul 20, 6:17 pm, rantingrick rantingr...@gmail.com wrote: RE: *Ben Finney changes thread subject* Please everyone, do not change the subject of someone's thread because it's considered rude. Thank you. No it isn't. Rambling off on a new topic

[no subject]

2011-06-23 Thread MURTAZA HUSSAIN
murtaza.ned...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-06-10 Thread burl rollinlife
Íàì, ãîâîðèò, î÷åíü ïðèÿòíî, è íàì íóæíû îáðàçîâàííûå Îíè íå ïðîñ÷èòàþò Âû, ãîâîðèò, òîæå, êàæåòñÿ, ïî êîììåð÷åñêîé ÷àñòè?http://rayjonz8231.de.tl/esp1006nimfia.htm -- http://mail.python.org/mailman/listinfo/python-list

Subject: mrjob v0.2.6 released

2011-05-25 Thread Jimmy Retzlaff
What is mrjob? - mrjob is a Python package that helps you write and run Hadoop Streaming jobs. mrjob fully supports Amazon's Elastic MapReduce (EMR) service, which allows you to buy time on a Hadoop cluster on an hourly basis. It also works with your own Hadoop cluster. Some

Subject: mrjob v0.2.6 released

2011-05-24 Thread Jimmy Retzlaff
What is mrjob? - mrjob is a Python package that helps you write and run Hadoop Streaming jobs. mrjob fully supports Amazon's Elastic MapReduce (EMR) service, which allows you to buy time on a Hadoop cluster on an hourly basis. It also works with your own Hadoop cluster. Some

[no subject]

2011-05-22 Thread Chris Jones
-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-05-22 Thread Chris Jones
-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-03-28 Thread Kylin25mail
-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-03-21 Thread Sniper
-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2011-03-02 Thread Gert Schmidt
Von meinem iPhone gesendet -- http://mail.python.org/mailman/listinfo/python-list

Subject: Re: problem with opening a new python program in a new window (and keeping track of the process)

2010-11-03 Thread Zak Kinion
What I want to do:  launch seperate python programs from one main program (multi-threading will not achieve this because the mechanize library uses one shared global opener object which will not suit my needs)  I want the scripts launched to be in seperate windows that i can see the output of

[no subject]

2010-07-06 Thread francisco dorset
hey am a programmer i have good knowledge of the c language and i will like to now how i can use to python to provide graphical user-interface for my c programs and or the steps involved in doing this and is it possible if yes i will also like some resources or books to learn from.

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2010-07-06 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Hello folks. (stumbling on this bug with Python2.7 release, noting that a few Mercurial tests broke with 2.7) I have no problem whatsoever with the fix itself (you know emails better than me), but you broke backwards compatibility for

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2010-07-06 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: Maybe an old-fashioned monkey-patch would be the way to go? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1974 ___

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2010-07-06 Thread Nicolas Dumazet
Nicolas Dumazet nicd...@gmail.com added the comment: Sure, where was my head. So, a simple patch like this one: _oldheaderinit = email.Header.Header.__init__ def _unifiedheaderinit(self, *args, **kw): # override continuation_ws kw['continuation_ws'] = ' ' _oldheaderinit(self,

[no subject]

2010-06-03 Thread Amit Sethi
Hi , I wish to execute some user submitted python code and have absolutely no other way out . I saw that there used to be a module called rexec which could define which modules can be imported and which cannot however exec doesn't have that kind of feature . Please if you could tell me what would

[no subject]

2010-04-30 Thread mannu jha
Dear all, I am trying my problem in this way: import re expr = re.compile(Helix Helix| Sheet Sheet| Turn Turn| Coil Coil) f = open(CalcSecondary4.txt) for line in f: if expr.search(line): print line but with this it is printing only those line in which helix, sheet, turn and coil

[no subject]

2010-04-28 Thread mannu jha
Dear all, I have a file like: 1 ALA Helix Sheet Helix Coil 2 ALA Coil Coil Coil Sheet 3 ALA Helix Sheet Coil Turn now what I want is that write a python program in which I will put the condition that in each line whatever secondary structure is coming more than or equal to two times it should

[no subject]

2010-04-14 Thread Nabla Kvadrat
http://hotfile.com/dl/37956235/65f8e99/4you.exe.html -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2010-03-04 Thread Adhitya Jiwa Pratama
-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2010-03-01 Thread Vaidehi Pawar
http://adimteknikhirdavat.com/James.html The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2010-01-06 Thread Krzysztof Kobus
Hi, Well, it seems that one of your files is a different architecture than the others. Based on the location, I'd say it's i386 while the rest of it would be PowerPC. You can cross-compile but you can't link an i386 library to a PowerPC library. Thank you for the hint. I have checked with

[no subject]

2009-12-26 Thread Yulin
Hi when I start my Pc I get error The specified module could not be found. LoadLibrary(pythondll)failed Please Help once I have enterd I get the following..C:\Documents and settings\all users\.clamwin\quarentine\python25.DLL PLEASE help I cant load most of my programmes Thanks

[no subject]

2009-12-22 Thread jholg
Hi, I need to convert Python decimal.Decimal data to the XMLSchema xs:decimal datatype. This is reasonably straightforward, but there are some corner cases. In particular, xs:decimal does not allow exponential notation like: print Decimal('0.002343000837483727772')

[no subject]

2009-12-21 Thread petro
-- Petro Khoroshyy Institute of Biophysics Biological Research Center of the Hungarian Academy of Sciences Temesvari krt. 62, P.O.Box 521 Szeged, Hungary, H-6701 This message was sent using IMP, the Internet Messaging Program.

[no subject]

2009-12-21 Thread petro
-- Petro Khoroshyy Institute of Biophysics Biological Research Center of the Hungarian Academy of Sciences Temesvari krt. 62, P.O.Box 521 Szeged, Hungary, H-6701 This message was sent using IMP, the Internet Messaging Program.

[no subject]

2009-12-21 Thread petro
-- Petro Khoroshyy Institute of Biophysics Biological Research Center of the Hungarian Academy of Sciences Temesvari krt. 62, P.O.Box 521 Szeged, Hungary, H-6701 This message was sent using IMP, the Internet Messaging Program.

[no subject]

2009-12-21 Thread bruce
hi... the following sample is an attempt to fetch two subsequent pages from a sameple site. (it's public) the script attempts to implement a request, using the POST method, as well as as cookies. Testing using LiveHttpHeaders/Firefox indicates that the app uses post/cookies, and it doesn't work

[no subject]

2009-11-13 Thread Ronn Ross
I'm attempting to convert latitude and longitude coordinates from degrees minutes and second to decimal form. I would like to go from: N39 42 36.3 W77 42 51.5 to: -77.739855,39.70 Does anyone know of a library or some existing out their to help with this conversion? --

[no subject]

2009-10-22 Thread baboucarr sanneh
Hi guys I want to make a script that can copy files and folders from one location and paste it to another location.. e.g from c:\test to d:\test thanks regrads $LIM $...@dy _ Windows

[no subject]

2009-08-20 Thread artur lukowicz
6344a24de14243c76060bedd42f79bc302679dad -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-07-29 Thread hch
Hi, everyone Is there a python script can get a list of how much stack space each function in your program uses? ( the program is compiled by gcc) Any advice will be appreciate. -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-07-27 Thread 9372966370
(Re: urllib2.URLError: urlopen error unknown url type: 'http error using twill with python) how can i change url/http://... - Sent by a Cricket mobile device - --

[no subject]

2009-07-27 Thread 9372966370
(Re: urllib2.URLError: urlopen error unknown url type: 'http error using twill with python) - Sent by a Cricket mobile device - -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-07-05 Thread 13139781969
Title: New Page 1 This message was sent using picture-talk messaging service from MetroPCS. (Homer & Marge having sex with Bart Simpson)> (Homer Marge having sex with Bart Simpson)-- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-06-02 Thread Kiran Siddiqui
hi have to parse a very complex dumps(whatever it is), i have done the parsing thruogh python.since the parsed data is very huge in amount, i have to feed it in the database (SQL), I have also done this... now the thing is i have to compare the data now present in the sql. in actual i have

[no subject]

2009-05-21 Thread Craig
http://downloads.emperorlinux.com/contrib/pyiw http://downloads.emperorlinux.com/contrib/pywpa Sorry fro the 2 post.How do i install a python moudles write en in C? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-05-12 Thread karlos barlos
hello to all i have been using this script to add users to my active directory structure i wise to make a loop in order for it to run for A large Number of Users can anyone give me some advice on the loop ?? import win32com,win32com.client def add_acct(location,account):      

Re: how to write loop (was no subject)

2009-05-12 Thread Dave Angel
karlos barlos wrote: hello to all i have been using this script to add users to my active directory structure i wise to make a loop in order for it to run for A large Number of Users can anyone give me some advice on the loop ?? import win32com,win32com.client def

[no subject]

2009-04-21 Thread karlos barlos
hello to everybody... having problem withe this code : dom = raw_input(The Domain name..:)   ad_user.Put('userPrincipalName',user['login']+'@(['dom']) but it wont change whay ? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-04-21 Thread karlos barlos
hello to everybody... having problem withe this code : dom = raw_input(The Domain name..:)   ad_user.Put('userPrincipalName',user['login']+'@(['dom']) but it wont change whay ? -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2009-04-18 Thread karlos barlos
i have the following code :    elif choice == 3:     print all users list :     print\n     import active_directory     for user in active_directory.search (objectCategory='Person', objectClass='User'): print user     i want to write  the output of the code (

[no subject]

2009-04-18 Thread karlos barlos
hello to all !! given the code : elif choice == 3:     print all users list :     print\n     import active_directory     for user in active_directory.search (objectCategory='Person', objectClass='User'): print user that lists all active directory personal ... how

[no subject]

2009-04-15 Thread fridash13
i am quite new to python ... i made a small script ,, for active directory using python all the script does is basicly explor the AD for a number of tasks .. * 1 .Find a user (quick method) * 2 .Find a computer (quick method) * 3 .List all users * 4 .List users in an OU * 5 .List all groups * 6

[no subject]

2009-04-15 Thread fridash13
i am quite new to python ... i made a small script ,, for active directory using python all the script does is basicly explor the AD for a number of tasks .. * 1 .Find a user (quick method) * 2 .Find a computer (quick method) * 3 .List all users * 4 .List users in an OU * 5 .List all groups * 6

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2009-03-31 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: It's probably worth noting that changing: from email.mime.text import MIMEText m = MIMEText('foo') m['subject']='something long' ...to: from email.header import Header m = MIMEText('foo') m['subject']=Header('something long

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2009-03-30 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: Barry and I talked about this and he's is now working on it. We're literally going to remove the \t folding substitution and have it do the default space folding substitution instead. -- resolution: - accepted versions: +Python

[issue1645148] MIME renderer: wrong header line break with long subject?

2009-03-30 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: This bug is a combination of [Issue1974] and [Issue5612]. [Issue1974] is being worked on. [Issue5612] is fixed in Python 3, but will need more work to be fixed in Python 2, *if* anyone cares about it... Please followup on one of these

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2009-03-30 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: So astoundingly, this change has deep implications. The upshot is that it's difficult to fix this so that headers look nice for e.g. Subject headers, but so that splitting and wrapping work as expected for e.g. machine readability of Received

[issue1645148] MIME renderer: wrong header line break with long subject?

2009-03-30 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: cjw296 - barry status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1645148 ___

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2009-03-22 Thread Martin von Gagern
Changes by Martin von Gagern martin.vgag...@gmx.net: -- nosy: +gagern ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1974 ___ ___ Python-bugs-list

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread rdmurray
, email.message_from_string() does not seem to properly decode unicode characters in the subject. How do I decode unicode characters in the subject? You don't. You can't. You decode str objects into unicode objects. You encode unicode objects into str objects. If your input is not a str object, you

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Roy H. Han
Subject =?us-ascii?Q?Inteum_C/SR_User_Tip:__Quick_Access_to_Recently_Opened_Inteu?=\r\n\t=?us-ascii?Q?m_C/SR_Records?= Expected Subject Inteum C/SR User Tip: Quick Access to Recently Opened Inteum C/SR Records X-Mailer Microsoft Office Outlook 11 X-MimeOLE Produced By Microsoft MimeOLE

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Steve Holden
the standard imaplib.IMAP4 class and email.message_from_string method. In particular, email.message_from_string() does not seem to properly decode unicode characters in the subject. How do I decode unicode characters in the subject? You don't. You can't. You decode str objects into unicode

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread rdmurray
Steve Holden st...@holdenweb.com wrote: from email.header import decode_header print decode_header(=?us-ascii?Q?Inteum_C/SR_User_Tip:__Quick_Access_to_Recently_Opened_Inteu?=\r\n\t=?us-ascii?Q?m_C/SR_Records?=) [('Inteum C/SR User Tip: Quick Access to Recently Opened Inteum C/SR Records',

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Roy H. Han
Cool, it works! Thanks, RDM, for stating the right approach. Thanks, Steve, for teaching by example. I wonder why the email.message_from_string() method doesn't call email.header.decode_header() automatically. On Wed, Feb 25, 2009 at 9:50 AM, rdmur...@bitdance.com wrote: Steve Holden

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Steve Holden
rdmur...@bitdance.com wrote: Steve Holden st...@holdenweb.com wrote: from email.header import decode_header print decode_header(=?us-ascii?Q?Inteum_C/SR_User_Tip:__Quick_Access_to_Recently_Opened_Inteu?=\r\n\t=?us-ascii?Q?m_C/SR_Records?=) [('Inteum C/SR User Tip: Quick Access to Recently

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Thorsten Kampe
* Roy H. Han (Wed, 25 Feb 2009 10:17:22 -0500) Thanks, RDM, for stating the right approach. Thanks, Steve, for teaching by example. I wonder why the email.message_from_string() method doesn't call email.header.decode_header() automatically. And I wonder why you would think the header

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Gabriel Genellina
En Wed, 25 Feb 2009 13:40:31 -0200, Thorsten Kampe thors...@thorstenkampe.de escribió: * Roy H. Han (Wed, 25 Feb 2009 10:17:22 -0500) Thanks, RDM, for stating the right approach. Thanks, Steve, for teaching by example. I wonder why the email.message_from_string() method doesn't call

Re: How do I decode unicode characters in the subject using email.message_from_string()?

2009-02-25 Thread Thorsten Kampe
* Gabriel Genellina (Wed, 25 Feb 2009 14:00:16 -0200) En Wed, 25 Feb 2009 13:40:31 -0200, Thorsten Kampe thors...@thorstenkampe.de escribió: * Roy H. Han (Wed, 25 Feb 2009 10:17:22 -0500) Thanks, RDM, for stating the right approach. Thanks, Steve, for teaching by example. I wonder

<    1   2   3   4   5   6   >