numba 0.7.2: bugfix release + Python 3

2013-03-21 Thread mark florisson
Numba 0.7.2 is a bugfix release which brings various bug fixes (https://github.com/numba/numba/issues?milestone=7state=closed), as well as full Python 3 compatibility thanks to Hernan Grecco. We now officially support Python 3.2 and 3.3. The release also adds intrinsics and instructions, which

Re: QT Inspired web development framework for python

2013-03-21 Thread timothy crosley
I really hope I'm not beating a dead horse, but I'm still really hoping for some feedback (good or bad) for this toolset/framework - as I really think it could help other Pyhton developers out. To that end I've added some demos on the main website showing how it works in action, that will

Re: Vowels [was Re: monty python]

2013-03-21 Thread Larry Hudson
On 03/20/2013 09:28 PM, Steven D'Aprano wrote: On Wed, 20 Mar 2013 20:12:13 -0700, rusi wrote: I did an horrible mistake [...] is 'h' a vowel in french? big snip... This-language-lesson-was-brought-to-you-by-the-letters-thorn-wynn-and-ash- ly y'rs, As a point of totally irrelevant

Re: Help. HOW TO guide for PyQt installation

2013-03-21 Thread jmfauth
On 20 mar, 11:38, Phil Thompson p...@riverbankcomputing.com wrote: On Wed, 20 Mar 2013 03:29:35 -0700 (PDT), jmfauth wxjmfa...@gmail.com wrote: On 20 mar, 10:30, Phil Thompson p...@riverbankcomputing.com wrote: On Wed, 20 Mar 2013 02:09:06 -0700 (PDT), jmfauth wxjmfa...@gmail.com

Oracle

2013-03-21 Thread amani . abdulhadi
Oracle In Classical Antiquity, an oracle was a person or agency considered to be a source of wise counsel or prophetic predictions or precognition of the future, inspired by the gods. As such it is a form of divination. The word oracle comes from the Latin verb ōrāre to speak and properly

Re: monty python

2013-03-21 Thread Terry Reedy
On 3/20/2013 10:03 AM, franzferdinand wrote: Ok, thanks everybody! Threads are like the Sorcerer's Apprentice. You can start 'em, but you cannot stop 'em ;-) -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

free and nonlocal variables

2013-03-21 Thread bartolome . sintes
In Python 3, free variable and nonlocal variable are synonym terms? Or is there a difference, like a free variable is a variable that is not a local variable, then nonlocal variables and global variables are both free variables? Thanking you in advance, Bartolomé Sintes --

Re: Help. HOW TO guide for PyQt installation

2013-03-21 Thread jmfauth
On 20 mar, 11:29, jmfauth wxjmfa...@gmail.com wrote: On 20 mar, 10:30, Phil Thompson p...@riverbankcomputing.com wrote: - Strangely, I had not problem (if I recall correctly) with a very basic application (QMainWindow + QLineEdit). ADDENDUM, CORRECTION It fails too. I forgot to rename

Re: free and nonlocal variables

2013-03-21 Thread 88888 Dihedral
bartolom...@gmail.com於 2013年3月21日星期四UTC+8下午4時52分17秒寫道: In Python 3, free variable and nonlocal variable are synonym terms? Or is there a difference, like a free variable is a variable that is not a local variable, then nonlocal variables and global variables are both free variables?

Re: Vowels [was Re: monty python]

2013-03-21 Thread David H Wild
In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry Hudson org...@yahoo.com wrote: The word apron was originally napron, and over the years the phrase a napron mutated to an apron. So that became the accepted word. Similarly, the snake was a nadder - congruent with the natterjack

Re: Vowels [was Re: monty python]

2013-03-21 Thread Chris Angelico
On Thu, Mar 21, 2013 at 8:36 PM, David H Wild dhw...@talktalk.net wrote: In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry Hudson org...@yahoo.com wrote: The word apron was originally napron, and over the years the phrase a napron mutated to an apron. So that became the accepted

Re: free and nonlocal variables

2013-03-21 Thread Steven D'Aprano
On Thu, 21 Mar 2013 01:52:17 -0700, bartolome.sintes wrote: In Python 3, free variable and nonlocal variable are synonym terms? Or is there a difference, like a free variable is a variable that is not a local variable, then nonlocal variables and global variables are both free variables?

encoding for colon-separated hex?

2013-03-21 Thread Mathias Kőrber
is there a built-in encoding (for encode/decode methods) that as colon-separated hex (01:02:03:04...)? 'hex' seems to encode as '01020304' and while one can postprocess that to insert the colons, if a single operation exists, I'd rather use that. --

Re: free and nonlocal variables

2013-03-21 Thread Terry Reedy
On 3/21/2013 4:52 AM, bartolome.sin...@gmail.com wrote: In Python 3, free variable and nonlocal variable are synonym terms? Yes, but that is idiosyncratic to Python. Or is there a difference, like a free variable is a variable that is not a local variable, then nonlocal variables and global

Re: x += ... is not the same than x = x + ... if x is mutable

2013-03-21 Thread Colin J. Williams
On 21/03/2013 12:27 AM, Nobody wrote: On Wed, 20 Mar 2013 07:17:08 -0700, bartolome.sintes wrote: I thought that x += ... was the same than x = x + ..., but today I have realized it is not true when operating with mutable objects. It may or may not be the same. x += y will invoke

Re: x += ... is not the same than x = x + ... if x is mutable

2013-03-21 Thread Steven D'Aprano
On Thu, 21 Mar 2013 08:35:26 -0400, Colin J. Williams wrote: On 21/03/2013 12:27 AM, Nobody wrote: On Wed, 20 Mar 2013 07:17:08 -0700, bartolome.sintes wrote: I thought that x += ... was the same than x = x + ..., but today I have realized it is not true when operating with mutable objects.

Re: monty python

2013-03-21 Thread Roy Smith
In article mailman.3582.1363853304.2939.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 3/20/2013 10:03 AM, franzferdinand wrote: Ok, thanks everybody! Threads are like the Sorcerer's Apprentice. You can start 'em, but you cannot stop 'em ;-) Of course you can stop

Re: monty python

2013-03-21 Thread Chris Angelico
On Thu, Mar 21, 2013 at 11:45 PM, Roy Smith r...@panix.com wrote: In article mailman.3582.1363853304.2939.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 3/20/2013 10:03 AM, franzferdinand wrote: Ok, thanks everybody! Threads are like the Sorcerer's Apprentice. You can

Re: monty python

2013-03-21 Thread Wayne Werner
On Thu, 21 Mar 2013, Roy Smith wrote: In article mailman.3582.1363853304.2939.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 3/20/2013 10:03 AM, franzferdinand wrote: Ok, thanks everybody! Threads are like the Sorcerer's Apprentice. You can start 'em, but you cannot stop

Re: monty python

2013-03-21 Thread Dave Angel
On 03/21/2013 08:55 AM, Chris Angelico wrote: On Thu, Mar 21, 2013 at 11:45 PM, Roy Smith r...@panix.com wrote: In article mailman.3582.1363853304.2939.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 3/20/2013 10:03 AM, franzferdinand wrote: Ok, thanks everybody! Threads

Re: Vowels [was Re: monty python]

2013-03-21 Thread istjanichtzufassen
Am Donnerstag, 21. März 2013 10:36:20 UTC+1 schrieb David H Wild: In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry Hudson org...@yahoo.com wrote: The word apron was originally napron, and over the years the phrase a napron mutated to an apron. So that became the

Re: Vowels [was Re: monty python]

2013-03-21 Thread Chris Angelico
On Fri, Mar 22, 2013 at 12:26 AM, istjanichtzufas...@gmail.com wrote: Am Donnerstag, 21. März 2013 10:36:20 UTC+1 schrieb David H Wild: In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry Hudson org...@yahoo.com wrote: The word apron was originally napron, and over the years

tkinter: invisible PanedWindow sashes on OS X

2013-03-21 Thread Arnaud Delobelle
Hi Python List, I'm trying to use PanedWindow on OS X (10.8.3). I've started with the effbot docs example (http://effbot.org/tkinterbook/panedwindow.htm), namely: -- from Tkinter import * m = PanedWindow(orient=VERTICAL) m.pack(fill=BOTH, expand=1) top = Label(m, text=top pane)

Re: SOAPpy.Types.faultType: Cannot use object of type stdClass as array

2013-03-21 Thread Chris Angelico
On Thu, Mar 21, 2013 at 6:06 AM, Tamer Higazi th9...@googlemail.com wrote: SOAPpy.Types.faultType: Fault SOAP-ENV:Server: Cannot use object of type stdClass as array stdClass looks like a PHP error. Check out the server's requirements; perhaps you need to provide something as a list that you're

Re: Vowels [was Re: monty python]

2013-03-21 Thread Grant Edwards
On 2013-03-21, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: By the way, the n in an is not the only such bridging sound. In Shakespearean times, it was usual to use mine in the same fashion: In many (most?) modern, non-rhotic, dialects of English one inserts an intrusive

Re: tkinter: invisible PanedWindow sashes on OS X

2013-03-21 Thread Christian Gollwitzer
Am 21.03.13 15:37, schrieb Arnaud Delobelle: Hi Python List, I'm trying to use PanedWindow on OS X (10.8.3). I've started with the effbot docs example (http://effbot.org/tkinterbook/panedwindow.htm), namely: -- from Tkinter import * m = PanedWindow(orient=VERTICAL) m.pack(fill=BOTH,

Re: free and nonlocal variables

2013-03-21 Thread Nobody
On Thu, 21 Mar 2013 01:52:17 -0700, bartolome.sintes wrote: In Python 3, free variable and nonlocal variable are synonym terms? Free variable is a computer science term. A variable is free if it is not bound. E.g. x and y are free in x+y, x is bound and y is free in lambda x: x+y, x and y are

problem with function

2013-03-21 Thread leonardo selmi
hi all, i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 if i run the program i get this error: name 'word' is not defined. how can i solve it?

Re: problem with function

2013-03-21 Thread Chris Angelico
On Fri, Mar 22, 2013 at 5:31 AM, leonardo selmi l.se...@icloud.com wrote: hi all, i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 if i run

Binary for numpy 1.7.0 with Python 2.7.3

2013-03-21 Thread Colin J. Williams
How do I find the binaries on Source Forge? I'm trying to update to both 2.7.3 and Numpy 1.7.0. Colin W -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with function

2013-03-21 Thread Dave Angel
On 03/21/2013 02:31 PM, leonardo selmi wrote: hi all, i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 if i run the program i get this error:

Re: Binary for numpy 1.7.0 with Python 2.7.3

2013-03-21 Thread Dave Angel
On 03/21/2013 03:40 PM, Colin J. Williams wrote: How do I find the binaries on Source Forge? I'm trying to update to both 2.7.3 and Numpy 1.7.0. Colin W Best answer might depend on what OS you're running, and what implementation of Python you're after. Why would you look on SourceForge

Re: Binary for numpy 1.7.0 with Python 2.7.3

2013-03-21 Thread Kwpolska
On Thu, Mar 21, 2013 at 8:40 PM, Colin J. Williams c...@ncf.ca wrote: How do I find the binaries on Source Forge? I'm trying to update to both 2.7.3 and Numpy 1.7.0. Colin W -- http://mail.python.org/mailman/listinfo/python-list You don’t. First off, nobody really likes nor uses

Re: problem with function

2013-03-21 Thread Alex
leonardo selmi wrote: hi all, i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 if i run the program i get this error: name 'word' is not

Windows Deployment Of Python Modules

2013-03-21 Thread Adam Tauno Williams
Python itself is easy to deploy on Windows; just toss the MSI in your local update server and away it goes. That's slick; LSUS is awesome. http://www.localupdatepublisher.com/ But that gives you Python with no pip, easy_install, etc... And *that* is not packaged appropriately. Is there

Re: free and nonlocal variables

2013-03-21 Thread Jussi Piitulainen
Nobody writes: On Thu, 21 Mar 2013 01:52:17 -0700, bartolome.sintes wrote: In Python 3, free variable and nonlocal variable are synonym terms? Free variable is a computer science term. A variable is free if it is not bound. E.g. x and y are free in x+y, x is bound and y is free in

Re: tkinter: invisible PanedWindow sashes on OS X

2013-03-21 Thread Arnaud Delobelle
On 21 March 2013 18:42, Christian Gollwitzer aurio...@gmx.de wrote: Am 21.03.13 15:37, schrieb Arnaud Delobelle: Hi Python List, I'm trying to use PanedWindow on OS X (10.8.3). I've started with the effbot docs example (http://effbot.org/tkinterbook/panedwindow.htm), namely: --

Re: Vowels [was Re: monty python]

2013-03-21 Thread Peter Pearson
On Thu, 21 Mar 2013 21:09:52 +1100, Chris Angelico ros...@gmail.com wrote: On Thu, Mar 21, 2013 at 8:36 PM, David H Wild dhw...@talktalk.net wrote: In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry Hudson org...@yahoo.com wrote: The word apron was originally napron, and over the

Re: Vowels [was Re: monty python]

2013-03-21 Thread Chris Angelico
On Fri, Mar 22, 2013 at 8:52 AM, Peter Pearson ppearson@nowhere.invalid wrote: On Thu, 21 Mar 2013 21:09:52 +1100, Chris Angelico ros...@gmail.com wrote: On Thu, Mar 21, 2013 at 8:36 PM, David H Wild dhw...@talktalk.net wrote: In article mnydnwm7b9i5ndfmnz2dnuvz_s6dn...@giganews.com, Larry

Re: problem with function

2013-03-21 Thread Ian Kelly
On Mar 21, 2013 1:35 PM, leonardo selmi l.se...@icloud.com wrote: hi all, i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 More efficient:

Re: Binary for numpy 1.7.0 with Python 2.7.3

2013-03-21 Thread Colin J. Williams
On 21/03/2013 4:00 PM, Dave Angel wrote: On 03/21/2013 03:40 PM, Colin J. Williams wrote: How do I find the binaries on Source Forge? I'm trying to update to both 2.7.3 and Numpy 1.7.0. Colin W Best answer might depend on what OS you're running, and what implementation of Python you're

Re: Windows Deployment Of Python Modules

2013-03-21 Thread Adam Tauno Williams
David Robinow drobi...@gmail.com wrote: On Thu, Mar 21, 2013 at 4:14 PM, Adam Tauno Williams awill...@whitemice.org wrote: Python itself is easy to deploy on Windows; just toss the MSI in your local update server and away it goes. That's slick; LSUS is awesome.

Re: Windows Deployment Of Python Modules

2013-03-21 Thread David Robinow
On Thu, Mar 21, 2013 at 6:23 PM, Adam Tauno Williams awill...@whitemice.org wrote: David Robinow drobi...@gmail.com wrote: On Thu, Mar 21, 2013 at 4:14 PM, Adam Tauno Williams awill...@whitemice.org wrote: Python itself is easy to deploy on Windows; just toss the MSI in your local update

How can I wrap a binary file-like object with an IO stream?

2013-03-21 Thread Will McGugan
Hi, I am looking in to improving Python 3.X support for PyFilesystem (https:// code.google.com/p/pyfilesystem/). There is provisional Python 3 support in there, but a stumbling block is that I would like the open method to work like io.open in Py3 -- specifically returning text mode streams

Re: Vowels [was Re: monty python]

2013-03-21 Thread Terry Reedy
On 3/21/2013 1:31 PM, Grant Edwards wrote: http://en.wikipedia.org/wiki/Linking_and_intrusive_R Is the Python language rhotic or non-rhotic? Python uses American rather that British English, which would make it rhotic. I never imagined that there were people who would mix up 'tuner' and

Re: problem with function

2013-03-21 Thread Terry Reedy
On 3/21/2013 2:31 PM, leonardo selmi wrote: i wrote the following code: def find(word, letter): index = 0 while index len(word): if word[index] == letter: return index index = index + 1 return -1 Since this is a learning exercise, consider the

Global NameError Fix?

2013-03-21 Thread maiden129
Hello, I'm using the version 3.2.3 of Python and I am having an issue in my program and I don't know how to fix it: counterLabel[text] = str(counter) NameError: global name 'counterLabel' is not defined Here is my program: from tkinter import * class CounterButton(Button): def

Re: Vowels [was Re: monty python]

2013-03-21 Thread Roy Smith
In article mailman.3606.1363907158.2939.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 3/21/2013 1:31 PM, Grant Edwards wrote: http://en.wikipedia.org/wiki/Linking_and_intrusive_R Is the Python language rhotic or non-rhotic? Python uses American rather that British

Re: Global NameError Fix?

2013-03-21 Thread Dave Angel
On 03/21/2013 07:43 PM, maiden129 wrote: Hello, I'm using the version 3.2.3 of Python and I am having an issue in my program and I don't know how to fix it: counterLabel[text] = str(counter) NameError: global name 'counterLabel' is not defined Please include the entire traceback when

Re: Global NameError Fix?

2013-03-21 Thread David Robinow
On Thu, Mar 21, 2013 at 7:43 PM, maiden129 sengokubasarafe...@gmail.com wrote: Hello, I'm using the version 3.2.3 of Python and I am having an issue in my program and I don't know how to fix it: counterLabel[text] = str(counter) NameError: global name 'counterLabel' is not defined Here

Re: Binary for numpy 1.7.0 with Python 2.7.3

2013-03-21 Thread Miki Tebeka
I'm trying to update to both 2.7.3 and Numpy 1.7.0. Updating Python is from python.org If you're on 64bit windows, see http://www.lfd.uci.edu/~gohlke/pythonlibs/ -- http://mail.python.org/mailman/listinfo/python-list

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2013-03-21 Thread Ned Deily
Ned Deily added the comment: Um, yes, my tired eyes did skip over those added lines. Thanks, Glyph, and sorry, Alex. While the suggested change solves the issue for the non-framework build case, it appears to introduce new problems. For one, with the current skip test, it is possible to run

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2013-03-21 Thread Ned Deily
Ned Deily added the comment: Granted, the current test is a kludge. We could make it a bigger kludge by trying launchctl first and if it fails move on to the current ctypes-based tests. Any better options? -- ___ Python tracker

[issue17494] References to stack bottom are confusing

2013-03-21 Thread Georg Brandl
Georg Brandl added the comment: Sorry, I find your suggested termini more confusing. * first/last: the first that was put onto the stack (i.e. bottom) or the first to be popped off (i.e. top)? * root/terminal: that makes you think of trees, but a stack is not a tree. top/bottom is the

[issue17503] replace mode is always on in console

2013-03-21 Thread anatoly techtonik
New submission from anatoly techtonik: It is very annoying behavior of Python 3.3.0 that when you type in the console, replace mode is always on, and even after you press insert to go insert mode, it resets after every executed line. Windows Vista 32. Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29

[issue17504] Dropping duplicated docstring explanation of what Mocks' side_effect does.

2013-03-21 Thread Radu Voicilas
New submission from Radu Voicilas: Seems like there's a duplicated explanation in unittest.mock.Mock's docstring of what side_effect does. The attached patch should take care of that, if I'm not interpreting it wrong and it's actually on purpose there. -- components: Library (Lib)

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2013-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: A small helper program that does the equavalent of this should also work: import Cocoa Cocoa.NSWindow.alloc().initWithContentRect_styleMask_backing_defer_(((10, 10), (100, 100)), 0, 0, 0) If this code raises an exception you cannot create windows, if it

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2013-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Wouldn't it be better to check for the actual problem, that is use subprocess to start a small Tcl script that creates a window and check if that crashes? That way the code for disabling the test doesn't have to try to guess whether or not Tk will crash in

[issue17503] replace mode is always on in console

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: In Python 2 replace mode is always off. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17503 ___ ___

[issue17503] replace mode is always on in console

2013-03-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Python has absolutely no code to control the Windows console. It has always used fgets(). On the other hand, Windows keeps independent settings per shortcut or executable, so if you started Python directly from the start menu (or by opening the

[issue17503] replace mode is always on in console

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: Ok. From cmd.exe both work the same in insert mode, but when I execute them from different shell (http://www.farmanager.com/opensource.php?l=en), the Python 3 starts to misbehave. And Python 2 works ok, because there is pyreadline installed. With -s -S

[issue17206] Py_XDECREF() expands its argument multiple times

2013-03-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: - The patch contains a #ifdef OLD_17206 that should be removed. - I know that these macros are already used everywhere, but a test for the new feature would be nice (in _testcapimodule.c) For example, Py_DECREF(PyLong_FromLong(0)) does not fail or leak

[issue17505] email.header.Header.__unicode__ does not decode header

2013-03-21 Thread Hrvoje Nikšić
New submission from Hrvoje Nikšić: The __unicode__ method is documented to return the header as a Unicode string. For this to be useful, I would expect it to decode a string such as =?gb2312?b?1eLKx9bQzsSy4srUo6E=?= into a Unicode string that can be displayed to the user, in this case

[issue17505] email.header.Header.__unicode__ does not decode header

2013-03-21 Thread Hrvoje Nikšić
Changes by Hrvoje Nikšić hnik...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17505 ___ ___ Python-bugs-list

[issue17503] replace mode is always on in console

2013-03-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I don't know Far Manager. Maybe it starts everything in overwrite mode (and check its console settings) pyreadline completely overrides Python's input methods and bypasses the console, so behavior is completely independent. --

[issue17506] Improve IDLE news handling

2013-03-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: Idle news items should be collected together in one place and released both in an IDLE section of each Misc/NEWS and in each idlelib/NEWS.txt. Once a decision is made where to collect them originally, a script should be written to make appropriate copies.

[issue17506] Improve IDLE news handling

2013-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: I think it would be better to keep everything in an IDLE section in Misc/NEWS, and have something/someone extract the section(s) before the release. In Lib/idlelib/NEWS.txt we probably don't need to have separate sections for alphas/betas/rcs like we do in

[issue5845] rlcompleter should be enabled automatically

2013-03-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___ ___

[issue17507] To add history time format in readline

2013-03-21 Thread Zulu
New submission from Zulu: I'm using readline library, and would like to add date information in readline.write_history_file method without override it. I think the best way is to add a argument for a strftime string. By default it should be simply ''. -- components: Build messages:

[issue17507] To add history time format in readline

2013-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: Would you like to propose a patch? You can find information about how to do it in the devguide. -- components: +Library (Lib) -Build nosy: +ezio.melotti stage: - needs patch versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python

[issue17496] OS X test for Tk availability in runtktests.py doesn't work

2013-03-21 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: Wouldn't it be better to check for the actual problem, that is use subprocess to start a small Tcl script that creates a window and check if that crashes? Yes, this sounds great. Doing it with Tcl means that we're not invoking any of the problematic code

[issue17507] To add history time format in readline

2013-03-21 Thread Zulu
Zulu added the comment: I unfortunatly can't write in C. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17507 ___ ___ Python-bugs-list mailing

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2013-03-21 Thread Matt Wheeler
Changes by Matt Wheeler m...@funkyhat.org: -- nosy: +funkyhat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6931 ___ ___ Python-bugs-list mailing

[issue17209] get_wch() doesn't handle KeyboardInterrupt

2013-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d98a515489db by Victor Stinner in branch '3.3': Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c) http://hg.python.org/cpython/rev/d98a515489db New changeset b9d9bba9dfe5 by Victor Stinner in branch 'default':

[issue17209] get_wch() doesn't handle KeyboardInterrupt

2013-03-21 Thread STINNER Victor
STINNER Victor added the comment: The issue should now be fixed, it will be part of Python 3.3.1 (not released yet) and Python 3.4. Thanks for the report! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5845] rlcompleter should be enabled automatically

2013-03-21 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___ ___ Python-bugs-list

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-21 Thread Pierre Le Marre
New submission from Pierre Le Marre: Hi, I use Python 3.2.3 and Python 3.3.0 on Windows 7 64 bits. I have an issue with the short script enclosed. I use the module logging to get a log file with logging.FileHandler. There were some issues about the file access on Windows, so I added a buffer

[issue17489] random.Random implements __getstate__() and __reduce__()

2013-03-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Possibly __getstate__ could be removed. That said, I would feel a sense of risk in taking it out -- that method has been present for a *very* long time who knows what might rely on it being there. -- priority: normal - low

[issue17509] Incorrect package version predicate parsing by distutils

2013-03-21 Thread ILja Orlovs
New submission from ILja Orlovs: When `requires` list is present in the `distutils.core.setup` object, each element of that list is being parsed by `VersionPredicate` object (located in the `distutils/versionpredicate.py` file). In its `__init__` method, the VersionPredicate uses

[issue17025] reduce multiprocessing.Queue contention

2013-03-21 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- stage: - commit review versions: +Python 3.4 Added file: http://bugs.python.org/file29528/queues_contention-1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17025

[issue17025] reduce multiprocessing.Queue contention

2013-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, I forgot to mention it previously, but multiprocessing.connection uses a custom pickler (ForkingPickler). By replacing it with plain pickle.dumps() calls, you may produce regressions since some types won't be sendable anymore (although the test

[issue10224] Build 3.x documentation using python3.x

2013-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: Should I write a Makefile patch using the venv/install from pypi approach? Or could somebody upload new versions to http://svn.python.org/projects/external/? I looked at this issue over the past few days and discussed briefly with Georg about it. The 3 main

[issue17490] Improve ast.literal_eval test suite coverage

2013-03-21 Thread Nick Coghlan
Nick Coghlan added the comment: I don't think we should change the implementation, but I also discovered several holes in the test suite coverage while refactoring it. We should pursue some of the test suite changes, including switching them over to be data driven and take advantage of the

[issue10224] Build 3.x documentation using python3.x

2013-03-21 Thread Georg Brandl
Georg Brandl added the comment: A problem with using automatic tarballs from hg.python.org is that they take server load to generate, every time someone builds the docs from a new checkout. -- ___ Python tracker rep...@bugs.python.org

[issue17025] reduce multiprocessing.Queue contention

2013-03-21 Thread Charles-François Natali
Charles-François Natali added the comment: By the way, I forgot to mention it previously, but multiprocessing.connection uses a custom pickler (ForkingPickler). Thanks, I didn't know. Here's a patch using ForkingPickler. I did a bit of refactoring to move the pickling code from connection.py

[issue16475] Support object instancing and recursion in marshal

2013-03-21 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Yes, they were fixed with #42bf74b90626 which also added unittests in test_marshal.py to make sure invalid EOFs are always caught. -- ___ Python tracker rep...@bugs.python.org

[issue17409] resource.setrlimit doesn't respect -1

2013-03-21 Thread Paul Price
Paul Price added the comment: Not sure how you want patches formatted, so I went for 'git format-patch'. Also, this is my first attempt at writing ReST and my first attempt at writing docs for Python, so you may want to double-check I didn't screw up the syntax or style. Hopefully this

[issue17409] resource.setrlimit doesn't respect -1

2013-03-21 Thread Paul Price
Paul Price added the comment: P.S. This is relative to the 'default' branch in the public cpython. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17409 ___

[issue17500] move PC/icons/source.xar to http://www.python.org/community/logos/

2013-03-21 Thread Matthias Klose
Matthias Klose added the comment: ohh, I didn't see. however these are binaries only, and they still promise to open the sources, however the latest information on this page is for Ubuntu dapper drake (6.06), now almost seven years old. -- ___

[issue17494] References to stack bottom are confusing

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: stack = [] stack.append(item) stack.append(item) stack.append(item) This is an appropriate explanation of the stack in Python, the first frame is the frame that was put in first. root/terminal - if you know what a stack is, you won't confuse it with a

[issue13564] ftplib and sendfile()

2013-03-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: After digging a bit further it seems EAGAIN occurs in case a timeout was previously set against the socket as in ftplib.FTP(..., timeout=2) (at least on Linux, FWICT). As such, we can debate whether avoid using select/poll if timeout was not set. I'll that

[issue13564] ftplib and sendfile()

2013-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: After digging a bit further it seems EAGAIN occurs in case a timeout was previously set against the socket as in ftplib.FTP(..., timeout=2) (at least on Linux, FWICT). Ah, indeed. That's because socket timeout makes the underlying fd non-blocking. Which

[issue17494] References to stack bottom are confusing

2013-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: Using first makes some sense, since it's talking about previous, but I agree it might be confused with the top frame too. What about this wording then: -f_back is to the previous stack frame (towards the caller), -or None if this is the bottom stack frame;

[issue10224] Build 3.x documentation using python3.x

2013-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: Apparently they are cached, and unless the cache expires often, the server doesn't need to regenerate the tarball too often. However I don't know the details of the caching, and if they can be tweaked. -- ___ Python

[issue17494] References to stack bottom are confusing

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: +or None if this is the first frame (at the bottom of the stack); I'd avoid top/bottom altogether, but if it is what is needed to reach the consensus then I am fine with that. -- ___ Python tracker

[issue10224] Build 3.x documentation using python3.x

2013-03-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10224 ___ ___

[issue17503] replace mode is always on in console

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: I've messed with some settings, upgraded Far, restarted it during yet another test and suddenly everything worked. I hate such stuff. Thanks for support. -- resolution: - invalid status: open - closed ___ Python

[issue17494] References to stack bottom are confusing

2013-03-21 Thread Eli Bendersky
Eli Bendersky added the comment: Top/bottom is accepted and understood nomenclature when talking about stacks. Think about a stack of plates in the kitchen. You put a new plate on top, you take it out from top. That's it. Now, lists are just one way to implement stacks, and printing them is

[issue17136] ctypes tests fail with clang on non-OS X

2013-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed by libffi-3.0.13 import. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17136 ___

[issue17494] References to stack bottom are confusing

2013-03-21 Thread anatoly techtonik
anatoly techtonik added the comment: It appeared that I always thought that stacks grow down towards the end of memory, but it appears that they are growing down towards the beginning (x86 and friends). Spent some years with assembly to miss that. A shame on me. =) Even if title of the issue

  1   2   >