[issue30545] Enum equality across modules: comparing objects instead of values

2017-06-02 Thread Madhav Datt
Madhav Datt added the comment: Thanks a lot for those points Ethan. I feel I haven't done a very good job of explaining the bug, but let me use an example. Let's say we have an Enum called MyEnum, which is in a Python module called ModuleA. ModuleB imports ModuleA, and ModuleC imports both

[issue30545] Enum equality across modules: comparing objects instead of values

2017-06-01 Thread Madhav Datt
New submission from Madhav Datt: The problem is described with an example in this StackOverflow question (https://stackoverflow.com/questions/26589805/python-enums-across-modules). Like in C and other languages, I would expect Enum equality to work across modules and not compare enum states

Run a linux system command as a superuser, using a python script

2009-02-24 Thread madhav
I have got postfix installed on my machine and I am updating on of its configuration files programmatically(using python)(on some action). Since any change in the configuration needs a reload, I need to reload postfix to reflect the latest change. How can I do that in a python script. Precisely, I

Problem in identifying an archived file in Windows

2009-02-24 Thread venu madhav
Hello all, I am writing an application which has to identify the archived files in a given directory.I've tried using the function i = win32api.GetFileAttributes (full_path) to obtain the attributes.But am unable to identify based on the value it returns as it is returning 5152, 13856

Re: Problem in accessing files with unicode fonts.

2009-02-23 Thread venu madhav
madhav venutaurus...@gmail.com wrote: Hello, Sorry for mailing to your personal mails instead of mailing to the group. The reason being the intensity of the problem and time factor. Prob: I have a folder which contains files with unicode names ( Arabic, German etc). I am

Re: Obtaining SMTP address of a sender and receiver of an outlook mail

2008-12-03 Thread venu madhav
Hi, I don't have access to the AD server because only the administrators here have those rights. Aren't there any MAPI Sender and Recipient object properties which satisfies my need? Thank you, Venu. On Thu, Dec 4, 2008 at 9:00 AM, BJ Swope [EMAIL PROTECTED] wrote: If you have access to

Email Bounce Detection

2008-06-27 Thread madhav
Hello everybody, I need a mechanism to detect email bounces. I tried browsing through smtplib implementation and found not helpful in this case. Actually it is said in the documentation that if a mail is sent to say: [EMAIL PROTECTED], then _send() in the SMTPConnection class returns 550(Unknown

Re: Email Bounce Detection

2008-06-27 Thread madhav
On Jun 27, 12:34 pm, Maric Michaud [EMAIL PROTECTED] wrote: Le Friday 27 June 2008 09:03:15 madhav, vous avez écrit : Hello everybody, I need a mechanism to detect email bounces. I tried browsing through smtplib implementation and found not helpful in this case. Actually it is said