Certificate generator

2013-11-03 Thread Facundo Batista
A certificate generator, from a SVG to a lot of PDFs: https://github.com/facundobatista/certg Documentation (it's very simple to use) and a full fledged example, in the project ^. Regards, -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter:

devpi 1.2 releases: many improvements + py33 support

2013-11-03 Thread holger krekel
The devpi-{server,client}-1.2 releases bring a lot of refinements and improvements for serving and interacting with your own pypi indexes: - devpi-server serves release files from URLs containing a MD5 hash allowing safe serving of those files through nginx - devpi-server's USER/INDEX urls can

ANN: NumPy 1.8.0 release.

2013-11-03 Thread Charles R Harris
I am pleased to announce the availability of NumPy 1.8.0. This release is the culmination of over a years worth of work by the NumPy team and contains many fixes, enhancements, and new features. Highlights are: - New, no 2to3, Python 2 and Python 3 are supported by a common code base. -

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread E.D.G.
E.D.G. edgrs...@ix.netcom.com wrote in message news:udgdnadga6n9vu_pnz2dnuvz_umdn...@earthlink.com... Thanks for all of the comments. I have been away from my Internet connection for several days and could not respond to them when they were first posted here. The comments have

Re: How to add a current string into an already existing list

2013-11-03 Thread Gregory Ewing
Nick the Gr33k wrote: I just want a mysql column type that can be eligible to store an array of elements, a list that is, no need for having a seperate extra table for that if we can have a column that can store a list of values. Relational database systems typically don't provide any such

zero argument member functions versus properties

2013-11-03 Thread Peter Cacioppi
Python makes it very easy to turn a zero argument member function into a property (hooray!) by simply adding the @property decorator. (Meme for well thought py feature - Guido was here) But the ease with which you can do this makes the zero argument member function or property discussion

Re: zero argument member functions versus properties

2013-11-03 Thread Peter Cacioppi
I just said 1- the zero argument function is sort of factory-like. It potentially has non-trivial run time, or it substitutes calling a class constructor when building certain objects. 2- it simply retrieves a stored value (perhaps lazily evaluating it first) so 1 should clearly be a zero

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread E.D.G.
Mark Lawrence breamore...@yahoo.co.uk wrote in message news:mailman.1873.1383227352.18130.python-l...@python.org... https://pypi.python.org/pypi/pywinauto/0.3.9 or http://stackoverflow.com/questions/1823762/sendkeys-for-python-3-1-on-windows Python SendKey looks like it probably works about

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread E.D.G.
William Ray Wing w...@mac.com wrote in message news:mailman.1934.1383320554.18130.python-l...@python.org... If you look here: http://wiki.wxpython.org/MatplotlibFourierDemo A suggestion that I would like to add is that when people make Demo programs like that available they might

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Mark Janssen
Congratulations Jonas. My kill file for this list used to have only one name, but now has 2. You have more patience than I! Jonas just made mine seven. :) Gosh, don't kill the guy. It's not an obvious thing to hardly anyone but computer scientists. It's an easy mistake to make. --

Re: zero argument member functions versus properties

2013-11-03 Thread Steven D'Aprano
On Sat, 02 Nov 2013 23:09:09 -0700, Peter Cacioppi wrote: Python makes it very easy to turn a zero argument member function into a property (hooray!) by simply adding the @property decorator. (Meme for well thought py feature - Guido was here) It is well-thought out, but it's also quite

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Sunday, November 3, 2013 11:15:48 AM UTC+5:30, E.D.G. wrote: rusi wrote: Not sure what will… you may look at Julia: http://julialang.org/ That program language speed comparison table looks quite interesting. And I asked some of the other people that I work with to take a look at

Re: zero argument member functions versus properties

