python list name in subject

2017-08-22 Thread Abdur-Rahmaan Janhangeer
Hi all, i am subscribed to different python lists and they put their names in the subject [name] subject hence i can at a glance tell which mail belongs to which list. A requests to admins to implement if possible Thank you! <https://www.avast.com/sig-email?utm_medium=email_sou

[no subject]

2017-08-19 Thread Owen Berry
I'm new to python and having trouble with the most basic step. I have tried to install python (Web-based installer) on my home pc to mess around and attempt to develop a program. when I install the launcher it is fine but when I try and open the file it launches a modify setup window. I have no

[no subject]

2017-07-22 Thread Rahul Sircar
I wrote my code for downloading a file 'Metasploitable' using urllib2.But it seems to have entered infinite loop.Because the screen is blank.It just hangs there.Please have a look at my code. import urllib2 file = 'metasploitable-linux-2.0.0.zip' url='

[no subject]

2017-04-13 Thread David Shi via Python-list
Which VCF reader has been well tested and proven to be robust? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2017-04-13 Thread David Shi via Python-list
13.1. csv — CSV File Reading and Writing — Python 2.7.13 documentation | | | 13.1. csv — CSV File Reading and Writing — Python 2.7.13 documentation | | | I am trying to parse this text file into a table. How to use consecutive 3 spaces to work as delimiter with csv.reader? Looking

[no subject]

2017-04-07 Thread David Shi via Python-list
I was using IPython notebooks.  All the sudden, it asks for password or token. I did not set any password or token. How do I get back to use my IPython notebooks? Looking forward to hearing from you. Regards. David -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-11-06 Thread Abdullahi Salihu Abubakar
Hello! Hope you guys are fine. I am a newbie in programming, though I have been experimenting with Python for close to 3 years, but have never attempt writing any real-life program. However, recently I decided to embark on a personal project to develop a Python App which I want to dedicate to

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2016-09-09 Thread R. David Murray
R. David Murray added the comment: No, that is python3 code, it doesn't work on python2. There's no workaround other than to back port the fix. -- ___ Python tracker

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2016-09-09 Thread Matthew Jacobi
Matthew Jacobi added the comment: Is there a workaround for this for people on python2? Would installing https://pypi.python.org/pypi/email/6.0.0a1 fix it? > testing release of email6 > This is a standalone version of the version of email package that will ship > with Python 3.3. This

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-06 Thread Christian Heimes
Changes by Christian Heimes : -- stage: test needed -> commit review ___ Python tracker ___

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bbf0b31da48 by Christian Heimes in branch '3.5': Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs. https://hg.python.org/cpython/rev/9bbf0b31da48 New changeset 2b9af57af3e4 by Christian Heimes

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-01 Thread Christian Heimes
Christian Heimes added the comment: A GEN_RID is an OID plus some opaque data. It's up to an application to understand an OID and interpret its data. The value of a GEN_RID can be as simple as an int or UTF-8 strings or as complex as a nested ASN.1 struct for Kerberos principals. I have

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can't comment on this, as I don't even know what a "registered id" is, sorry :-/ -- ___ Python tracker ___

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-08-20 Thread Christian Heimes
Christian Heimes added the comment: ping -- nosy: +Lukasa, haypo type: behavior -> security ___ Python tracker ___

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-08-05 Thread Christian Heimes
Changes by Christian Heimes : -- keywords: +patch Added file: http://bugs.python.org/file44018/0001-Fix-handling-of-GEN_RID-in-X.509-subjectAltName-fiel.patch ___ Python tracker

[issue27691] X509 cert with GEN_RID subject alt name causes SytemError

2016-08-05 Thread Christian Heimes
New submission from Christian Heimes: A X509 cert with a registered id general name in subject alternative name causes a SystemError: error return without exception set. This prevents host name validation of certs with a registered id. >>> import _ssl >>> _ssl._test_de

[no subject]

