Re: Using the nntplib module to count Google Groups users

2013-10-27 Thread Zero Piraeus
: On Sun, Oct 27, 2013 at 03:35:40PM +1100, Chris Angelico wrote: On Sun, Oct 27, 2013 at 2:32 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: If anyone wants to modify the script to determine the ratio of posters, rather than posts, using GG, be my guest. And if anyone

Re: Cookie aint retrieving when visiting happens from a backlink.

2013-10-27 Thread Nick the Gr33k
Στις 27/10/2013 4:24 πμ, ο/η Piet van Oostrum έγραψε: Piet van Oostrum p...@vanoostrum.org writes: Νίκος Αλεξόπουλος nikos.gr...@gmail.com writes: There is no set of cookie returned back when visitor comes from a referer. Isn't this strange? No matter if you visit a webpage as a direct hit

Re: Obfuscated factorial

2013-10-27 Thread Vito De Tullio
Joshua Landau wrote: Python already supports the factorial operator, -ⵘ. why use ⵘ (TIFINAGH LETTER AYER YAGH) when you can have the BANG? 방 (HANGUL SYLLABLE BANG) You just have to import it. # Import statement ⵘ = type(,(),{__rsub__:lambda s,n:(lambda f,n:f(f,n))(lambda

Logging to file and not to console

2013-10-27 Thread Johannes Findeisen
Hi all, I am going crazy with logging. I have an application which sets up logging after parsing the args in the main() funktion. It needs to be setup after parsing the args because I can set the loglevel via commandline flags. I have tried many variants on how to do that but every time with an

Re: Printing a drop down menu for a specific field.

2013-10-27 Thread Nick the Gr33k
Στις 27/10/2013 6:00 πμ, ο/η ru...@yahoo.com έγραψε: On 10/26/2013 06:11 PM, Nick the Gr33k wrote: Στις 27/10/2013 2:52 πμ, ο/η Nick the Gr33k έγραψε: Ah foun it had to change in you code this line: key = host, city, useros, browser, ref to this line: key = host,

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rusi
On Sunday, October 27, 2013 10:34:11 AM UTC+5:30, ru...@yahoo.com wrote: On 10/26/2013 07:45 PM, rusi wrote: On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: Rusi said: Users of GG are requested to read and follow these instructions

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Gregory Ewing
Ben Finney wrote: On systems conforming to the Filesystem Hierarchy Standard, it's forbidden: programs go in a platform-specific location URL:http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA, while platform-independent data files go in a separate

Re: Using the nntplib module to count Google Groups users

2013-10-27 Thread rusi
On Sunday, October 27, 2013 12:07:29 PM UTC+5:30, Zero Piraeus wrote: The results: Senders: 1701 GG users: 879 ... so just over 50%. If anyone wants the complete output, just let me know and I'll email it privately. If you have a GG account just go to the 'aboutgroup' info here:

Re: trying to strip out non ascii.. or rather convert non ascii

2013-10-27 Thread Mark Lawrence
On 27/10/2013 01:11, Roy Smith wrote: In article mailman.1626.1382835129.18130.python-l...@python.org, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: Compared to Baudot, both ASCII and EBCDIC were probably considered wondrous. Wonderous, indeed. Why would anybody ever need more than one

Re: array/list of sockets

2013-10-27 Thread rusi
On Sunday, October 27, 2013 4:47:16 AM UTC+5:30, theel...@gmail.com wrote: I apologize but I do not understand what you mean by lack of context. I have taken Chris' words into consideration, for my previous post was supposed to be my last (I just had to say thank you). This is my first

Re: Logging to file and not to console

2013-10-27 Thread Peter Otten
Johannes Findeisen wrote: Hi all, I am going crazy with logging. I have an application which sets up logging after parsing the args in the main() funktion. It needs to be setup after parsing the args because I can set the loglevel via commandline flags. I have tried many variants on how

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rusi
On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: Rusi said: Users of GG are requested to read and follow these instructions https://wiki.python.org/moin/GoogleGroupsPython Yes, I read those instructions and found them fairly opaque. If you want to instruct

Re: Logging to file and not to console