2013-11-03 Thread Peter Cacioppi
Steve said: (This isn't Java or Ruby, where data-hiding is compulsory :-) (You could add C++ and C# to this list). This is golden nugget for me. The old synapses are pretty well grooved to think of data hiding as good hygiene. Even though I've read a fair bit of Python text I still need to

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Steven D'Aprano
On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote: [...] Since Perl has a calculation speed limit that is probably not easy to get around, before too long another language will be selected for initially doing certain things such as performing calculations and plotting charts. And the existing

Re: zero argument member functions versus properties

2013-11-03 Thread Peter Cacioppi
Steve said: (This isn't Java or Ruby, where data-hiding is compulsory :-) At the risk of striking a sessile equine, when the attribute shouldn't be modified directly by client code, then you hide it and use a property to allow client code access. It is the idiom of allowing client code to

Re: zero argument member functions versus properties

2013-11-03 Thread Ian Kelly
On Sun, Nov 3, 2013 at 1:06 AM, Peter Cacioppi peter.cacio...@gmail.com wrote: Actually C# is mature enough for this idiom. C# and Python both support getter/setter methods that present as direct attribute access to client code, and thus allow you to refactor the class without breaking

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread E.D.G.
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote in message news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com... http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/ http://technicaldiscovery.blogspot.com.au/2011/06/speeding-up-python-numpy-cython-and.html

Re: How to add a current string into an already existing list

2013-11-03 Thread Antoon Pardon
Op 03-11-13 07:06, Gregory Ewing schreef: Nick the Gr33k wrote: I just want a mysql column type that can be eligible to store an array of elements, a list that is, no need for having a seperate extra table for that if we can have a column that can store a list of values. Relational

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Mark Lawrence
On 03/11/2013 09:47, E.D.G. wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote in message news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com... http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/

Re: multiprocessing: child process race to answer

2013-11-03 Thread cappleman
On Friday, November 1, 2013 10:35:47 PM UTC-4, smhall05 wrote: I am using a basic multiprocessing snippet I found: #- from multiprocessing import Pool def f(x): return x*x if __name__ == '__main__': pool =

Re: multiprocessing: child process race to answer

2013-11-03 Thread Mark Lawrence
On 03/11/2013 10:10, capple...@gmail.com wrote: On Friday, November 1, 2013 10:35:47 PM UTC-4, smhall05 wrote: I am using a basic multiprocessing snippet I found: #- from multiprocessing import Pool def f(x): return x*x if

Re: Debugging decorator

2013-11-03 Thread Jason Friedman
I wrote this decorator: https://gist.github.com/yasar11732/7163528 I ran it with Python 2 and thought it was neat. Most of my work is Python 3. I ran 2to3-3.3 against it and I am getting this error: $ ./simple.py Traceback (most recent call last): File ./simple.py, line 3, in module

Re: Parsing multiple lines from text file using regex

2013-11-03 Thread Jason Friedman
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

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

2013-11-03 Thread Antoon Pardon
Op 03-11-13 06:17, Steven D'Aprano schreef: On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote: [...] Sure, you in all probability didn't mean it like that but rurpy isn't uncalled for in raising the concern. Really I just want to remind you that you're both on the same side here.

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Gene Heskett
On Sunday 03 November 2013 04:40:45 Ethan Furman did opine: On 10/30/2013 01:32 PM, Gene Heskett wrote: Congratulations Jonas. My kill file for this list used to have only one name, but now has 2. You have more patience than I! Jonas just made mine seven. :) -- ~Ethan~ Yeah, well

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread Antoon Pardon
Op 02-11-13 21:19, Tim Roberts schreef: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at loops, functions and end. Many editors do

Re: How to add a current string into an already existing list

2013-11-03 Thread Roy Smith
In article bdm7fif28r...@mid.individual.net, Gregory Ewing greg.ew...@canterbury.ac.nz wrote: Nick the Gr33k wrote: I just want a mysql column type that can be eligible to store an array of elements, a list that is, no need for having a seperate extra table for that if we can have a

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread jonas . thornvall
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at

Re: First day beginner to python, add to counter after nested loop

2013-11-03 Thread jonas . thornvall
Den lördagen den 2:e november 2013 kl. 21:19:44 UTC+1 skrev Tim Roberts: jonas.thornv...@gmail.com wrote: I certainly do not like the old bracket style it was a catastrophe, but in honesty the gui editor of python should have what i propose, a parser that indent automaticly at

Re: How to add a current string into an already existing list

2013-11-03 Thread Chris Angelico
On Sun, Nov 3, 2013 at 11:16 PM, Roy Smith r...@panix.com wrote: The limitation, of course, is that the data is opaque as far as the database goes; you can't do queries against it. But, if all you need to do is store the list and be able to retrieve it, it's a perfectly reasonable thing to

Re: Debugging decorator

2013-11-03 Thread Chris Angelico
On Mon, Nov 4, 2013 at 12:20 AM, Chris Angelico ros...@gmail.com wrote: As print is now a function, you're going to need to construct a function call element instead of a special 'print' node. I don't know how to do that as I'm not an AST expert, but hopefully you can work it out from there?

Re: Debugging decorator

2013-11-03 Thread Chris Angelico
On Sun, Nov 3, 2013 at 9:55 PM, Jason Friedman jsf80...@gmail.com wrote: I wrote this decorator: https://gist.github.com/yasar11732/7163528 I ran it with Python 2 and thought it was neat. Most of my work is Python 3. I ran 2to3-3.3 against it and I am getting this error: $ ./simple.py

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Michael Torrie
On 11/03/2013 12:09 AM, Mark Janssen wrote: Congratulations Jonas. My kill file for this list used to have only one name, but now has 2. You have more patience than I! Jonas just made mine seven. :) Gosh, don't kill the guy. It's not an obvious thing to hardly anyone but computer

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Joshua Landau
On 3 November 2013 03:17, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 02 Nov 2013 14:31:09 -0700, Tim Roberts wrote: jonas.thornv...@gmail.com wrote: Well then i have news for you. Well, then, why don't you share it? Let me try to get you to understand WHY what you

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Joshua Landau
On 3 November 2013 15:34, Joshua Landau jos...@landau.ws wrote: I can genuinely compress the whole structure by N log2 Y items. By which I mean 2N items. -- https://mail.python.org/mailman/listinfo/python-list