2016-05-27 Thread Noah Fleiszig
Thank you -- Sent from Gmail Mobile -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-04-17 Thread B N
Foor ages, I have been trying to summon up courage learn how to program. I chose o start with Python. I found that when the “black” screen comes on, I am unable to read/see any characters even if I turn up the brightness of the screen. So, I give up. I tried version 3.5.1. I shall be grateful

[no subject]

2016-04-11 Thread DEEPAK KUMAR PAWAR
I am trying to install numpy along with the python35 But it getting error everytime. Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-03-23 Thread Nick Eubank
Hello All, Found an odd behavior I'd never known about today, not sure if it's a bug or known. Python 3.4.4 (anaconda). True, False, 0, 1 can all be used as dictionary keys. But Apparently True and 1 hash to the same item and False and 0 hash to the same item, so they can easily overwrite

[no subject]

2016-03-14 Thread Ezra Simms
I cannot seem to get pymongo to find my python installation – keep getting an error saying pythin has not been found in the registry? Why is this. Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

Re: issue with csv module (subject module name spelling correction, too)

2016-03-11 Thread Martin A. Brown
Good afternoon Fillmore, import csv s = '"Please preserve my doublequotes"\ttext1\ttext2' reader = csv.reader([s], delimiter='\t') > How do I instruct the reader to preserve my doublequotes? Change the quoting used by the dialect on the csv reader instance: reader =

[no subject]

2016-03-11 Thread Swetha Reddy
Hi, i just downloaded the python software. when i search for it in my downloads, a folder called python 3.5.1 ( 32 bit ) Setup is seen. But when i try to open it, it has only three options : Modify, Repair and uninstall. there are no other files of python in my computer except this. Where can i

[no subject]

2016-03-01 Thread Shamanov
I can't work with Python -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-02-12 Thread Manas Soni
I have downloaded python and when I click on it, it asks me to repair which I do, it then says successful however when I click on it again it won’t let me on it Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-01-28 Thread Karla Larrea
Instalar python -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2016-01-20 Thread John 111
Sent from Windows Mail I can’t use python. I just download it on my windows but when I open it they show me three options only change,repair & uninstall. I am looking forward for the solution from you. Hope to hear from you soon!!! --

[no subject]

2016-01-09 Thread tommy roberts
It will not allow my to run python 3.5.1 -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-12-31 Thread ebuka ogbonnaya
I use window 7 (32-bit). so i dont know what else to do. please i need a solution to that -- https://mail.python.org/mailman/listinfo/python-list

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-22 Thread Grant Edwards
On 2015-12-21, Steven D'Aprano <st...@pearwood.info> wrote: > So as far as I am concerned, if changes of subject line breaks threading for > you, so sad, too bad. Go without threading or use a better mail client. Same here. After getting what is effectively a "F*

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-22 Thread Ian Kelly
On Tue, Dec 22, 2015 at 8:17 AM, Grant Edwards <invalid@invalid.invalid> wrote: > On 2015-12-21, Steven D'Aprano <st...@pearwood.info> wrote: > >> So as far as I am concerned, if changes of subject line breaks threading for >> you, so sad, too bad. Go without threadi

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-22 Thread Grant Edwards
On 2015-12-22, Ian Kelly <ian.g.ke...@gmail.com> wrote: > On Tue, Dec 22, 2015 at 8:17 AM, Grant Edwards <invalid@invalid.invalid> > wrote: >> On 2015-12-21, Steven D'Aprano <st...@pearwood.info> wrote: >> >>> So as far as I am concerned, if changes

Re: Meaning and purpose of the Subject field