2013-10-27 Thread Peter Otten
Peter Otten wrote: def levelnames(): try: names = logging._nameToLevel except AttributeError: names = (name for name in logging._levelNames if isinstance(name, str)) Trainwreck alert :( I recommend that you use the following list DEBUG INFO WARN ERROR

Re: Removing python django projects

2013-10-27 Thread rusi
On Sunday, October 27, 2013 6:44:35 AM UTC+5:30, Gary Roach wrote: Hi In the process of trying to learn python, django, mysql and virtualenvwrapper, I have created two projects and a mess. How can I strip everything from a Debian, Wheezy, linux system. The files are all over the place.

Re: Printing a drop down menu for a specific field.

2013-10-27 Thread Dave Angel
On 27/10/2013 03:31, Nick the Gr33k wrote: Στις 27/10/2013 6:00 πμ, ο/η ru...@yahoo.com έγραψε: snip I read it thoroughly and tested it and it works as it should. I just wanted to mention that the definition of the function coalesce() must come prior of: newdata =

Re: Check if this basic Python script is coded right

2013-10-27 Thread rusi
On Saturday, October 26, 2013 11:50:33 PM UTC+5:30, MRAB wrote: On 26/10/2013 18:36, HC wrote: I'm doing my first year in university and I need help with this basic assignment. Assignment: Write Python script that prints sum of cubes of numbers between 0-200 that are multiples of 3.

Re: Function for the path of the script?

2013-10-27 Thread Roy Smith
In article mailman.1636.1382847023.18130.python-l...@python.org, Ben Finney ben+pyt...@benfinney.id.au wrote: Peter Cacioppi peter.cacio...@gmail.com writes: Am I the only one who finds this function super useful? def _code_file() : return

Running Python programmes

2013-10-27 Thread David
I am an absolute beginner and am working through the book Python Programming for the Absolute Beginner by Michael Dawson. Everything is fine except if I run a scripted programme, or one I have downloaded, and then run another one, the second one will not run, I just get the in the interactive

Re: Cookie fucking problem

2013-10-27 Thread Antoon Pardon
Op 26-10-13 23:43, Ben Finney schreef: Mark Lawrence breamore...@yahoo.co.uk writes: I could almost feel sorry for you. But the more of your time I waste the longer it'll take you to get your website working. Feel free to occupy your time with baiting Nikos. But *do not* do it in this

Re: Logging to file and not to console

2013-10-27 Thread Johannes Findeisen
On Sun, 27 Oct 2013 11:09:08 +0100 Peter Otten wrote: Johannes Findeisen wrote: Hi all, I am going crazy with logging. I have an application which sets up logging after parsing the args in the main() funktion. It needs to be setup after parsing the args because I can set the

Re: Logging to file and not to console

2013-10-27 Thread Johannes Findeisen
On Sun, 27 Oct 2013 11:09:08 +0100 Peter Otten wrote: Johannes Findeisen wrote: Hi all, I am going crazy with logging. I have an application which sets up logging after parsing the args in the main() funktion. It needs to be setup after parsing the args because I can set the

indentation blocking in Python

2013-10-27 Thread ajetrumpet
hello all, This has got me a tad bit confused I think. I am running 3.3.0 and I know that Python looks to group code together that is supposed to be in the same block. But the question is, where are the rules for this? For instance, if I type the following in a PY file, it errors out and I

Re: Running Python programmes

2013-10-27 Thread Colin J. Williams
On 27/10/2013 10:32 AM, David wrote: I am an absolute beginner and am working through the book Python Programming for the Absolute Beginner by Michael Dawson. Everything is fine except if I run a scripted programme, or one I have downloaded, and then run another one, the second one will not

Re: indentation blocking in Python

2013-10-27 Thread Colin J. Williams
On 27/10/2013 11:31 AM, ajetrum...@gmail.com wrote: a=1; if a==1: print(1) else: print(0) wait = input(press key) You indent only subordinate statements. You don't need a semi-colon unless it separates two statements on the same line. Your code: a=1 if a==1: print(1) else: print(0)

Re: indentation blocking in Python

2013-10-27 Thread Mark Lawrence
On 27/10/2013 15:31, ajetrum...@gmail.com wrote: hello all, This has got me a tad bit confused I think. I am running 3.3.0 and I know that Python looks to group code together that is supposed to be in the same block. But the question is, where are the rules for this? For instance, if I

Re: Cookie xxxxing problem

2013-10-27 Thread rusi
On Sunday, October 27, 2013 1:02:38 AM UTC+5:30, Stephan Vladimir Bugaj wrote: I rarely ever post here. But I wanted to say that people responding to this Nikos troll makes reading this list a nuisance. You've never ever been successful in convincing him to behave, and it's been going on

Re: indentation blocking in Python

2013-10-27 Thread Chris “Kwpolska” Warrick
On Sun, Oct 27, 2013 at 4:31 PM, ajetrum...@gmail.com wrote: hello all, This has got me a tad bit confused I think. I am running 3.3.0 and I know that Python looks to group code together that is supposed to be in the same block. But the question is, where are the rules for this? For

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Ian Kelly
On Sun, Oct 27, 2013 at 1:58 AM, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: Ben Finney wrote: On systems conforming to the Filesystem Hierarchy Standard, it's forbidden: programs go in a platform-specific location

Re: Removing python django projects

2013-10-27 Thread Gary Roach
On 10/27/2013 04:38 AM, rusi wrote: On Sunday, October 27, 2013 6:44:35 AM UTC+5:30, Gary Roach wrote: Hi In the process of trying to learn python, django, mysql and virtualenvwrapper, I have created two projects and a mess. How can I strip everything from a Debian, Wheezy, linux system. The

Re: Debugging decorator

2013-10-27 Thread Eric S. Johansson
On 10/25/2013 7:55 PM, Yaşar Arabacı wrote: Hi people, I wrote this decorator: https://gist.github.com/yasar11732/7163528 wow, this looks really powerful. I would like to add the ability to associate a tag or set of tags with the decorator so that the debug output only happens when there

Re: Cookie issue(cant fix it with anyhting)

2013-10-27 Thread Denis McMahon
On Sat, 26 Oct 2013 15:29:52 +0300, Nick the Gr33k wrote: Hello i having the following code to try and retrieve the visitor's saved cookie form the browser. [CODE] # initialize cookie and retrieve cookie from clients browser try: cookie = cookies.SimpleCookie(

Confusion about python versions

2013-10-27 Thread Aseem Bansal
Python 2.7.6 release candidate 1 and 3.3.3 release candidate 1 was released yesterday. Also Python 3.4.0 alpha 4 was released a week ago. I thought as Python 3.4.0 alpha was released 3.3 branch was done. The 3.3.3 release candidate fixes many bugs as per the changelog so would they be included

Re: Confusion about python versions

2013-10-27 Thread Mark Lawrence
On 27/10/2013 18:13, Aseem Bansal wrote: Python 2.7.6 release candidate 1 and 3.3.3 release candidate 1 was released yesterday. Also Python 3.4.0 alpha 4 was released a week ago. I thought as Python 3.4.0 alpha was released 3.3 branch was done. The 3.3.3 release candidate fixes many bugs as

Re: Confusion about python versions

2013-10-27 Thread Ned Batchelder
On 10/27/13 2:13 PM, Aseem Bansal wrote: Python 2.7.6 release candidate 1 and 3.3.3 release candidate 1 was released yesterday. Also Python 3.4.0 alpha 4 was released a week ago. I thought as Python 3.4.0 alpha was released 3.3 branch was done. The 3.3.3 release candidate fixes many bugs as

Re: Removing python django projects

2013-10-27 Thread Ned Batchelder
On 10/26/13 9:14 PM, Gary Roach wrote: Hi In the process of trying to learn python, django, mysql and virtualenvwrapper, I have created two projects and a mess. How can I strip everything from a Debian, Wheezy, linux system. The files are all over the place. Much of the information in this

Re: Cookie issue(cant fix it with anyhting)

2013-10-27 Thread Benjamin Schollnick
Nikos, Hello i having the following code to try and retrieve the visitor's saved cookie form the browser. [CODE] # initialize cookie and retrieve cookie from clients browser try: cookie = cookies.SimpleCookie( os.environ['HTTP_COOKIE'] ) cookieID = cookie['name'].value except:

[RELEASE] Python 2.7.6 release candidate 1

2013-10-27 Thread Benjamin Peterson
I'm happy to announce the availability of Python 2.7.6 release candidate 1. Most importantly, this release candidate resolves crashes of the interactive interpreter on OS X 10.9. It also includes the usual collection of bugfixes over 2.7.5. These are described in excruciating detail in the

[RELEASED] Python 3.3.3 release candidate 1

2013-10-27 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team, I'm quite happy to announce the Python 3.3.3 release candidate 1. Python 3.3.3 includes several security fixes and over 150 bug fixes compared to the Python 3.3.2 release. This release fully supports OS X

Re: Cookie issue(cant fix it with anyhting)

2013-10-27 Thread Nick the Gr33k
Στις 27/10/2013 9:25 μμ, ο/η Benjamin Schollnick έγραψε: Nikos, Hello i having the following code to try and retrieve the visitor's saved cookie form the browser. [CODE] # initialize cookie and retrieve cookie from clients browser try: cookie = cookies.SimpleCookie(

Re: Cookie issue(cant fix it with anyhting)

2013-10-27 Thread Nick the Gr33k
Στις 27/10/2013 8:01 μμ, ο/η Denis McMahon έγραψε: On Sat, 26 Oct 2013 15:29:52 +0300, Nick the Gr33k wrote: Hello i having the following code to try and retrieve the visitor's saved cookie form the browser. [CODE] # initialize cookie and retrieve cookie from clients browser try: cookie

Re: Confusion about python versions

2013-10-27 Thread Terry Reedy
On 10/27/2013 2:13 PM, Aseem Bansal wrote: Python 2.7.6 release candidate 1 and 3.3.3 release candidate 1 was released yesterday. Also Python 3.4.0 alpha 4 was released a week ago. I thought as Python 3.4.0 alpha was released 3.3 branch was done. Normal 3.3 bugfixes are not done until 3.4.0

Re: Check if this basic Python script is coded right

2013-10-27 Thread Tim Delaney
On 27 October 2013 23:20, rusi rustompm...@gmail.com wrote: On Saturday, October 26, 2013 11:50:33 PM UTC+5:30, MRAB wrote: On 26/10/2013 18:36, HC wrote: I'm doing my first year in university and I need help with this basic assignment. Assignment: Write Python script that prints sum

Parsing multiple lines from text file using regex

2013-10-27 Thread Marc
Hi, I am having an issue with something that would seem to have an easy solution, but which escapes me. I have configuration files that I would like to parse. The data I am having issue with is a multi-line attribute that has the following structure: banner option banner text delimiter Banner

Re: Python Front-end to GCC

2013-10-27 Thread Mark Janssen
I see the big man stepping in to answer for his homies After re-reading the discussion, I wish to retract what I'm saying here and apologize to John who seems like a decent guy. , but while his explanation satisfies their question of well why do these magic values get used then, if what Mark

Re: Parsing multiple lines from text file using regex

2013-10-27 Thread Rhodri James
On Sun, 27 Oct 2013 21:09:46 -, Marc m...@marcd.org wrote: Hi, I am having an issue with something that would seem to have an easy solution, but which escapes me. I have configuration files that I would like to parse. The data I am having issue with is a multi-line attribute that has the

Re: Parsing multiple lines from text file using regex

2013-10-27 Thread Mark Lawrence
On 27/10/2013 21:09, Marc wrote: Hi, I am having an issue with something that would seemtohave an easy solution,butwhich escapes me. I have configuration files that I would like to parse. The data I am having issue with is a multi-line attribute that has the following structure: banner option

Re: Parsing multiple lines from text file using regex

2013-10-27 Thread Roy Smith
In article op.w5mwa3iaa8ncjz@gnudebeest, Rhodri James rho...@wildebst.demon.co.uk wrote: I really, really wouldn't do this with a single regexp. You'll get a much easier to understand program if you implement a small state machine instead. And what is a regex if not a small state

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Ben Finney
Gregory Ewing greg.ew...@canterbury.ac.nz writes: Ben Finney wrote: On systems conforming to the Filesystem Hierarchy Standard, it's forbidden: programs go in a platform-specific location URL:http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA,

Re: Cookie fucking problem

2013-10-27 Thread Ben Finney
Antoon Pardon antoon.par...@rece.vub.ac.be writes: Op 26-10-13 23:43, Ben Finney schreef: Feel free to occupy your time with baiting Nikos. But *do not* do it in this forum. Would you mind telling this to others too. I'm not in any special position of power here; I'm not beholden to

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Ben Finney
Ian Kelly ian.g.ke...@gmail.com writes: I don't see why Python files should be treated any differently than other non-binary executables, e.g. shell scripts. It is an unfortunate artefact of Unix history that “binary” has an established connotation of “executable”, encompassing even executable

Re: Parsing multiple lines from text file using regex

2013-10-27 Thread Ben Finney
Roy Smith r...@panix.com writes: In article op.w5mwa3iaa8ncjz@gnudebeest, Rhodri James rho...@wildebst.demon.co.uk wrote: I really, really wouldn't do this with a single regexp. You'll get a much easier to understand program if you implement a small state machine instead. And

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Chris Angelico
On Mon, Oct 28, 2013 at 10:31 AM, Ben Finney ben+pyt...@benfinney.id.au wrote: It is an unfortunate artefact of Unix history that “binary” has an established connotation of “executable”, encompassing even executable text files. That's a lot broader than Unix - people talk about binaries

Re: How to find where data files are installed for my Python program

2013-10-27 Thread Mark Lawrence
On 27/10/2013 23:58, Chris Angelico wrote: On Mon, Oct 28, 2013 at 10:31 AM, Ben Finney ben+pyt...@benfinney.id.au wrote: It is an unfortunate artefact of Unix history that “binary” has an established connotation of “executable”, encompassing even executable text files. That's a lot broader

RE: Parsing multiple lines from text file using regex

2013-10-27 Thread Marc
What was wrong with the answer Peter Otten gave you earlier today on the tutor mailing list? -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence I did not receive any answers from the Tutor list, so I thought I'd

Re: Parsing multiple lines from text file using regex

2013-10-27 Thread Mark Lawrence
On 28/10/2013 00:35, Marc wrote: What was wrong with the answer Peter Otten gave you earlier today on the tutor mailing list? -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence I did not receive any answers

Re: Python Front-end to GCC

2013-10-27 Thread rusi
On Monday, October 28, 2013 3:44:14 AM UTC+5:30, zipher wrote: Otherwise, most of this, while sloppy, still stands. Yes All your quotes are unattributed So your discussion is both sloppy and meaningless -- https://mail.python.org/mailman/listinfo/python-list

Organising packages/modules - importing functions from a common.py in a separate directory?

2013-10-27 Thread Victor Hooi
Hi, I have a collection of Python scripts I'm using to load various bits of data into a database. I'd like to move some of the common functions (e.g. to setup loggers, reading in configuration etc.) into a common file, and import them from there. I've created empty __init__.py files, and my

Re: Cookie fucking problem

2013-10-27 Thread rusi
On Monday, October 28, 2013 4:56:38 AM UTC+5:30, Ben Finney wrote: I'm not in any special position of power here; I'm not beholden to address every instance of bad behaviour or none at all. Any member of this community can apply the same social pressure, and together we can cover as many of

Try-except for flow control in reading Sqlite

2013-10-27 Thread Victor Hooi
Hi, I'd like to double-check something regarding using try-except for controlling flow. I have a script that needs to lookup things in a SQLite database. If the SQLite database file doesn't exist, I'd like to create an empty database, and then setup the schema. Is it acceptable to use

Re: Python on a MacBook Pro (not my machine)

2013-10-27 Thread Cameron Simpson
On 26Oct2013 12:07, John Ladasky john_lada...@sbcglobal.net wrote: My side job as a Python tutor continues to grow. In two weeks, I will start working with a high-school student who owns a MacBook Pro. I have had students with Linux systems (my preference) and Windows systems before,

Re: Printing a drop down menu for a specific field.

2013-10-27 Thread rurpy
On 10/27/2013 01:31 AM, Nick the Gr33k wrote: Στις 27/10/2013 6:00 πμ, ο/η ru...@yahoo.com έγραψε: [...] [following quote lightly edited for clarity] I almost understand your code, but this part is not so clear to me: key = host, city, useros, browser if key not in seen:

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rurpy
On 10/26/2013 07:56 PM, Chris Angelico wrote: On Sun, Oct 27, 2013 at 12:45 PM, rusi rustompm...@gmail.com wrote: Yes... that page is longer and more confusing than necessary. 1. The double-posting bit is unnecessary -- not been happening after the 'new' GG. 2. The missing attributions

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rurpy
On Sunday, October 27, 2013 1:59:05 AM UTC-6, rusi wrote: On Sunday, October 27, 2013 10:34:11 AM UTC+5:30, ru...@yahoo.com wrote: On 10/26/2013 07:45 PM, rusi wrote: On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: First, thanks (both of you) very much for the

[issue18747] Re-seed OpenSSL's PRNG after fork

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: #19227 must be solved before anything is backported to the security branches. -- dependencies: +test_multiprocessing_xxx hangs under Gentoo buildbots ___ Python tracker rep...@bugs.python.org

[issue18861] Problems with recursive automatic exception chaining

2013-10-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: raise ... from None explictly silences the printing of exception context, so I don't see the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18861

[issue19405] Fix outdated comments in the _sre module

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7f71babc622 by Serhiy Storchaka in branch '2.7': Issue #19405: Fixed outdated comments in the _sre module. http://hg.python.org/cpython/rev/b7f71babc622 New changeset 220e3e40d176 by Serhiy Storchaka in branch '3.3': Issue #19405: Fixed outdated

[issue19329] Faster compiling of charset regexpes

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5498d9d9bb0 by Serhiy Storchaka in branch 'default': Issue #19329: Optimized compiling charsets in regular expressions. http://hg.python.org/cpython/rev/d5498d9d9bb0 -- nosy: +python-dev ___ Python

[issue19329] Faster compiling of charset regexpes

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine for your review. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19329

[issue19405] Fix outdated comments in the _sre module

2013-10-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: docs@python - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue19412] Add a test.support decorator for tests that require C level docstrings

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suppose that some tests (e.g. test_genexps.py) still fail with -O2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19412 ___

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10d0edadbcdd by Georg Brandl in branch '3.3': Issue #17997: Change behavior of ``ssl.match_hostname()`` to follow RFC 6125, http://hg.python.org/cpython/rev/10d0edadbcdd -- nosy: +python-dev ___ Python

