RedNotebook 1.6.4

2012-12-22 Thread Jendrik Seipp
A new RedNotebook version has been released. You can get the tarball, Windows installer and links to distribution packages at http://rednotebook.sourceforge.net/downloads.html What is RedNotebook? RedNotebook is a **graphical journal** and diary helping you keep track of

Re: Brython - Python in the browser

2012-12-22 Thread Pierre Quentel
Oh, and repr is just a synonym of str, which makes it useless. 3 days ago repr was not even implemented at all, so it's a step forward... -- http://mail.python.org/mailman/listinfo/python-list

Re: Brython - Python in the browser

2012-12-22 Thread Pierre Quentel
I was over-simplifying - or, to put is less diplomatically, I screwed up - when I answered that the addition returned a string. As Chris pointed out, it made the explanation very confusing. My apologies The objects handled by + and = can be : - strings, integers, floats - instances of $TagClass

Re: Brython - Python in the browser

2012-12-22 Thread Chris Angelico
On Sat, Dec 22, 2012 at 6:57 PM, Pierre Quentel pierre.quen...@gmail.com wrote: I was over-simplifying - or, to put is less diplomatically, I screwed up - when I answered that the addition returned a string. As Chris pointed out, it made the explanation very confusing. My apologies The

Re: Brython - Python in the browser

2012-12-22 Thread Pierre Quentel
Still, it tends to be a lot harder to explain, document, and read documentation for, something that uses operators weirdly, rather than keyword-searchable method names. You don't explain how to use the Python syntax (for instance the operator %, which behaves very differently between integers

pygnomevfs get_local_path_from_uri replacement

2012-12-22 Thread Daniel Fetchinson
Hi folks, I realize this is slightly off topic and maybe belongs to a gnome email list but it's nevertheless python: I use an old python program that was written for gnome 2 and gtk 2 and uses the function get_local_path_from_uri. More specifically it uses gnomevfs.get_local_path_from_uri. Now

Re: Brython - Python in the browser

2012-12-22 Thread Pierre Quentel
I forgot to mention : list comprehensions and the ternary operator (r1 if cond else r2) are now supported ! - Pierre -- http://mail.python.org/mailman/listinfo/python-list

Re: Brython - Python in the browser

2012-12-22 Thread Chris Angelico
On Sat, Dec 22, 2012 at 7:54 PM, Pierre Quentel pierre.quen...@gmail.com wrote: Still, it tends to be a lot harder to explain, document, and read documentation for, something that uses operators weirdly, rather than keyword-searchable method names. You don't explain how to use the Python

Re: pygnomevfs get_local_path_from_uri replacement

2012-12-22 Thread Westley Martínez
On Sat, Dec 22, 2012 at 09:57:11AM +0100, Daniel Fetchinson wrote: Hi folks, I realize this is slightly off topic and maybe belongs to a gnome email list but it's nevertheless python: I use an old python program that was written for gnome 2 and gtk 2 and uses the function

Re: pygnomevfs get_local_path_from_uri replacement

2012-12-22 Thread Chris Rebert
On Sat, Dec 22, 2012 at 12:57 AM, Daniel Fetchinson fetchin...@googlemail.com wrote: Hi folks, I realize this is slightly off topic and maybe belongs to a gnome email list but it's nevertheless python: I use an old python program that was written for gnome 2 and gtk 2 and uses the function

[Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Hello, to all, I hope I can describe me problem correctly. I have written a Project split up to one Main.py and different modules which are loaded using import and here is also my problem: 1. Main.py executes: 2. Import modules 3. One of the Modules is a SqliteDB datastore. 4. A second module

Re: Brython - Python in the browser

2012-12-22 Thread Steven D'Aprano
On Sat, 22 Dec 2012 20:08:25 +1100, Chris Angelico wrote: I don't see string % tuple as a good syntax; I prefer to spell it sprintf(format,arg,arg,arg). Very possibly one of the worst names ever from a language that excels at bad names. Sprint f? WTF? Certainly not appropriate for Python,

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Peter Otten
prilisa...@googlemail.com wrote: Hello, to all, I hope I can describe me problem correctly. I have written a Project split up to one Main.py and different modules which are loaded using import and here is also my problem: 1. Main.py executes: 2. Import modules 3. One of the Modules

Gary Sokolich - 3463

2012-12-22 Thread Gary Sokolisch
3463 W Gary Sokolich 801 Kings Road Newport Beach, CA 92663-5715 (949) 650-5379 Local PD 949-644-3681 Residence: 1029 S Point View St Los Angeles CA 90035 (310) 650-5379 and 5309 Victoria Ave., Los Angeles, CA, 90043

Re: Brython - Python in the browser

2012-12-22 Thread Chris Angelico
On Sat, Dec 22, 2012 at 10:05 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 22 Dec 2012 20:08:25 +1100, Chris Angelico wrote: I don't see string % tuple as a good syntax; I prefer to spell it sprintf(format,arg,arg,arg). Very possibly one of the worst names ever

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Am Samstag, 22. Dezember 2012 12:43:54 UTC+1 schrieb Peter Otten: wrote: Hello, to all, I hope I can describe me problem correctly. I have written a Project split up to one Main.py and different modules which are loaded using import and here is also my problem:

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Am Samstag, 22. Dezember 2012 13:38:11 UTC+1 schrieb prili...@googlemail.com: Am Samstag, 22. Dezember 2012 12:43:54 UTC+1 schrieb Peter Otten: wrote: Hello, to all, I hope I can describe me problem correctly. I have written a

Re: python ldap bind error

2012-12-22 Thread Michael Ströder
Jorge Alberto Diaz Orozco wrote: hi there. I'm working with python ldap and I need to authenticate my user. this is the code I'm using. import ldap ldap.set_option(ldap.OPT_REFERRALS,0) ldap.protocol_version = 3 conn = ldap.initialize(ldap://ldap.domain.cu;)

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Peter Otten
prilisa...@googlemail.com wrote: I don't know, Python allways looks for me like a one script File. But there are big projects. like the the Model of an SQL Server, using coordinators no problems running threads and exchange Data through a Backbone. I have searched a lot, but I havent find

Re: Pigeon Computer 0.1 Initial (BETA) release

2012-12-22 Thread Colin J. Williams
On 21/12/2012 7:07 PM, Amirouche Boubekki wrote: Héllo, 2012/12/22 Simon Forman forman.si...@gmail.com mailto:forman.si...@gmail.com Pigeon Computer 0.1 Initial (BETA) release Summary The Pigeon Computer is a simple but sophisticated system for learning and

Plz Suggest... How can i install the pure python package py-bidi in WIndows.

2012-12-22 Thread Arsalan Khan
I tried installing but it gives error.. Can anyone guide the procedure of configuring/Installing a python package in windows ??? -- http://mail.python.org/mailman/listinfo/python-list

Re: Plz Suggest... How can i install the pure python package py-bidi in WIndows.

2012-12-22 Thread Kwpolska
On Sat, Dec 22, 2012 at 3:10 PM, Arsalan Khan m.arsi.k...@gmail.com wrote: I tried installing but it gives error.. Can anyone guide the procedure of configuring/Installing a python package in windows ??? -- http://mail.python.org/mailman/listinfo/python-list What error, exactly? --

Re: Plz Suggest... How can i install the pure python package py-bidi in WIndows.

2012-12-22 Thread David Robinow
On Sat, Dec 22, 2012 at 9:10 AM, Arsalan Khan m.arsi.k...@gmail.com wrote: I tried installing but it gives error.. Can anyone guide the procedure of configuring/Installing a python package in windows ??? What did you do to try to install? What error(s) did you get? Where can I find this

Re: pygnomevfs get_local_path_from_uri replacement

2012-12-22 Thread Daniel Fetchinson
Hi folks, I realize this is slightly off topic and maybe belongs to a gnome email list but it's nevertheless python: I use an old python program that was written for gnome 2 and gtk 2 and uses the function get_local_path_from_uri. More specifically it uses gnomevfs.get_local_path_from_uri.

Re: redirect standard output problem

2012-12-22 Thread iMath
在 2012年12月21日星期五UTC+8下午3时24分10秒,Chris Angelico写道: On Fri, Dec 21, 2012 at 4:23 PM, iMath redstone-c...@163.com wrote: redirect standard output problem why the result only print A but leave out 888 ? No idea, because when I paste your code into the Python 3.3 interpreter or

Re: redirect standard output problem

2012-12-22 Thread Chris Angelico
On Sun, Dec 23, 2012 at 2:07 AM, iMath redstone-c...@163.com wrote: when I run it through command line ,it works ok ,but when I run it through IDLE , only print A but leave out 888 so why ? Because IDLE has to fiddle with stdin/stdout a bit to function. Try adopting Dave's recommendation -

Re: compile python 3.3 with bz2 support

2012-12-22 Thread Miki Tebeka
On Thursday, December 20, 2012 10:27:54 PM UTC-8, Isml wrote:     I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to do that. Here is how I do it:     1. download bzip2 and compile it(make、make -f Makefile_libbz2_so、make install) Why can't you use yum? (yum install

Re: compile python 3.3 with bz2 support

2012-12-22 Thread Benjamin Kaplan
On Dec 21, 2012 1:31 AM, Isml 76069...@qq.com wrote: hi, everyone: I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to do that. Here is how I do it: 1. download bzip2 and compile it(make、make -f Makefile_libbz2_so、make install) 2.chang to python 3.3 source

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Am Samstag, 22. Dezember 2012 14:54:27 UTC+1 schrieb Peter Otten: wrote: I don't know, Python allways looks for me like a one script File. But there are big projects. like the the Model of an SQL Server, using coordinators no problems running threads and exchange Data through a

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Alexander Blinne
Am 22.12.2012 13:45, schrieb prilisa...@googlemail.com: Ps.: The Socket, the DB has to be kept allways open, because of it's Server functionality, A lot of Sensors, Timers, User interaction, must recived , Calculated, etc so a reaction must be send in about 16~100 ms, different modules

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Am Samstag, 22. Dezember 2012 18:26:43 UTC+1 schrieb Alexander Blinne: Am 22.12.2012 13:45, schrieb: Ps.: The Socket, the DB has to be kept allways open, because of it's Server functionality, A lot of Sensors, Timers, User interaction, must recived , Calculated, etc so a reaction must

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Alexander Blinne
Am 22.12.2012 19:10, schrieb prilisa...@googlemail.com: It's for me a view of top side down, but how could the midlevel comunicate to each oter... not hirachical You could use something like the singleton pattern in order to get a reference to the same datastore-object every time

Re: Brython - Python in the browser

2012-12-22 Thread Dan Sommers
On Sat, 22 Dec 2012 23:11:00 +1100, Chris Angelico wrote: This is a string / 3 == [This , is a , strin, g] and This is a string // 3 == [This , is a , strin] then This is a string % 3 == [g] or possibly g which is incompatible with current usage. But that's a meaning that makes reasonable

Python, email temperature

2012-12-22 Thread Alexander Ranstam
Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the temperature of my CPU, but i cant seem to combine the to into the funktion that i want, sending me the CPU temp via Email. The two programs work very well on their

Re: Python, email temperature

2012-12-22 Thread KarlE
On Saturday, December 22, 2012 9:36:41 PM UTC+1, Alexander Ranstam wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the temperature of my CPU, but i cant seem to combine the to into the funktion that i

Re: Python, email temperature

2012-12-22 Thread Joel Goldstick
On Sat, Dec 22, 2012 at 3:36 PM, Alexander Ranstam rans...@gmail.comwrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the temperature of my CPU, but i cant seem to combine the to into the funktion that i want,

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread prilisauer
Am Samstag, 22. Dezember 2012 20:29:49 UTC+1 schrieb Alexander Blinne: Am 22.12.2012 19:10, schrieb: It's for me a view of top side down, but how could the midlevel comunicate to each oter... not hirachical You could use something like the singleton pattern in order to get a

Re: Python, email temperature

2012-12-22 Thread Gary Herron
On 12/22/2012 12:36 PM, Alexander Ranstam wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the temperature of my CPU, but i cant seem to combine the to into the funktion that i want, sending me the CPU temp

Re: Python, email temperature

2012-12-22 Thread KarlE
On Saturday, December 22, 2012 9:44:39 PM UTC+1, Joel Goldstick wrote: On Sat, Dec 22, 2012 at 3:36 PM, Alexander Ranstam ran...@gmail.com wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the

Re: Brython - Python in the browser

2012-12-22 Thread Ian Kelly
On Sat, Dec 22, 2012 at 1:31 PM, Dan Sommers d...@tombstonezero.net wrote: So why are we all so comfortable with using * as the operator for multiplication? I'm sure that a new programming language that dared to use U+00D7 or U+2715 for multiplication would be instantly rejected on the

Re: redirect standard output problem

2012-12-22 Thread Terry Reedy
On 12/22/2012 10:15 AM, Chris Angelico wrote: On Sun, Dec 23, 2012 at 2:07 AM, iMath redstone-c...@163.com wrote: when I run it through command line ,it works ok ,but when I run it through IDLE , only print A but leave out 888 so why ? Because IDLE has to fiddle with stdin/stdout a bit to

Re: Plz Suggest... How can i install the pure python package py-bidi in WIndows.

2012-12-22 Thread Terry Reedy
On 12/22/2012 10:02 AM, David Robinow wrote: On Sat, Dec 22, 2012 at 9:10 AM, Arsalan Khan m.arsi.k...@gmail.com wrote: I tried installing but it gives error.. Can anyone guide the procedure of configuring/Installing a python package in windows ??? What did you do to try to install? What

Re: Python, email temperature

2012-12-22 Thread Gary Herron
On 12/22/2012 12:54 PM, KarlE wrote: On Saturday, December 22, 2012 9:44:39 PM UTC+1, Joel Goldstick wrote: On Sat, Dec 22, 2012 at 3:36 PM, Alexander Ranstam ran...@gmail.com wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email,

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Terry Reedy
On 12/22/2012 7:45 AM, prilisa...@googlemail.com wrote: Am Samstag, 22. Dezember 2012 13:38:11 UTC+1 schrieb prili...@googlemail.com: Am Samstag, 22. Dezember 2012 12:43:54 UTC+1 schrieb Peter Otten: wrote: Hello, to all, And my mail reader text window is

Re: Brython - Python in the browser

2012-12-22 Thread Chris Angelico
On Sun, Dec 23, 2012 at 7:31 AM, Dan Sommers d...@tombstonezero.net wrote: On Sat, 22 Dec 2012 23:11:00 +1100, Chris Angelico wrote: This is a string / 3 == [This , is a , strin, g] and This is a string // 3 == [This , is a , strin] then This is a string % 3 == [g] or possibly g which is

Re: Python, email temperature

2012-12-22 Thread No One
On 2012-12-22, KarlE rans...@gmail.com wrote: On Saturday, December 22, 2012 9:44:39 PM UTC+1, Joel Goldstick wrote: On Sat, Dec 22, 2012 at 3:36 PM, Alexander Ranstam ran...@gmail.com wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Alexander Blinne
Am 22.12.2012 21:43, schrieb prilisa...@googlemail.com: I Think I describe my Situation wrong, the written Project is a Server, that should store sensor data, perfoms makros on lamps according a sequence stored in the DB and Rule systems schould regulate home devices and plan scheduler jobs

Re: [Help] [Newbie] Require help migrating from Perl to Python 2.7 (namespaces)

2012-12-22 Thread Dave Angel
On 12/22/2012 03:43 PM, prilisa...@googlemail.com wrote: snip I Think I describe my Situation wrong, the written Project is a Server, that should store sensor data, perfoms makros on lamps according a sequence stored in the DB and Rule systems schould regulate home devices and plan scheduler

Re: Python, email temperature

2012-12-22 Thread KarlE
On Saturday, December 22, 2012 9:36:41 PM UTC+1, KarlE wrote: Hi! Im totally new to Python, and im using it on my Raspberry pi. I found a program that sends an email, and one that checks the temperature of my CPU, but i cant seem to combine the to into the funktion that i want, sending

Re: Python, email temperature

2012-12-22 Thread Chris Angelico
On Sun, Dec 23, 2012 at 9:50 AM, KarlE rans...@gmail.com wrote: Thanx for the help! After reading your comments i am starting to suspect that i lack basic knowledge of Python programming. I will try to do some reading and undertand what i got my self into! That happens :) Python has rules

I invite these group members to yahoodiary.com to make friends. Many groups already joined

2012-12-22 Thread bettykaren79
I invite these group members to yahoodiary.com to make friends. Many groups already joined -- http://mail.python.org/mailman/listinfo/python-list

Re: Python USB control on Windows 7?

2012-12-22 Thread Tim Roberts
Duncan Booth duncan.booth@invalid.invalid wrote: In this year's Christmas Raffle at work I won a 'party-in-a-box' including USB fairy lights. They sit boringly on all the time, so does anyone know if I can toggle the power easily from a script? My work PC is running Win7. Not easily, no.

Re: Python USB control on Windows 7?

2012-12-22 Thread Chris Angelico
On Sun, Dec 23, 2012 at 6:28 PM, Tim Roberts t...@probo.com wrote: Duncan Booth duncan.booth@invalid.invalid wrote: In this year's Christmas Raffle at work I won a 'party-in-a-box' including USB fairy lights. They sit boringly on all the time, so does anyone know if I can toggle the power

[issue16751] Using modern unittest asserts in the documentation

2012-12-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch update the documentation examples to use more modern unittest asserts. -- assignee: docs@python components: Documentation, Tests files: docs_unittest_assert.patch keywords: easy, patch messages: 177924 nosy: docs@python,

[issue16694] Add pure Python operator module

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't understand what is difference between v5 and v6. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16694 ___

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No need to add this trivial class to test.support. Mixin can have different parameters in additional to 'module' (see 16659). I found a lot of usages of this idiom in tests and some of them can't be changed so simple (for example test_genericpath and

[issue16748] Ensure test discovery doesn't break for modules testing C and Python implementations

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Éric, can you submit a test which exposes the problem? -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16748 ___

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Charles-François Natali
Charles-François Natali added the comment: It's not an issue at all, it's simply buffering in effect. Depending on the version, stdout/stderr is either unbuffured or fully buffered, see http://bugs.python.org/issue13597 Simply pass '-u' and streams will be unbuffered, and appear in the order

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It looks as for example stdout is line-buffered when output to terminal and block-buffered when redirected to file or pipe and stderr is line-buffered in any case in Python 3.3 (this a common behavior for all C programs). Or something like. Python has an

[issue16712] collections.abc.Sequence should not provide __reversed__

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: This sounds like a legitimate complaint to me, as the one in the ABC will be at least marginally slower in CPython since it's written in Python while reversed uses a builtin C implementation. Classing it as an enhancement rather than a behavioural bug though,

[issue16712] collections.abc.Sequence should not provide __reversed__

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: The observation about it incorrectly flagging __reversed__ as an expected method for Sequence objects is also valid. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16712

[issue16737] Different behaviours in script run directly and via runpy.run_module

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, some glorious (in)consistency here: $ cat echo_file.py print(__file__) (2.7, old import system) $ python -c import echo_file echo_file.pyc $ python -m echo_file /home/ncoghlan/devel/play/echo_file.py $ python echo_file.py echo_file.py (3.2, cache

[issue16737] Different behaviours in script run directly and via runpy.run_module

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: So yes, any code that assumes __main__.__file__ is a relative path is just plain wrong, as Python provides no such guarantee. It may currently be either relative or absolute at the implementation's discretion. If the status quo ever changes, it would be to

[issue16531] Allow IPNetwork to take a tuple

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: IIRC, construction from existing instances in general is an issue in the current version of the module. One particularly murky question if it were allowed is what should happen if you pass an IPAdapter instance (which already has associated network info) rather

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I found that the documentation contains a receipt which depends on the fact that bias() wraps around samples. Here is an updated patch. Also some docs changes included. -- Added file: http://bugs.python.org/file28395/audioop_2.patch

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28396/audioop_2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file28397/audioop_2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28364/audioop.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28365/audioop_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28366/audioop.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___

[issue16686] audioop overflow issues

2012-12-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686 ___ ___

[issue16750] Python Code module implements uncomputable function

2012-12-22 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as invalid. There's no issue with comparing code objects---__eq__ implements a perfectly good equivalence relation. This is not an extensional definition of function equality. -- nosy: +mark.dickinson resolution: - invalid status: open -

[issue16581] define PEP editor in PEP 1

2012-12-22 Thread Nick Coghlan
Nick Coghlan added the comment: Committed, along with a few other changes, as http://hg.python.org/peps/rev/24d5623ab21e Subsequent commit addresses Ezio's comment by changing the phrase to list for contacting the PEP editors. The attitude I mainly take to PEP 1 now is that if I notice cases

[issue16581] define PEP editor in PEP 1

2012-12-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot, Nick. It looks like you also went ahead and took care of issue 16746. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16581 ___

[issue16746] clarify what should be sent to peps@

2012-12-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: This issue was just addressed by Nick's fix for issue 16581, specifically the following parts of http://hg.python.org/peps/rev/24d5623ab21e : +p...@python.org is a mailing list consisting of PEP editors. All +email related to PEP administration (such as

[issue16746] clarify what should be sent to peps@

2012-12-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: By the way, thanks for the clarifying info, David. Also, I thought I was the one that was going to be accused of reading the original text like a computer. :) -- ___ Python tracker rep...@bugs.python.org

[issue16745] Hide symbols in _decimal.so

2012-12-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51b0a150f8aa by Stefan Krah in branch '3.3': Issue #16745: Hide symbols in _decimal.so. http://hg.python.org/cpython/rev/51b0a150f8aa -- ___ Python tracker rep...@bugs.python.org

[issue16689] stdout stderr redirection mess

2012-12-22 Thread anatoly techtonik
anatoly techtonik added the comment: I am not convinced that won't fix is the solution. If you're redirecting both output streams to the same destination, you expect that the output will appear in the final file exactly as it appears on the screen. tag:wart -- status: closed -

[issue16749] Fatal Python Error

2012-12-22 Thread R. David Murray
R. David Murray added the comment: Not really, I'm afraid. You'd have to look at the crash dump in a debugger to get more useful information. Perhaps one of the windows devs will have more concrete advice, I don't use Windows myself. -- ___

[issue16751] Using modern unittest asserts in the documentation

2012-12-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16751 ___ ___

[issue16618] Different glob() results for strings and bytes

2012-12-22 Thread Hynek Schlawack
Hynek Schlawack added the comment: Serhiy, are you going to update your patches? I can implement the feedback of our Q4 Community Service Award awardee too in case you’re busy. -- ___ Python tracker rep...@bugs.python.org

[issue16749] Fatal Python Error

2012-12-22 Thread Leonardo DaVinci
Leonardo DaVinci added the comment: Ok I'll try booting and installing in Mac to see if the issue reappears. Thanks for your time. Happy holidays. Ciro On Sat, Dec 22, 2012 at 9:46 AM, R. David Murray rep...@bugs.python.orgwrote: R. David Murray added the comment: Not really, I'm

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Charles-François Natali
Charles-François Natali added the comment: I am not convinced that won't fix is the solution. If you're redirecting both output streams to the same destination, you expect that the output will appear in the final file exactly as it appears on the screen. There's nothing to fix. The order

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Charles-François Natali
Charles-François Natali added the comment: To be more specific, for performance reasons, you definitely don't want stdout to be line buffered when redirected to a file, but fully buffered. It makes sense to have stderr unbuffered or line buffered either way to make sure that errors get printed -

[issue16618] Different glob() results for strings and bytes

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Aha! It's OS/2 where glob('*/') returns result without trailing slash. Here also glob() can return str (on 2.7) result for unicode pattern. -- ___ Python tracker rep...@bugs.python.org

[issue16618] Different glob() results for strings and bytes

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is an updated patches. I hope it satisfies Antoine's comments. -- Added file: http://bugs.python.org/file28398/glob_dotfiles_3.patch Added file: http://bugs.python.org/file28399/glob_tests-2.7_3.patch ___

[issue1195571] simple callback system for Py_FatalError

2012-12-22 Thread Jonathan McDougall
Jonathan McDougall added the comment: The latest patch does not allow changing the default behaviour of aborting the process, which is for me a problem. I am both embedding and extending python using Boost.Python, but scripting is optional. In case python fails to initialize, I want to disable

[issue16686] audioop overflow issues

2012-12-22 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/issue16686 ___

[issue16737] Different behaviours in script run directly and via runpy.run_module

2012-12-22 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/issue16737 ___

[issue16752] Missing import in modulefinder.py

2012-12-22 Thread Thomas Heller
New submission from Thomas Heller: It seems the statement import importlib is missing in 3.3's modulefinder.py -- components: Library (Lib) messages: 177951 nosy: theller priority: normal severity: normal status: open title: Missing import in modulefinder.py versions: Python 3.3

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: And arguably you shouldn't redirect stdout and stderr to the same place, except for temporary debugging purposes. -- nosy: +pitrou status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14373] C implementation of functools.lru_cache

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Thank you, Matt and Alexey. Here is a simple benchmark. On my computer it shows 10-25x speedup using the C accelerator. -- stage: needs patch - commit review Added file: http://bugs.python.org/file28400/lru_cache_bench.py

[issue16689] stdout stderr redirection mess

2012-12-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anatoly, we are not going to change the default buffering to the most inefficient possible to meet your expectation -- especially when there is a simple option to give you what you want. Unix/C and hence windows has two output streams because people often

[issue14373] C implementation of functools.lru_cache

2012-12-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine reminded me about a lock. In Python implementation it needed because linked list modifications are not atomic. In C implementation linked list modifications are atomic. However dict operations can call Python code and therefore they are not atomic.

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2012-12-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: If you are changing just a few minor things, can you resubmit the patch without reflowing? It will be easier to see what minor things have changed. (It is okay to have the occasional short line to avoid having long lines. Reflowing can be done as part of a

[issue16752] Missing import in modulefinder.py

2012-12-22 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch with a test case. -- keywords: +patch nosy: +berker.peksag versions: +Python 3.4 Added file: http://bugs.python.org/file28401/issue16752.diff ___ Python tracker rep...@bugs.python.org

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-12-22 Thread Vance Maverick
Vance Maverick added the comment: FYI, http://downloads.activestate.com/ActiveTcl/releases/8.5.11.1/ is no longer online, so that workaround is no longer possible. -- nosy: +Vance.Maverick ___ Python tracker rep...@bugs.python.org

[issue16745] Hide symbols in _decimal.so

2012-12-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset ccc372b37fbb by Stefan Krah in branch '3.3': Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD. http://hg.python.org/cpython/rev/ccc372b37fbb -- ___ Python tracker

[issue16737] Different behaviours in script run directly and via runpy.run_module

2012-12-22 Thread Brett Cannon
Brett Cannon added the comment: I would totally support tossing relative file paths in Python 3.4 as it has been nothing but backwards-compatibility headaches and is essentially wrong as the module's file is not relative to the current directory necessarily. --

[issue16752] Missing import in modulefinder.py

2012-12-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b9b7cb136db by Brett Cannon in branch '3.3': Issue #16752: Add a missing import to modulefinder. http://hg.python.org/cpython/rev/1b9b7cb136db -- nosy: +python-dev ___ Python tracker

  1   2   >