2015-12-22 Thread Thomas 'PointedEars' Lahn
Random832 wrote: > This makes sense for the change from "old" to "new (was: old)", > which nobody was advocating against (after all, there's semantic > content - they wouldn't have changed the subject line if they > didn't consider it a new discussion topic), but

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-22 Thread Tim Chase
On 2015-12-21 23:24, Jon Ribbens wrote: > That sounds a bit confused - if the *intention* of changing the > subject line is to create a new thread, then breaking the thread > is not "breaking threading" ;-) I'm pretty sure that the purpose is not to *break* the thread, but to s

Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ben Finney
Ian Kelly <ian.g.ke...@gmail.com> writes: > Better yet, please don't change the Subject header for trivial reasons > in the first place. When the subject of the ongoing discussion changes, it's normal to change the Subject field accordingly. I agree with your admonition aga

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ian Kelly
On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > Ian Kelly <ian.g.ke...@gmail.com> writes: >> This isn't just a Usenet group; it's also a mailing list, and many >> MUAs rely on the Subject header for proper threading. > &

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Jon Ribbens
On 2015-12-21, Steven D'Aprano <st...@pearwood.info> wrote: > On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use > the Subject line to thread messages: >> Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, >> Pegasus Mail, Pine,

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ian Kelly
On Mon, Dec 21, 2015 at 4:24 PM, Jon Ribbens <jon+use...@unequivocal.co.uk> wrote: > On 2015-12-21, Steven D'Aprano <st...@pearwood.info> wrote: >> The whole purpose of the change of subject is to indicate in a human-visible >> way that the subject of the thread has cha

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Jon Ribbens
On 2015-12-21, Ian Kelly <ian.g.ke...@gmail.com> wrote: > On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney <ben+pyt...@benfinney.id.au> > wrote: >> Ian Kelly <ian.g.ke...@gmail.com> writes: >>> This isn't just a Usenet group; it's also a mailing list, and m

Re: Meaning and purpose of the Subject field

2015-12-21 Thread Thomas 'PointedEars' Lahn
> Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail, > Evolution, SquirrelMail, KMail, Windows Mail, etc. Yes, of course. > Trying to suggest that MUAs should never look at the Subject line for > threading is, unfortunately, ridiculous. No, it is what the Internet

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Steven D'Aprano
On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use the Subject line to thread messages: > Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, > Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail, > Evolution, SquirrelMail, KMail, Win

Re: Meaning and purpose of the Subject field

2015-12-21 Thread Random832
Cameron Simpson <c...@zip.com.au> writes: > Besides, changing the Subject line is _supposed_ to break the > threading in these contexts: such clients clearly consider the > discussion topic (subject) as sufficient definition of a thread, and > changing the topic should

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Cameron Simpson
On 22Dec2015 10:14, Steven D'Aprano <st...@pearwood.info> wrote: On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use the Subject line to thread messages: Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, Pegasus Mail, Pine, Apple Mail, Window

[no subject]

2015-12-21 Thread Animesh Srivastava
While installin python3.5.1 i m getting 0xc07b error Please reslove it -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-12-15 Thread Malik Brahimi
Basically, I'm trying to make an event based system with pywin32 that handles spooled files that are to be printed. Users often print under the impression that their document has yet to emerge from the printer when it is in fact in queue. I'm creating a script that polls print jobs, saves them

[no subject]

2015-11-23 Thread sridhar gunasekaran
Hai I have installed python 3.5 in my pc I could not see any application icon or application shortcut on my pc Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-11-23 Thread Alexandre Barreto
I install python 3.5.0 and run eazy to install and my antivírus detect and trogen can you explay cus im new to this language. -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-11-13 Thread Animesh Srivastava
Whenever i install python 3.5.0 compiler It gives me error 0x07b Can u please resolve it -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-11-09 Thread Ainoa Gutiérrez Suárez
it doesn´twork the entry to Python. Enviado desde Correo de Windows -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-10-26 Thread dore.theo36
Provenance : Courrier pour Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-10-17 Thread 513-3M1L1X- TR19
Hello I was trying to install python35 on my windows laptop and I am told that the python35.dll files is missing Tried to repair many times but still the same problem. -- https://mail.python.org/mailman/listinfo/python-list

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread R. David Murray
R. David Murray added the comment: This is fixed in Python3. The fix was part of a large change to the header folding algorithm, and I'm not sure it is appropriate to backport it. I'm guessing we would, though, if someone wants to do the work for the backport. The relevant issue is issue

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread Bob Hossley
New submission from Bob Hossley: In my function makeMsg(), there is: msg = email.mime.nonmultipart.MIMENonMultipart('text', 'plain', charset='utf-8') msg['Subject'] = email.header.Header(subject, 'utf-8') subject has no space after the thousands comma: u'1,010 words

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2015-09-28 Thread Bob Hossley
Bob Hossley added the comment: Thank you R. David Murray. I look forward to being able to move my application to Python 3. -- ___ Python tracker ___