[issue16041] poplib: unlimited readline() from connection

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68029048c9c6 by Georg Brandl in branch '3.3': Issue #16041: CVE-2013-1752: poplib: Limit maximum line lengths to 2048 to http://hg.python.org/cpython/rev/68029048c9c6 -- ___ Python tracker

[issue16039] imaplib: unlimited readline() from connection

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b0364fc5711 by Georg Brandl in branch '3.3': Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to limit http://hg.python.org/cpython/rev/4b0364fc5711 -- ___ Python tracker

[issue16037] httplib: header parsing is unlimited

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset e445d02e5306 by Georg Brandl in branch '3.3': Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than http://hg.python.org/cpython/rev/e445d02e5306 -- ___ Python tracker

[issue16040] nntplib: unlimited readline() from connection

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc88bd80d925 by Georg Brandl in branch '3.3': Issue #16040: CVE-2013-1752: nntplib: Limit maximum line lengths to 2048 to http://hg.python.org/cpython/rev/fc88bd80d925 -- ___ Python tracker

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19227 ___

[issue18747] Re-seed OpenSSL's PRNG after fork

2013-10-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18747 ___

[issue16041] poplib: unlimited readline() from connection

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Also merged to default. -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16041 ___

[issue17997] ssl.match_hostname(): sub string wildcard should not match IDNA prefix

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Also merged to default. -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17997 ___