Automation

2013-11-03 Thread Renato Barbosa Pim Pereira
I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks. -- https://mail.python.org/mailman/listinfo/python-list

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

2013-11-03 Thread rurpy
On 11/01/2013 09:52 PM, Steven D'Aprano wrote: [...] I did not declare as a fact that he had no experience, as you claim, but posed it as a question and expressed it explicitly as a subjective observation. This is a key point. Several of your other denials are true only if you are right

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

2013-11-03 Thread rurpy
On 11/02/2013 11:17 PM, Steven D'Aprano wrote: On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote: [...] Sure, you in all probability didn't mean it like that but rurpy isn't uncalled for in raising the concern. Really I just want to remind you that you're both on the same side here.

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Jim Gibson
In article okcdnxfaqqxze-jpnz2dnuvz_jgdn...@earthlink.com, E.D.G. edgrs...@ix.netcom.com wrote: My main, complex programs won't be run at Web sites. They will instead continue to be available as downloadable exe programs. The CGI (or whatever) programming work would involve

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Sunday, November 3, 2013 1:13:13 PM UTC+5:30, Steven D'Aprano wrote: On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote: [...] Since Perl has a calculation speed limit that is probably not easy to get around, before too long another language will be selected for initially doing certain

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Mark Lawrence
On 03/11/2013 18:28, rusi wrote: Which means take something like the pairwise function and code it up in python and julia -- its hardly 10 lines of code. And see what comparative performance you get. Solely on the grounds that you've mentioned julia how about this

ANN: rom 0.22 - Redis object mapper for Python

2013-11-03 Thread Josiah Carlson
Hey everyone, As time progresses, so does my Redis object mapper. The rom package is a Redis object mapper for Python. It sports an interface similar to Django's ORM, SQLAlchemy + Elixir, or Appengine's datastore. The changelog for recent releases can be seen below my signature. You can find

Debugging decorator

2013-11-03 Thread Yaşar Arabacı
I don't think it would be much problem. I can do that when I have spare time. Yasar. Oh, I just noticed that the person using 2to3 wasn't the OP. My apologies, my language was aimed at the decorator's primary developer. Yasar, are you prepared to take on Python 3 support fully? If it's as

Re: zero argument member functions versus properties