[no subject]

2015-06-25 Thread Knss Teja via Python-list
I WANT TO install 4.3  version ... but the MSI file is giving a DLL error .. what should I do :/ please use REPLY ALL .. so that I get the mail to my gmail inbox-- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-06-22 Thread John T. Haggerty
I'm looking to just have a simple program that will do a SQLite query pull a random record and then copy that record too the clipboard the system. I'm not quite seeing how to do this perhaps this is already been done elsewhere but I spent quite a bit of time trying to figure out how to do that and

[no subject]

2015-06-20 Thread Scott
We've been using a simple container implementation of a mathematical relation (https://simple.wikipedia.org/wiki/Relation_(mathematics)) (i.e. an invertible M:M mapping) for some time. We've been waiting for many years (decades actually) to have this concept incorporated as a standard container

[no subject]

2015-05-28 Thread yasna araya
hola, escribo para solicitar el uso del programa Python para trabajarlo con mi hijo. desde ya muchas gracias Enviado desde Correo de Windows-- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-05-28 Thread Laura Creighton
Sabe usted acerca de estas páginas? https://mail.python.org/mailman/listinfo/python-es https://wiki.python.org/moin/SpanishLanguage Laura -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-05-01 Thread newton avetisyan
Sent from Windows Mail-- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-04-22 Thread Chandra Prashad mishra
sir how can i improve my basic knowledge about programming.can u give me some hint...just give me way -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2015-03-23 Thread Chandra Prashad mishra
I want to know hint about web development... can any one get me... -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2014-10-17 Thread Dhananjay
Hello, This might be simple, but I guess I am missing something here. I have data file as follows: 2.1576318858 -1.8651195165 4.2333428278 2.1681875208 -1.9229968780 4.1989176884 2.3387636157 -2.0376253255 2.4460899122 2.1696565965 -2.6186941271 4.4172007912 2.0848862071 -2.1708981985

Re: how to get the subject of email?

2014-08-10 Thread Mark Lawrence
On 10/08/2014 02:41, luofeiyu wrote: I am in python3.4 typ, data = x.con.fetch(b'1', '(RFC822)') #get the first email text = data[0][1] message = email.message_from_string(text).get('subject') Traceback (most recent call last): File stdin, line 1, in module File D:\Python34\lib\email

how to get the subject of email?

2014-08-09 Thread luofeiyu
I am in python3.4 typ, data = x.con.fetch(b'1', '(RFC822)') #get the first email text = data[0][1] message = email.message_from_string(text).get('subject') Traceback (most recent call last): File stdin, line 1, in module File D:\Python34\lib\email\__init__.py, line 40

Re: how to get the subject of email?

2014-08-09 Thread John Gordon
In mailman.12805.1407635303.18130.python-l...@python.org luofeiyu elearn2...@gmail.com writes: message = email.message_from_string(str(text)).get('subject') message # nothing displayed Try using email.message_from_bytes() instead. Also have a look at http://stackoverflow.com/questions

Re: how to get the subject of email?

2014-08-09 Thread luofeiyu
message = email.message_from_bytes(text) I get it , print(message['Subject']) #can get the subject But how can i get the body content of message? no , message['Body'] or message['Content'] On 8/9/2014 7:01 PM, John Gordon wrote: In mailman.12805.1407635303.18130.python-l...@python.org

Re: how to get the subject of email?

2014-08-09 Thread luofeiyu
think you ,i get it . message = email.message_from_bytes(text) print(message['Subject']) #can get the subject But how can i get the body content of message? message['Body'] or message['Content'] can get none. On 8/9/2014 7:01 PM, John Gordon wrote: In mailman.12805.1407635303.18130.python