[issue16040] nntplib: unlimited readline() from connection

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Also merged to default. -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16040 ___

[issue16039] imaplib: unlimited readline() from connection

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Also merged to default. -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16039 ___

[issue16037] httplib: header parsing is unlimited

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Also merged to default. -- versions: -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16037 ___

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: OK, I'm going to apply atfork_prepare.patch for 3.3.3rc1. If there is any indication of a continuing problem, we'll revert the whole re-seeding code for the final. -- ___ Python tracker rep...@bugs.python.org

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 021ca321b26e by Georg Brandl in branch '3.3': Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSL http://hg.python.org/cpython/rev/021ca321b26e New changeset d3a13a7be9e9 by Georg Brandl in branch 'default': #19227: merge with 3.3

[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: For some reason, this still fails on the OpenIndiana builder: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.3/builds/1104/steps/test/logs/stdio -- nosy: +georg.brandl status: closed - open ___ Python

[issue19406] PEP 453: add the ensurepip module

2013-10-27 Thread Nick Coghlan
Nick Coghlan added the comment: Draft docs patch attached. This splits out a new Software Packaging and Distribution section in the main docs index, with distutils, ensurepip and venv as the specific entries. There's a couple of questions I need answered regarding the behaviour of pip in

[issue19390] clinic.py: unhandled syntax error

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b496ed363c2d by Larry Hastings in branch 'default': Issue #19390: Argument Clinic no longer accepts malformed Python and C ids. http://hg.python.org/cpython/rev/b496ed363c2d -- nosy: +python-dev ___

[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19414 ___ ___ Python-bugs-list mailing list

[issue19390] clinic.py: unhandled syntax error

2013-10-27 Thread Larry Hastings
Larry Hastings added the comment: Fixed. And, yeah, Clinic actually uses ast.parse where it can. (FWIW, most of the parser was re-written by Dmitry Jemerov during the PyCon US 2013 sprints, though I wound up re-re-writing most of what he did.) -- assignee: - larry resolution: -

[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-27 Thread Charles-François Natali
Charles-François Natali added the comment: Note that no matter where the atfork-hook is executed (prepare, parent, child), it will still be deadlock-prone in case of double-fork, since the hook will effectively be called after the first fork (and before the second one). And double-fork is

[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-10-27 Thread John Jefferies
John Jefferies added the comment: Hello Tim, The fact that it works on 64-bit Python obviously reduces the priority. I will make a point of choosing the 64-bit version in the future. FWIW. I'm dubious about the problem being solely attributable to WOWs handling of junctions because my Python

[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Ned Deily
Ned Deily added the comment: With 3.3.3rc1 and Tcl/Tk 8.4, I'm now seeing on OS X 10.5 with ActiveTcl 8.4.20: == ERROR: test_merge (test.test_tcl.TclTest) --

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm still looking for a 64bit big endian box Have you tried the PPC64 PowerLinux box? It's in the stable buildbots for a reason :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19183

[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a8aa1102f82 by Serhiy Storchaka in branch '3.3': Fixed merge test for Tcl/Tk 8.5 (issue #18964). http://hg.python.org/cpython/rev/5a8aa1102f82 -- ___ Python tracker rep...@bugs.python.org

[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Georg Brandl
Georg Brandl added the comment: Ahh, the newly committed test for merge needs the same guard as the other 'dict' calls! I'll fix that in the release clone for 3.3.3 final. -- ___ Python tracker rep...@bugs.python.org

[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I hope this will help. Thank you Georg and Ned. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18964 ___ ___

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since there are no other reports about 8.6 I close this issue. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10734] test_ttk test_heading_callback fails with newer Tk 8.5

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this patch fixes this issue. -- keywords: +patch nosy: +serhiy.storchaka stage: - patch review versions: +Python 3.4 -Python 3.2 Added file: http://bugs.python.org/file32387/test_heading_callback.patch ___

[issue17933] format str bug in urllib request.py

2013-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Giampaolo's suggestion LGTM. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17933 ___

[issue17933] format str bug in urllib request.py

2013-10-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17933 ___ ___

  1   2   >