2013-11-03 Thread Peter Cacioppi
Ian said : Whereas in Python, an attribute access is just compiled as an attribute access no matter what the underlying implementation of that access may end up being at run-time. Really? Very nice. Have a good link handy for that? I'm compiling a codex of why py is better?. --

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

2013-11-03 Thread Antoon Pardon
Op 03-11-13 06:17, Steven D'Aprano schreef: On Sat, 02 Nov 2013 18:22:38 +, Joshua Landau wrote: [...] Sure, you in all probability didn't mean it like that but rurpy isn't uncalled for in raising the concern. Really I just want to remind you that you're both on the same side here.

Re: Automation

2013-11-03 Thread bob gailer
On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? You could start by explaining what those terms mean. They have no

Re: Automation

2013-11-03 Thread renato . barbosa . pim . pereira
http://pastebin.com/N9dgaHTx With this program I can read a csv file with 3 columns, in one of these columns I need to read the value more high and multiply by 0.632 and with result, search in the same column by a value that aproximate with this result, and then return the vector position. --

Re: Automation

2013-11-03 Thread Mark Lawrence
On 03/11/2013 21:22, bob gailer wrote: On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? You could start by

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

2013-11-03 Thread Ben Finney
Antoon Pardon antoon.par...@rece.vub.ac.be writes: Op 03-11-13 06:17, Steven D'Aprano schreef: I'm trying hard to give up threads like this, where people debate the subjective tone of an email and ever more pedantic arguments about the precise wording. Even when all participants are

Re: Automation

2013-11-03 Thread Johannes Findeisen
On Sun, 3 Nov 2013 14:19:48 -0200 Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks. Did you looked at

Re: Automation

2013-11-03 Thread bob gailer
On 11/3/2013 4:48 PM, renato.barbosa.pim.pere...@gmail.com wrote: http://pastebin.com/N9dgaHTx With this program I can read a csv file with 3 columns, in one of these columns I need to read the value more high and multiply by 0.632 and with result, search in the same column by a value that

Re: Slicing with negative strides

2013-11-03 Thread Martin Manns
On 29 Oct 2013 05:22:00 GMT Steven D'Aprano st...@pearwood.info wrote: Does anyone here use slices (or range/xrange) with negative strides other than -1? I have used negative strides for comparing discrete sequences e. g. for turbulence analysis, and I hope that my code will still run in

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread Grant Edwards
On 2013-11-03, Jim Gibson jimsgib...@gmail.com wrote: In article okcdnxfaqqxze-jpnz2dnuvz_jgdn...@earthlink.com, E.D.G. edgrs...@ix.netcom.com wrote: My main, complex programs won't be run at Web sites. They will instead continue to be available as downloadable exe programs. The CGI

Re: Automation

2013-11-03 Thread Denis McMahon
On Sun, 03 Nov 2013 14:19:48 -0200, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks. Why use Python? Why not simply

Re: Automation

2013-11-03 Thread MRAB
On 03/11/2013 21:53, Mark Lawrence wrote: On 03/11/2013 21:22, bob gailer wrote: On 11/3/2013 11:19 AM, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how

Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Piet van Oostrum
Hello, I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6 and 3.3.3. I am on Mac OS X 10.6.8. Although the installation gave no problems, there is a problem with Tcl/Tk. The new Pythons have their own embedded Tcl/Tk, but when installing matplotlib it links to the

RE: Parsing multiple lines from text file using regex

2013-11-03 Thread Marc
This is an alternative solution someone else posted on this list for a similar problem I had: #!/usr/bin/python3 from itertools import groupby def get_lines_from_file(file_name): with open(file_name) as reader: for line in

Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Ned Deily
In article 21110.62791.44734.656...@cochabamba.vanoostrum.org, Piet van Oostrum p...@vanoostrum.org wrote: I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6 and 3.3.3. [...] Please open an issue on the Python bug tracker for the Python component of this.

Python Practice Problems

2013-11-03 Thread yungwong . seu
Hi, who has some problems to practice using Python? Thx a lot! -- https://mail.python.org/mailman/listinfo/python-list

Re: zero argument member functions versus properties