[no subject]

2014-03-18 Thread Nathan Bruce
Hi I was wondering how much your oxycontins are for what mg and quantity. Also do you guys sell dilaudid? Thank you -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2014-03-17 Thread J Prashanthan
i am doing my masters currently and im stuck up with my final project. As i was interested in learning a new language i opted to do my final project in python. im currently working on building an unit tester for multithreaded code. Due to various reasons i got stuck with my project. basically my

Re: SMTPHandler and mail subject

2014-03-13 Thread Chris Withers
If you want a much more fully-featured mail handler for the standard logging framework, there's this: https://pypi.python.org/pypi/mailinglogger/3.8.0 cheers, Chris On 12/03/2014 12:25, eras.rasmu...@gmail.com wrote: It works. Thank you :) Eras -- Simplistix - Content Management,

SMTPHandler and mail subject

2014-03-12 Thread eras . rasmuson
Hi I use logging.handlers.SMTPHandler and i have tried to change subject of mail. Are there exists easy way to do that ? Subject of mail can change repeatedly depends on content of mail. Eras -- https://mail.python.org/mailman/listinfo/python-list

Re: SMTPHandler and mail subject

2014-03-12 Thread Andriy Kornatskyy
subject of mail. Are there exists easy way to do that ? Subject of mail can change repeatedly depends on content of mail. Eras -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: SMTPHandler and mail subject

2014-03-12 Thread eras . rasmuson
It works. Thank you :) Eras -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2013-12-16 Thread shankha
Hi, For people who wish to contribute is there a script which checks if the patch is good and the test results are matching with the baseline and basically says yes or no about good or not good to merge. -- Thanks Gudge -- https://mail.python.org/mailman/listinfo/python-list

