Pogo 0.7

2012-04-28 Thread Jendrik Seipp
I am proud to announce a new release of Pogo, probably the simplest and fastest audio player for Linux. The tarball and an Ubuntu PPA are available at http://launchpad.net/pogo What is Pogo? Pogo plays your music. Nothing else. It is both fast and easy-to-use. The clear

Re: HTML Code - Line Number

2012-04-28 Thread Tim Roberts
smac2...@comcast.net wrote: For scrapping purposes, I am having a bit of trouble writing a block of code to define, and find, the relative position (line number) of a string of HTML code. I can pull out one string that I want, and then there is always a line of code, directly beneath the one I

int object

2012-04-28 Thread Debashish Saha
Notebook Actions Cell Actions Format Output Insert Move Run Autoindent: Kernel Actions Kill kernel upon exit: Help Python IPython Links NumPy SciPy MPL SymPy run selected cell Shift-Enter : run selected cell in-place Ctrl-Enter : show keyboard shortcuts Ctrl-m h : Configuration Tooltip on tab:

Re: HTML Code - Line Number

2012-04-28 Thread Jon Clements
On Friday, 27 April 2012 18:09:57 UTC+1, smac...@comcast.net wrote: Hello, For scrapping purposes, I am having a bit of trouble writing a block of code to define, and find, the relative position (line number) of a string of HTML code. I can pull out one string that I want, and then there

Re: syntax for code blocks

2012-04-28 Thread Kiuhnm
On 4/27/2012 18:07, Steven D'Aprano wrote: On Fri, 27 Apr 2012 17:03:19 +0200, Kiuhnm wrote: On 4/27/2012 16:09, Steven D'Aprano wrote: On Fri, 27 Apr 2012 13:24:35 +0200, Kiuhnm wrote: I'd like to change the syntax of my module 'codeblocks' to make it more pythonic. Current Syntax:

Re: why () is () and [] is [] work in other way?

2012-04-28 Thread Kiuhnm
On 4/27/2012 19:15, Adam Skutt wrote: On Apr 27, 11:01 am, Kiuhnmkiuhnm03.4t.yahoo.it wrote: On 4/27/2012 1:57, Adam Skutt wrote: On Apr 26, 6:34 pm, Kiuhnmkiuhnm03.4t.yahoo.itwrote: If you understand that your 'a' is not really an object but a reference to it, everything becomes clear

Re: solutions books

2012-04-28 Thread ali deli
Hi, I'am a college physics student. If you have the following document SOLUTIONS MANUAL TO FUNDAMENTALS OF ENGINEERING ELECTROMAGNETICS, by DAVID CHENG , Could you please send me the document? -- http://mail.python.org/mailman/listinfo/python-list

Re: why () is () and [] is [] work in other way?

2012-04-28 Thread Chris Angelico
On Sat, Apr 28, 2012 at 9:26 PM, Kiuhnm kiuhnm03.4t.yahoo...@mail.python.org wrote: Your problem is that you think that copy semantics requires real copying. I really don't see any technical difficulty in virtualizing the all thing. Copy semantics without real copying is an optimization that a

Re: why () is () and [] is [] work in other way?

2012-04-28 Thread Kiuhnm
On 4/27/2012 17:39, Adam Skutt wrote: On Apr 27, 8:07 am, Kiuhnmkiuhnm03.4t.yahoo.it wrote: Useful... maybe, conceptually sound... no. Conceptually, NaN is the class of all elements which are not numbers, therefore NaN = NaN. NaN isn't really the class of all elements which aren't numbers.

Re: CPython thread starvation

2012-04-28 Thread Roy Smith
In article 7xy5pgqwto@ruckus.brouhaha.com, Paul Rubin no.email@nospam.invalid wrote: John Nagle na...@animats.com writes: I may do that to prevent the stall. But the real problem was all those DNS requests. Parallizing them wouldn't help much when it took hours to grind through

Re: CPython thread starvation

2012-04-28 Thread Danyel Lawson
Sprinkle time.sleep(0) liberally throughout your code where you think natural processing breaks should be. Even in while loops. It's lame but is the only way to make Python multithreading task switch fairly. Your compute intensive tasks need a time.sleep(0) in their loops. This prevents

Re: int object

2012-04-28 Thread Emile van Sebille
On 4/27/2012 11:42 PM Debashish Saha said... 44 sph_yn_P=(l*sph_yn(l,K*R)/(K*R))-sph_yn(l,K*R) Here you're clearly multiplying by R... --- 45 Beta_l=l-(K_P*R(sph_jv(l+1,K_P*R))/(sph_jv(l,K_P*R))) ... and here you've got R(...) which is attempting to call R() which isn't