2013-11-03 Thread Ian Kelly
On Sun, Nov 3, 2013 at 2:23 PM, Peter Cacioppi peter.cacio...@gmail.com wrote: Ian said : Whereas in Python, an attribute access is just compiled as an attribute access no matter what the underlying implementation of that access may end up being at run-time. Really? Very nice. Have a good

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-03 Thread Mark Janssen
Note that I *can* make a compression algorithm that takes any length-n sequence and compresses all but one sequence by at least one bit, and does not ever expand the data. 00 - 01 - 0 10 - 1 11 - 00 This, obviously, is just 'cause the length is an extra piece of data, but sometimes you

Re: Automation

2013-11-03 Thread bob gailer
Let's remember that it is the job of the OP to explain his problem so we can offer solutions. -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Monday, November 4, 2013 12:28:24 AM UTC+5:30, Mark Lawrence wrote: On 03/11/2013 18:28, rusi wrote: Which means take something like the pairwise function and code it up in python and julia -- its hardly 10 lines of code. And see what comparative performance you get. Solely on the

Re: Automation

2013-11-03 Thread rusi
On Sunday, November 3, 2013 9:49:48 PM UTC+5:30, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks. You need something

Re: Automation

2013-11-03 Thread Dan Stromberg
On Sun, Nov 3, 2013 at 8:19 AM, Renato Barbosa Pim Pereira renato.barbosa.pim.pere...@gmail.com wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks.

Re: Python Practice Problems

2013-11-03 Thread memilanuk
On 11/03/2013 06:06 PM, yungwong@gmail.com wrote: Hi, who has some problems to practice using Python? Thx a lot! http://projecteuler.net/ is always a good bet -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Georg Brandl
Am 04.11.2013 01:59, schrieb Ned Deily: In article 21110.62791.44734.656...@cochabamba.vanoostrum.org, Piet van Oostrum p...@vanoostrum.org wrote: I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6 and 3.3.3. [...] Please open an issue on the Python bug

[issue19439] Build _testembed on Windows

2013-11-03 Thread Zachary Ware
Zachary Ware added the comment: This patch's changes to test_capi seem to work for Windows and keeps at least Gentoo and FreeBSD 10 happy. -- stage: - patch review Added file: http://bugs.python.org/file32471/issue19439.v2.diff ___ Python tracker

[issue19482] _pickle build warnings on Fedora 19

2013-11-03 Thread Nick Coghlan
New submission from Nick Coghlan: Currently getting build warnings from _pickle.c: == building '_pickle' extension gcc -pthread -fPIC -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I./Include -I. -IInclude

[issue4331] Add functools.partialmethod

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 46d3c5539981 by Nick Coghlan in branch 'default': Issue #4331: Added functools.partialmethod http://hg.python.org/cpython/rev/46d3c5539981 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue4331] Add functools.partialmethod

2013-11-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4331 ___

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +kbk, roger.serwy, serhiy.storchaka, terry.reedy type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19481 ___

[issue19439] Build _testembed on Windows

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: I checked that test_capi still passed on Fedora as well. Only tweak I made before committing was to ensure that the read end of the test pipe used to determine the default pipe encoding was also closed. -- resolution: fixed - stage: committed/rejected

[issue19439] Build _testembed on Windows

2013-11-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19439 ___

[issue19439] Build _testembed on Windows

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8c6c007ade3 by Nick Coghlan in branch 'default': Close #19439: execute embedding tests on Windows http://hg.python.org/cpython/rev/c8c6c007ade3 -- nosy: +python-dev resolution: - fixed stage: patch review - committed/rejected status: open