Filtering and blocking (was Re: Islam is the spammiest subject line on python-list)

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:40 AM, Tim Golden m...@timgolden.me.uk wrote: However, we've recently implemented filtering via the gateway, and I've just added bv4 to the list of banned addresses. (I'm not 100% sure I've got it right, so let's see if they make it in again). What happens if someone

Re: Filtering and blocking (was Re: Islam is the spammiest subject line on python-list)

2013-12-13 Thread Terry Reedy
On 12/13/2013 11:45 AM, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:40 AM, Tim Golden m...@timgolden.me.uk wrote: However, we've recently implemented filtering via the gateway, and I've just added bv4 to the list of banned addresses. (I'm not 100% sure I've got it right, so let's see if

[no subject]

2013-12-12 Thread marcinmltd
Hello, I'm big fan of multiprocessing module, but recently I started looking at threading in Python more closely and got couple of questions I hope You can help me with: 1. When I run two or more threads in my python process are they really run concurrently on mulicore machine? 2. Browsing

[issue19158] BoundedSemaphore.release() subject to races

2013-10-09 Thread STINNER Victor
STINNER Victor added the comment: You should mention the change in Misc/NEWS. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19158 ___ ___

[issue19158] BoundedSemaphore.release() subject to races

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 369fabf9b2ba by Tim Peters in branch '3.3': Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. http://hg.python.org/cpython/rev/369fabf9b2ba New changeset 9ddc33174ddf by Tim Peters in branch 'default': Issue 19158: a

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: The implementation is a bit weird. Why take the lock a second time instead of simply reimplementing the release() method? (it's a 5-liner) By the way, Semaphore.acquire could probably use Condition.wait_for. -- nosy: +pitrou

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Tim Peters
Tim Peters added the comment: This is the right way to do it: the subclass wants to extend the behavior of the base class .release(), not to replace it. Calling the base class .release() is the natural and obvious way to do that. It's also utterly normal for a lock used by multiple methods

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le mardi 08 octobre 2013 à 16:58 +, Tim Peters a écrit : Tim Peters added the comment: This is the right way to do it: the subclass wants to extend the behavior of the base class .release(), not to replace it. Calling the base class .release() is the

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Tim Peters
Tim Peters added the comment: Antoine, how strongly do you feel about this? I confess I don't get it. Copy+paste code duplication doesn't help any of readability, correctness, or ease of future maintenance, so I guess it's some micro-efficiency concern. Really?! ;-) Note that the patch

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Antoine, how strongly do you feel about this? I confess I don't get it. Copy+paste code duplication doesn't help any of readability, correctness, or ease of future maintenance, so I guess it's some micro-efficiency concern. Really?! ;-) Not very

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: (of course, you can go ahead and commit your version) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19158 ___

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e06edc0c7a49 by Tim Peters in branch '3.3': Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. http://hg.python.org/cpython/rev/e06edc0c7a49 New changeset 7c56bf5afee6 by Tim Peters in branch 'default': Issue 19158: a

[issue19158] BoundedSemaphore.release() subject to races

2013-10-08 Thread Tim Peters
Changes by Tim Peters t...@python.org: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19158 ___

[issue19158] BoundedSemaphore.release() subject to races

2013-10-06 Thread Tim Peters
Tim Peters added the comment: Attached patch, which closes the timing hole, and adds a new basic sanity test. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file31979/boundsem.patch ___ Python tracker

[issue19158] BoundedSemaphore.release() subject to races

2013-10-06 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19158 ___ ___ Python-bugs-list

[issue19158] BoundedSemaphore.release() subject to races

2013-10-06 Thread Tim Peters
Tim Peters added the comment: New patch makes the test case do what I intended it to do ;-) -- Added file: http://bugs.python.org/file31981/boundsem2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19158

[issue19158] BoundedSemaphore.release() subject to races

2013-10-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: Is BoundedSemaphore really supposed to be robust in the face of too many releases, or does it just provide a sanity check? I think that releasing a bounded semaphore too many times is a programmer error, and the exception is just a debugging aid for the

[issue19158] BoundedSemaphore.release() subject to races

2013-10-04 Thread Tim Peters
Tim Peters added the comment: Richard, that's a strange argument ;-) Since, e.g., a BoundedSemaphore(1) is semantically equivalent to a mutex, it's like saying some_mutex.release() usually raises an exception if the mutex isn't held at the time - but maybe it won't. If the docs _say_ it's

[issue19158] BoundedSemaphore.release() subject to races

2013-10-03 Thread Tim Peters
: 198928 nosy: tim.peters priority: normal severity: normal stage: needs patch status: open title: BoundedSemaphore.release() subject to races type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file31957/sema ___ Python tracker rep

[no subject]

2013-04-16 Thread Andrew Ndhlovu
-- Using Opera's mail client: http://www.opera.com/mail/ -- http://mail.python.org/mailman/listinfo/python-list

[no subject]

2013-03-23 Thread Yann Manuel
Dear Mr/Mrs, I'm reading this book called dive into python 3, and the author does not describe everything, but he gives a link to a blog: (http://adam.gomaa.us/blog/2008/aug/11/t ... y-builtin/). The blog is gone and i cant find it. Does anyone knows where i can find the information of this

Invitation: (No Subject) @ Mon Feb 25, 2013 3:30pm - 4:30pm (python-list@python.org)

2013-02-25 Thread Bolton Nelsan
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130225T133000Z DTEND:20130225T143000Z DTSTAMP:20130225T132128Z ORGANIZER;CN=drbolton.nel...@gmail.com:mailto:drbolton.nel...@gmail.com

[no subject]

2013-02-14 Thread md123
using ubuntu 12.10 i am trying to run a python block, namely OP25, in GNU Radio Companion v3.6.3-35-g4435082f. i get the following error: Executing: /home/matt/op25_grc.py Imported legacy fsk4 Using Volk machine: ssse3_32 Traceback (most recent call last): File /home/matt/op25_grc.py, line

[no subject]

2013-02-14 Thread Megha Agrawal
Hello All, I am a newbie to python language. I need your help in implementation of Binary tree in python. I have a count of nodes and I need to draw a binary tree. Suppose if count is 5 then tree will look like 1

<    1   2   3   4   5   6   >