Re: CPython thread starvation

2012-04-28 Thread Chris Angelico
On Sat, Apr 28, 2012 at 11:46 PM, Danyel Lawson danyellaw...@gmail.com wrote: The DNS lookup is one of those things that may make sense to run as a separate daemon process that listens on a socket. Yeah, it does. One that listens on port 53, TCP and UDP, perhaps. :) You've just recommended

Re: why () is () and [] is [] work in other way?

2012-04-28 Thread Adam Skutt
On Apr 28, 7:26 am, Kiuhnm kiuhnm03.4t.yahoo.it wrote: On 4/27/2012 19:15, Adam Skutt wrote: On Apr 27, 11:01 am, Kiuhnmkiuhnm03.4t.yahoo.it  wrote: The abstraction is this: - There are primitives and objects. - Primitives are not objects. The converse is also true. - Primitives can

Re: CPython thread starvation

2012-04-28 Thread Danyel Lawson
I'm glad I thought of it. ;) But the trick is to use port 5353 and set a really short timeout on responses in the config for the DNS cache. On Sat, Apr 28, 2012 at 10:15 AM, Chris Angelico ros...@gmail.com wrote: On Sat, Apr 28, 2012 at 11:46 PM, Danyel Lawson danyellaw...@gmail.com wrote:

Re: CPython thread starvation

2012-04-28 Thread Chris Angelico
On Sun, Apr 29, 2012 at 12:27 AM, Danyel Lawson danyellaw...@gmail.com wrote: I'm glad I thought of it. ;) But the trick is to use port 5353 and set a really short timeout on responses in the config for the DNS cache. I don't think false timeouts are any better than true ones, if you actually

Re: beautiful bitch accepts dwarf

2012-04-28 Thread jimmy970
http://python.6.n6.nabble.com/file/n4936643/op4.jpg -- View this message in context: http://python.6.n6.nabble.com/AMPUTEE-INCEST-MIDGET-2012-tp4708963p4936643.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python id() does not return an address [was Re: why () is () and [] is [] work in other way?]

2012-04-28 Thread OKB (not okblacke)
Adam Skutt wrote: You can't treat id() as an address. Did you miss my post when I demonstrated that Jython returns IDs generated on demand, starting from 1? In general, there is *no way even in principle* to go from a Python ID to the memory location (address) of the object with that ID,

confusing doc: mutable and hashable

2012-04-28 Thread laymanzheng
I'm just learning Python. The python doc about mutable and hashable is confusing to me. In my understanding, there is no directly relation between mutable and hashable in Python. Any class with __hash__ function is hashable. According the wiki: http://en.wikipedia.org/wiki/Immutable_object

Re: confusing doc: mutable and hashable

2012-04-28 Thread mwilson
laymanzh...@gmail.com wrote: I'm just learning Python. The python doc about mutable and hashable is confusing to me. In my understanding, there is no directly relation between mutable and hashable in Python. Any class with __hash__ function is hashable. According the wiki:

Re: confusing doc: mutable and hashable

2012-04-28 Thread Chris Rebert
On Sat, Apr 28, 2012 at 11:09 AM, laymanzh...@gmail.com wrote: I'm just learning Python. The python doc about mutable and hashable is confusing to me. In my understanding, there is no directly relation between mutable and hashable in Python. Any class with __hash__ function is hashable.

Re: (3.2) Overload print() using the C API?

2012-04-28 Thread Stefan Behnel
Peter Faulks, 27.04.2012 22:31: On 27/04/2012 6:55 PM, Stefan Behnel wrote: Peter Faulks, 27.04.2012 10:36: On 27/04/2012 5:15 PM, Stefan Behnel wrote: Peter Faulks, 26.04.2012 19:57: I want to extend an embedded interpreter so that calls to print() are automagically sent to a C++ gui

Re: CPython thread starvation

2012-04-28 Thread Paul Rubin
Roy Smith r...@panix.com writes: I agree that application-level name cacheing is wrong, but sometimes doing it the wrong way just makes sense. I could whip up a simple cacheing wrapper around getaddrinfo() in 5 minutes. Depending on the environment (both technology and bureaucracy),

From the crest of Olivet...

2012-04-28 Thread E Bmums
From the crest of Olivet, Jesus looked upon Jerusalem. Fair and peaceful was the scene spread out before Him. It was the season of the Passover, and from all lands the children of Jacob had gathered there to celebrate the great national festival. In the midst of gardens and vineyards, and