[issue19403] Make contextlib.redirect_stdout reentrant

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 87d49e2cdd34 by Nick Coghlan in branch 'default': Close #19403: make contextlib.redirect_stdout reentrant http://hg.python.org/cpython/rev/87d49e2cdd34 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open -

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Bastien, did you get a chance to try embedding Python 3.4a4 in Blender yet? If that works for you, we can mark this one as closed. -- status: pending - open ___ Python tracker rep...@bugs.python.org

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Win 7, console 2.7.5+, 32 bit, compiled Aug 24, does not have the problem. Idle started with 'import idlelib.idle' does, but only for 'print foo', as Tim reported. When I close the hung process with [X], there is no error message in the console. Installed

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-11-03 Thread Andrei Dorian Duma
Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17762 ___ ___

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Ned Deily
Ned Deily added the comment: It's reproducible on OS X as well with a 32-bit Python 2.7.5 and a 64-bit Python 2.7.6rc1. However, the example works OK if I start IDLE with no subprocess (-n). -- ___ Python tracker rep...@bugs.python.org

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This patch fixes symptoms. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file32472/idle_print_unicode_subclass.patch ___ Python tracker rep...@bugs.python.org

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Ned Deily
Ned Deily added the comment: With Cocoa Tk 8.5.15 or Cocoa Tk 8.6.1 on OS X 10.8.5, test_widgets.ButtonTest crashes Tk: test_image (tkinter.test.test_tkinter.test_widgets.ButtonTest) ... 2013-11-03 01:52:53.498 pytest_10.8[82465:f07] *** Assertion failure in -[NSBitmapImageRep

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Bastien Montagne
Bastien Montagne added the comment: Wow… Good thing you remind me that. Just tested it here (linux with ASCII terminal), works perfectly. Thanks again for all the integration work, Nick! -- ___ Python tracker rep...@bugs.python.org

[issue19320] Tkinter tests ran with wantobjects is false

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Failed buildbots: http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%202.7 http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%202.7 -- ___ Python

[issue19085] Add tkinter basic options tests

2013-11-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, I know. Here is a list of broken buildbots: http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%203.x http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.3

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. Patch attached. -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file32473/logging.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18345

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Brecht Machiels
New submission from Brecht Machiels: With Python 3.2, I subclassed ElementTree.XMLParser to set ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member. I understand the 'parser' member is not part of the public API, but this was the only way to customize the parser without having

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Claudiu.Popa added the comment: Added documentation and the chown parameter for the friends of FileHandler. Should tests be added for those classes as well or is it enough to test FileHandler? -- Added file: http://bugs.python.org/file32474/logging.patch

[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file32475/logging.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18345 ___

[issue19424] _warnings: patch to avoid conversions from/to UTF-8

2013-11-03 Thread Vajrasky Kok
Vajrasky Kok added the comment: Py_ssize_t is signed long. size_it is unsigned long. In this case, I suppose we should avoid unsigned as much as possible in comparison with signed. So I think Zachary's patch is reasonable. What do you think, Victor? --

[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset dbff708e393f by Tim Golden in branch '3.3': Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware. http://hg.python.org/cpython/rev/dbff708e393f New changeset 6e592d972b86 by Tim Golden in branch 'default': Issue #19464 Null

[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Tim Golden
Tim Golden added the comment: Applied to 3.3 3.4. Thanks for the patch. -- resolution: - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19464 ___

[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19464 ___ ___ Python-bugs-list

[issue6160] Tkinter.Spinbox: fix bbox method

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 91453ba40b30 by Serhiy Storchaka in branch '2.7': Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of http://hg.python.org/cpython/rev/91453ba40b30 New changeset 5bdbf2258563 by Serhiy Storchaka in branch '3.3': Issue #6160:

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Excellent! Zachary Ware got the embedding tests running and passing on Windows in issue 19439 (previously they were only executed on *nix systems), so Python 3.4 should resolve this problem on all platforms. -- status: open - closed

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-11-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3178d03871b by Serhiy Storchaka in branch '2.7': Issue #6157: Fixed Tkinter.Text.debug(). Original patch by Guilherme Polo. http://hg.python.org/cpython/rev/b3178d03871b New changeset 3f5e35b766ac by Serhiy Storchaka in branch '3.3': Issue #6157:

[issue12029] Catching virtual subclasses in except clauses

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: A point on the safety/correctness front: I remembered we already run arbitrary code at roughly this point in the eval loop, as we have to invoke __iter__ to get the exceptions to check when an iterable is used in except clause. That means allowing the subclass

[issue17400] ipaddress should make it easy to identify rfc6598 addresses

2013-11-03 Thread Nick Coghlan
Nick Coghlan added the comment: Just updating the issue state to reflect the fact Peter committed this a while ago. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6167 ___ ___ Python-bugs-list

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file32476/PanedWindow_docstring_and_return_fixes_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6159 ___

  1   2   >