Re: syntax for code blocks

2012-04-28 Thread Ethan Furman
Kiuhnm wrote: I'd like to change the syntax of my module 'codeblocks' to make it more pythonic. Current Syntax: with res func(arg1) 'x, y': print(x, y) with res func(arg1) block_name 'x, y': print(x, y) New Syntax: with res == func(arg1) .taking_block (x,

Re: confusing doc: mutable and hashable

2012-04-28 Thread Kiuhnm
On 4/28/2012 20:09, laymanzh...@gmail.com wrote: I'm just learning Python. The python doc about mutable and hashable is confusing to me. In my understanding, there is no directly relation between mutable and hashable in Python. Any class with __hash__ function is hashable. According the

Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Xah Lee
Learn Technical Writing from Unix Man in 10 Days Quote from man apt-get: remove remove is identical to install except that packages are removed instead of installed. Translation: kicking kicking is identical to kissing except that receiver is kicked

Re: confusing doc: mutable and hashable

2012-04-28 Thread Temia Eszteri
Yes, you're right. Being mutable and hashable are orthogonal properties. The implication mutable = non hashable is just a design choice. The reason for such a choice is the following. If a key-element pair K:X is added to a container C and then K is changed by some external Python code

Re: Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Temia Eszteri
And what does this have to do with a multiplatform language like Python? :P ~Temia -- When on earth, do as the earthlings do. -- http://mail.python.org/mailman/listinfo/python-list

Getting started with PyGTK [Receiving Error]

2012-04-28 Thread Santosh Kumar
System Information Ubuntu 11.10 Python 2.7.2 Problem I think my Ubuntu has PyGTK and GTK both already installed. But however when I am importing gtk in Python interactive mode then I am getting the following warning: (.:4126): Gtk-WARNING **: Unable to

Re: Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Chris Angelico
On Sun, Apr 29, 2012 at 8:36 AM, Temia Eszteri lamial...@cleverpun.com wrote: And what does this have to do with a multiplatform language like Python? :P Nothing. Xah Lee is a professional troll. You can save yourself some trouble by ignoring his posts altogether. ChrisA --

Re: confusing doc: mutable and hashable

2012-04-28 Thread MRAB
On 28/04/2012 23:30, Temia Eszteri wrote: Yes, you're right. Being mutable and hashable are orthogonal properties. The implication mutable = non hashable is just a design choice. The reason for such a choice is the following. If a key-element pair K:X is added to a container C and then K

Re: Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Temia Eszteri
On Sun, Apr 29, 2012 at 8:36 AM, Temia Eszteri lamial...@cleverpun.com wrote: And what does this have to do with a multiplatform language like Python? :P Nothing. Xah Lee is a professional troll. You can save yourself some trouble by ignoring his posts altogether. ChrisA Professional? He's

Re: Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Andrew Berg
On 4/28/2012 6:45 PM, Temia Eszteri wrote: Professional? He's boring! I agree. Ranting Rick is much more entertaining (usually). -- CPython 3.2.3/3.3.0a2 | Windows NT 6.1.7601.17790 -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting started with PyGTK [Receiving Error]

2012-04-28 Thread Vincent Vande Vyvre
Le 29/04/12 00:52, Santosh Kumar a écrit : System Information Ubuntu 11.10 Python 2.7.2 Problem I think my Ubuntu has PyGTK and GTK both already installed. But however when I am importing gtk in Python interactive mode then I am getting the

Communication between C++ server and Python app

2012-04-28 Thread kenk
Hi, I've got a server process written in C++ running on Unix machine. On the same box I'd like to run multiple Python scripts that will communicate with this server. Can you please suggest what would be best was to achieve this ? Kind regards and thanks in advance! M. --

Re: Communication between C++ server and Python app

2012-04-28 Thread Chris Angelico
On Sun, Apr 29, 2012 at 10:45 AM, kenk marcin.maksym...@googlemail.com wrote: Hi, I've got a server process written in C++ running on Unix machine. On the same box I'd like to run multiple Python scripts that will communicate with this server. Can you please suggest what would be best was

Re: Communication between C++ server and Python app

2012-04-28 Thread Roy Smith
In article 108cb846-6bb9-4600-a984-2fded0c91...@er9g2000vbb.googlegroups.com, kenk marcin.maksym...@googlemail.com wrote: Hi, I've got a server process written in C++ running on Unix machine. On the same box I'd like to run multiple Python scripts that will communicate with this server.

Re: confusing doc: mutable and hashable

2012-04-28 Thread Terry Reedy
On 4/28/2012 2:09 PM, laymanzh...@gmail.com wrote: In my understanding, there is no directly relation between mutable and hashable in Python. Any class with __hash__ function is hashable. According the wiki: http://en.wikipedia.org/wiki/Immutable_object In object-oriented and functional

Re: Learn Technical Writing from Unix Man in 10 Days

2012-04-28 Thread Steven D'Aprano
On Sat, 28 Apr 2012 14:55:42 -0700, Xah Lee wrote: Learn Technical Writing from Unix Man in 10 Days Quote from man apt-get: remove remove is identical to install except that packages are removed instead of installed. Do you also expect the documentation to define

Re: Communication between C++ server and Python app

2012-04-28 Thread Rodrick Brown
What interfaces are available on the server process? Sent from my iPad On Apr 28, 2012, at 8:45 PM, kenk marcin.maksym...@googlemail.com wrote: Hi, I've got a server process written in C++ running on Unix machine. On the same box I'd like to run multiple Python scripts that will

[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I think the issue is fixed in all affected branches. Georg, can we close it? -- resolution: - fixed stage: - committed/rejected status: open - pending ___ Python tracker

[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think so, yes. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14387 ___

[issue14448] Mention pytz in datetime's docs

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1e5a483248ce by Sandro Tosi in branch '2.7': Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions http://hg.python.org/cpython/rev/1e5a483248ce New changeset a5a0d47e6e78 by

[issue14688] Typos in sorting.rst

2012-04-28 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos peite...@gmail.com: Please see the file attached. -- assignee: docs@python components: Documentation files: sorting.diff keywords: patch messages: 159513 nosy: dk, docs@python priority: normal severity: normal status: open title: Typos in

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Peter Eisentraut
New submission from Peter Eisentraut pete...@gmx.net: The environment variable PYTHONWARNINGS only works with the python interpreter binary, but not with programs embedding libpython. This could be changed by moving the code from Modules/main.c to Python/pythonrun.c. See attached patch

[issue14642] Fix importlib.h build rule to not depend on hg

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As I don't fully understand what the original issue was, I can't know for sure whether it's fixed now. But yes, there is now a mechanism to bring the time stamps in the right order. -- resolution: - fixed status: open - closed

[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0ad724738f6a by Sandro Tosi in branch '2.7': Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut http://hg.python.org/cpython/rev/0ad724738f6a -- nosy: +python-dev

[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Peter: thanks for the patch! -- nosy: +sandro.tosi resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Here my first stab at a comprehensive proposal. Each section represents a specific new function argument, and a list of functions that the argument be added to. All new arguments are keyword-only and optional. All functions mentioned are

[issue14369] make __closure__ writable

2012-04-28 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: sbt, looks good for me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14369 ___ ___

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I fail to see the problem. If the error handler does not produce meaningful results in some context, then just don't use it. The whole point of error handlers is that they handle errors; using them shouldn't ever cause errors/exceptions.

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brett.cannon stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14689 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Well, there is no practical advantage at all. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Please change the priorty of this bug to low. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue14417] dict RuntimeError workaround

2012-04-28 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Still no progress on this bug. Should I just check in my simple patch? But there's much more to do -- docs, and unittests. Volunteers? It's not hard, just work. -- ___ Python tracker

[issue14417] dict RuntimeError workaround

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Still no progress on this bug. Should I just check in my simple patch? But there's much more to do -- docs, and unittests. Volunteers? It's not hard, just work. Well, in general the person writing the patch should also write the tests ;-) I

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: The problem is that surrogatepass specific to utf-8 and there is no standard way to decode alone surrogates in utf-16. \udc80\udc80.encode(utf-16, surrogatepass).decode(utf-16, surrogatepass) Traceback (most recent call last): File

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14626 ___ ___ Python-bugs-list mailing

[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This should have fixed it. If now, someone reopen the issue :) -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 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/issue14689 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Well, if there is no reason for this change, it should be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I see. The proper reaction for a codec that can't handle a certain error then is to raise the original exception. I'm -1 on raising LookupError when trying to find the error handler - this would suggest that the error handler does not

[issue14687] Optimize str%tuple for the PEP 393

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I see sped up +10% on Intel Atom (but 3.2 still 2x fast). With non-ascii arguments speed up can be a little bit larger. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The patch is incorrect, i.e. it deviates from what the command line interface does. When you try to write to sys.stdout, and the characters are not supported you get UnicodeError. Only when it is interactive mode, and tries to represent

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I don't see what the patch worse than the current behavior. Unpatched: ''.join(map(chr, [76, 246, 119, 105, 115])) 'Löwis' ''.join(map(chr, [76, 246, 119, 105, 115, 65536])) 'L\xf6wis\U0001' Patched: ''.join(map(chr, [76, 246, 119,

[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: The bug is no longer there. Probably it is fixed in issue14399. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9239

[issue1760357] ZipFile.write fails with bad modification time

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: An alternative is to use the current time, as for stdin. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1760357 ___

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: Attached a patch that adds description of get_header and header_items methods in Doc/library/urllib.request.rst. -- keywords: +patch nosy: +godfryd Added file: http://bugs.python.org/file25391/doc-urlib-request.patch

[issue13050] RLock support the context manager protocol but this is not documented

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: It looks that it is already documented by 76228:2040842626ba changeset. The bug can be closed. -- nosy: +godfryd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13050

[issue14688] Typos in sorting.rst

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: The changes looks ok. -- nosy: +godfryd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14688 ___

[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: This should have fixed it. If now, someone reopen the issue :) Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14666 ___

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In the case of the Cyrillic alphabet all text becomes unreadable, if there are some non-bmp characters in it. And indeed, that's the correct, desired behavior, as it models what the interactive shell does. If you want to change this,

[issue14570] Document json sort_keys parameter properly

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: In json module there are dump/dumps methods which internally instantiate encoder class JSONEncoder (or some other user-defined encoder clas). They look as follows: json.dump(obj, fp, skipkeys=False, ensure_ascii=True,

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, here is a draft patch for the new importlib. Several issues with this patch: - introduces a pure Python function (_lock_unlock_module) on the fast import path - synchronization issues due to interruptibility of pure Python code (see

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I take that back; the interactive shell uses the backslashescape error handler. Still, I don't think IDLE should setup a displayhook in the first place. What if an application replaces the displayhook? --

[issue14688] Typos in sorting.rst

2012-04-28 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: The first and last change looks fine. -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14688

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Still, I don't think IDLE should setup a displayhook in the first place. What if an application replaces the displayhook? IDLE *is* the application. If another application that uses the idlelib, replace displayhook, it must itself to

[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1739648 ___ ___

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Serhiy, I like to fix tkinter itself, not only IDLE. There are other problems like idle is crashing if non-bmp char will be pasted from clipboard. Moreover, non-bmp behavior is different from one Tk widget to other. I still want to make

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IDLE *is* the application. No, IDLE is the development environment. The application is whatever is being developed with IDLE. -- ___ Python tracker rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I don't understand how the utf-8-bmp codec will help to fix the tkinter. To fix the tkinter, you need to fix the Tcl/Tk, but it is outside of Python. While Tcl does not support non-bmp characters, correct and non-ambiguous working with

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: No, IDLE is the development environment. The application is whatever is being developed with IDLE. If the application replaces the displayhook, than it is the development environment too. --

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-04-28 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13241 ___ ___ Python-bugs-list mailing list

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25393/4ba64ca9abcf.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch gets rid of the reliance on _thread.RLock (uses non-recursive locks instead), and should solve the synchronization issue. Other issues remain. -- Added file: http://bugs.python.org/file25394/module_locks2.patch

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: The proposed patch has been committed as c4dcbe51c2e3 – any reasons why this issues is still open? -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7707

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Documentation -Library (Lib) resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7707

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25393/4ba64ca9abcf.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25395/9a93348e98e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: docs@python - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14427 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25395/9a93348e98e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25254/384190bb0bd5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25396/667541bb315c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: 667541bb315c.diff: Updated patch, last change: is_adjusted key of time.get_clock_info() is now mandatory. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428

[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: I'd be glad to do some code reviews or something in exchange for the time of somebody with commit rights. :-) If anybody is interested in getting this change committed, please let me know and I'll check that the patch is still valid.

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25397/4255e3c4daf2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 76d2e0761d18 by Victor Stinner in branch 'default': Issue #14428, #14397: Implement the PEP 418 http://hg.python.org/cpython/rev/76d2e0761d18 -- nosy: +python-dev ___

[issue14397] Use GetTickCount/GetTickCount64 instead of QueryPerformanceCounter for monotonic clock

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 76d2e0761d18 by Victor Stinner in branch 'default': Issue #14428, #14397: Implement the PEP 418 http://hg.python.org/cpython/rev/76d2e0761d18 -- nosy: +python-dev ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Guido van Rossum accepted the PEP, let's commit the implementation. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428

  1   2   >