ANN: RPyC v3.2.1

2012-03-04 Thread Tomer Filiba
RPyC (Remote Python Call) is a transparent and symmetric RPC library for python 2.4-3.2. The latest release, 3.2.1 is a maintenance release that solves many issues concerning Python 3 compatibility. Details: http://tomerfiliba.com/blog/RPyC-3.2.1/ Site: http://rpyc.sourceforge.net Download:

Trying to understand 'import' a bit better

2012-03-04 Thread Frank Millman
Hi all I have been using 'import' for ages without particularly thinking about it - it just works. Now I am having to think about it a bit harder, and I realise it is a bit more complicated than I had realised - not *that* complicated, but there are some subtleties. I don't know the correct

Jython callable. How?

2012-03-04 Thread Sirotin Roman
Hi. How exactly jython decides is object callable or not? I defined __call__ method but interpreter says it's still not callable. BTW, my code works in cpython -- http://mail.python.org/mailman/listinfo/python-list

Re: Jython callable. How?

2012-03-04 Thread Arnaud Delobelle
On Mar 4, 2012 9:04 AM, Sirotin Roman web.elektro@gmail.com wrote: Hi. How exactly jython decides is object callable or not? I defined __call__ method but interpreter says it's still not callable. BTW, my code works in cpython It will help if you show us the code. -- Arnaud --

Re: Jython callable. How?

2012-03-04 Thread Steven D'Aprano
On Sun, 04 Mar 2012 16:03:56 +0700, Sirotin Roman wrote: Hi. How exactly jython decides is object callable or not? I defined __call__ method but interpreter says it's still not callable. BTW, my code works in cpython Works for me. steve@runes:~$ jython *sys-package-mgr*: processing modified

How to convert simple B/W graphic to the dot matrix for the LED display/sign

2012-03-04 Thread Petr Jakes
I would like to convert simple B/W graphic to the 432x64 pixel matrix. It is intended to display this graphic on the one color LED matrix sign/display (432 LEDs width, 64 LEDs height). I am experimenting with the PIL, but I did not find solution there. It will be really helpful If somebody here

Re: How to convert simple B/W graphic to the dot matrix for the LED display/sign

2012-03-04 Thread Steven D'Aprano
On Sun, 04 Mar 2012 02:28:16 -0800, Petr Jakes wrote: I would like to convert simple B/W graphic to the 432x64 pixel matrix. It is intended to display this graphic on the one color LED matrix sign/display (432 LEDs width, 64 LEDs height). I am experimenting with the PIL, but I did not find

Re: A possible change to decimal.Decimal?

2012-03-04 Thread A. Lloyd Flanagan
On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote: Jeff Beardsley wrote: HISTORY: ... What you should be doing is: import decimal from decimal import Decimal reload(decimal) Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded code) ~Ethan~

Re: How to convert simple B/W graphic to the dot matrix for the LED display/sign

2012-03-04 Thread Petr Jakes
What file format is the graphic in? How big is it? What file format do you want it to be? Now, I am able to create the png file with the resolution 432x64 using PIL (using draw.text method for example). I would like to get the 432x64 True/False (Black/White) lookup table from this file, so

Re: Porting Python to an embedded system

2012-03-04 Thread Stefan Behnel
Justin Drake, 04.03.2012 11:58: I am working with an ARM Cortex M3 on which I need to port Python (without operating system). What would be my best approach? I just need the core Python and basic I/O. The without operating system bit should prove problematic. Can't you just install Linux on

Re: Porting Python to an embedded system

2012-03-04 Thread Devin Jeanpierre
On Sun, Mar 4, 2012 at 5:58 AM, Justin Drake drakefjus...@gmail.com wrote: I am working with an ARM Cortex M3 on which I need to port Python (without operating system). What would be my best approach? I just need the core Python and basic I/O. How much time are you willing to budget to this?

Re: Porting Python to an embedded system

2012-03-04 Thread TheSeeker
On Sunday, March 4, 2012 4:58:50 AM UTC-6, Justin Drake wrote: I am working with an ARM Cortex M3 on which I need to port Python (without operating system). What would be my best approach? I just need the core Python and basic I/O. The python-on-a-chip project (p14p)

Re: How to convert simple B/W graphic to the dot matrix for the LED display/sign

2012-03-04 Thread Max Erickson
Petr Jakes petr.jakes@gmail.com wrote: What file format is the graphic in? How big is it? What file format do you want it to be? Now, I am able to create the png file with the resolution 432x64 using PIL (using draw.text method for example). I would like to get the 432x64

Re: Jython callable. How?

2012-03-04 Thread Sirotin Roman
Perhaps if you show us what you actually do, and what happens, we might be able to tell you what is happening. Please COPY AND PASTE the full traceback. Here is my code: # Trying to make callable staticmethod class sm(staticmethod): def __call__(self, *args, **kwargs): I know here

Re: The original command python line

2012-03-04 Thread Grant Edwards
On 2012-03-04, Chris Rebert c...@rebertia.com wrote: On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski gdam...@gmail.com wrote: How can I get the *really* original command line that started my python interpreter? On Linux, you can read from: /proc/PID here/cmdline to get the

AttributeError: 'module' object has no attribute 'logger'

2012-03-04 Thread youssef . mahdia
hi all, when installing sage, there is a problem with emacs.py so, this screen appeared after rynning ./sage -- | Sage Version 4.4.2, Release Date: 2010-05-19 | | Type notebook() for the GUI, and license()

Re: A possible change to decimal.Decimal?

2012-03-04 Thread Ethan Furman
A. Lloyd Flanagan wrote: On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote: Jeff Beardsley wrote: HISTORY: ... What you should be doing is: import decimal from decimal import Decimal reload(decimal) Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded

Re: A possible change to decimal.Decimal?

2012-03-04 Thread Ethan Furman
Jeff Beardsley wrote: The problem with that though: I am not calling reload(), except to recreate the error as implemented by the web frameworks. I am also unlikely to get a patch accepted into several different projects, where this is ONE project, and it's a simple change Simple -- maybe.

RE: Python - CGI-BIN - Apache Timeout Problem

2012-03-04 Thread Sean Cavanaugh (scavanau)
Thanks Chris, I isolated it using logging import logging logging.basicConfig(filename=test3.log, level=logging.INFO) then logging.info('sniffer got to point A') and going through my code until I isolated the problem to a function with scapy called sniff. For some reason this function

python25.dll

2012-03-04 Thread Scott V
I don't know if anyone has sent this in before. I loaded the current version of Python on my computer to learn the programming and, I believe, it helps my Blender to work. Anyway, occassionally, I get an error on the screen, before I have started running programs, that states python25.dll

Re: Adopting ‘lockfile’

2012-03-04 Thread Chris Withers
On 03/03/2012 21:43, Ben Finney wrote: I don't see a need to horse around with Git either :-) It's currently in Subversion, right? Can you not export the VCS history from Google Code's Subversion repository to a ‘fastimport’ stream? Maybe someone with experience on that site can help us.

Is this the right location to launch IDLE?

2012-03-04 Thread John Salerno
I'm trying to get Notepad++ to launch IDLE and run the currently open file in IDLE, but all my attempts have failed so far. I'm wondering, am I even using the IDLE path correctly? I'm using this: C:\Python32\Lib\idlelib\idle.pyw $(FULL_CURRENT_PATH) (That last part puts in the full path to the

Parse cisco's show ip route output in Python 2.7

2012-03-04 Thread Antgoodlife
Hi All, Long time reader, first time poster. I'm trying to parse the output of the SHOW IP ROUTE command from a cisco router (It's a 3800 Series IOS 12.4 although almost all should have same output format) and put it into a CSV format to import into a database or spreadsheet. While we of course

Re: Parse cisco's show ip route output in Python 2.7

2012-03-04 Thread Dan Stromberg
I've done little with Ciscos, but what if you use individual things like show ip ospf, show ip rip database, etc. instead of show ip route. Does that makes things a little more consistent? Often big problems are simpler if we can divide them into smaller, more manageable subproblems. On Sun,

Re: How do you use the widgets in tkinter.ttk if you want to import tkinter as tk?

2012-03-04 Thread Rick Johnson
On Mar 2, 11:06 pm, John Salerno johnj...@gmail.com wrote: I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a little annoying. Your complaint is justified. The Tkinter API is a disgrace. IDLE's source is just as bad. Luckily i have not made the jump to py3000 full-

[FIXED] Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion

2012-03-04 Thread Ned Deily
A followup to a thread in 2011-12. In article nad-d24d39.01420521122...@news.gmane.org, Ned Deily n...@acm.org wrote: In article franck-fc679d.13562020122...@news.free.fr, Franck Ditter fra...@ditter.org wrote: In article mailman.3825.1324322364.27778.python-l...@python.org, Ned Deily

Re: Buffering in Wing and IDLE 3

2012-03-04 Thread Ned Deily
In article jgcikg$lhe$1...@dont-email.me, Kevin Walzer k...@codebykevin.com wrote: On 2/1/12 3:01 PM, Terry Reedy wrote: On 2/1/2012 10:17 AM, Franck Ditter wrote: I would prefer to use IDLE but as we are in France, the Python team does not seem to be aware that the ~ and others are not

Re: How do you use the widgets in tkinter.ttk if you want to import tkinter as tk?

2012-03-04 Thread Kevin Walzer
On 3/3/12 12:06 AM, John Salerno wrote: I suppose the 'advantage' of this is that it will replace tk widgets with equivalent ttk widgets, if they exist and have the same name. I believe one has to program them differently, however, so the replacement cannot be transparent and one mush know

Re: How do you use the widgets in tkinter.ttk if you want to import tkinter as tk?

2012-03-04 Thread Westley Martínez
On Sun, Mar 04, 2012 at 05:39:27PM -0800, Rick Johnson wrote: On Mar 2, 11:06 pm, John Salerno johnj...@gmail.com wrote: I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a little annoying. Your complaint is justified. The Tkinter API is a disgrace. IDLE's source

Re: Porting Python to an embedded system

2012-03-04 Thread 88888 Dihedral
On Sunday, March 4, 2012 6:58:50 PM UTC+8, Justin Drake wrote: I am working with an ARM Cortex M3 on which I need to port Python (without operating system). What would be my best approach? I just need the core Python and basic I/O. Sounds like the JVM law suites in ANDROINDS did stimulate a

Re: Porting Python to an embedded system

2012-03-04 Thread Dan Stromberg
You might check out pymite. http://wiki.python.org/moin/PyMite Oh, but I'm now realizing that's part of the python on a chip project, so in a way it's already been mentioned. Anyway, PyMite, I gather, is a tiny python for microcontrollers. On Sun, Mar 4, 2012 at 2:58 AM, Justin Drake

Re: Is this the right location to launch IDLE?

2012-03-04 Thread Chris Rebert
On Sun, Mar 4, 2012 at 3:07 PM, John Salerno johnj...@gmail.com wrote: I'm trying to get Notepad++ to launch IDLE and run the currently open file in IDLE, but all my attempts have failed so far. I'm wondering, am I even using the IDLE path correctly? I'm using this:

Re: Is this the right location to launch IDLE?

2012-03-04 Thread John Salerno
Unfortunately neither method worked. Adding -r to the path created this error when I tried it: *** Error in script or command! Traceback (most recent call last): File C:\Users\John\Documents\Python Scripts\chess_pieces.py, line 1 class ChessPiece: ^ SyntaxError: invalid

Re: Is this the right location to launch IDLE?

2012-03-04 Thread Chris Rebert
On Sun, Mar 4, 2012 at 7:51 PM, John Salerno johnj...@gmail.com wrote: Unfortunately neither method worked. Adding -r to the path created this error when I tried it: *** Error in script or command! Traceback (most recent call last):  File C:\Users\John\Documents\Python

Re: Is this the right location to launch IDLE?

2012-03-04 Thread John Salerno
That would be a Notepad++ problem. That  gibberish is what you get when a Unicode BOM (Byte Order Mark) character is encoded as UTF-8 but decoded as ISO-8859-1 or CP-1252. A BOM is not recommended for UTF-8 text; there should be some setting in Notepad++ to suppress it. You are my new

Re: How do you use the widgets in tkinter.ttk if you want to import tkinter as tk?

2012-03-04 Thread John Salerno
On Sunday, March 4, 2012 7:39:27 PM UTC-6, Rick Johnson wrote: On Mar 2, 11:06 pm, John Salerno johnj...@gmail.com wrote: I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a little annoying. Your complaint is justified. The Tkinter API is a disgrace. IDLE's

Tkinter: Why aren't my widgets expanding when I resize the window?

2012-03-04 Thread John Salerno
I can't seem to wrap my head around all the necessary arguments for making a widget expand when a window is resized. I've been following along with a tutorial and I feel like I'm doing everything it said, but I must be missing something. Here's what I have. What I expect is that when I resize

[RELEASED] Python 3.3.0 alpha 1

2012-03-04 Thread Georg Brandl
On behalf of the Python development team, I'm happy to announce the first alpha release of Python 3.3.0. This is a preview release, and its use is not recommended in production settings. Python 3.3 includes a range of improvements of the 3.x series, as well as easier porting between 2.x and

[issue14140] packaging tests: add helpers to create and inspect a tree of files

2012-03-04 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14140 ___ ___

[issue14128] _elementtree should expose types and factory functions consistently with ElementTree

2012-03-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: An aside: Your commit made me realize that ET tests use monkey-patching instead of now more common idioms like using support.import_fresh_module and using subclasses to run the same tests for a Python and a C module. There is also a doctest

[issue14188] Sharing site-packages between Apply and python.org builds breaks extensions

2012-03-04 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14188 ___ ___

[issue14128] _elementtree should expose types and factory functions consistently with ElementTree

2012-03-04 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, The tests *do* use import_fresh_module, actually. Moreover, while monkeypatching exists it's rather limited (just setting the module name for test_main). The biggest problem with these tests is that they're based on doctest, which

[issue14128] _elementtree should expose types and factory functions consistently with ElementTree

2012-03-04 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, The tests *do* use import_fresh_module, actually. Moreover, while monkeypatching exists it's rather limited (just setting the module name for test_main). The biggest problem with these tests is that they're based on doctest, which

[issue14128] _elementtree should expose types and factory functions consistently with ElementTree

2012-03-04 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- Removed message: http://bugs.python.org/msg154883 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14128 ___

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14190 ___ ___ Python-bugs-list

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Baruch Sterin
Baruch Sterin pyt...@bsterin.com added the comment: A few additional ones: The prototype in the documentation is incorrect: * PyFile_SetEncoding accepts PyObject*, not PyFileObject* * PyFile_SetEncodingAndErrors accepts PyObject*, not PyFileObject* PyLong_AsSsize_t is also duplicated.

[issue14188] Sharing site-packages between Apple and python.org builds breaks extensions

2012-03-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: open - pending title: Sharing site-packages between Apply and python.org builds breaks extensions - Sharing site-packages between Apple and python.org builds breaks extensions ___ Python tracker

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Redoute
New submission from Redoute redo...@tortenboxer.de: When running a python script from windows command line (cmd.exe) and redirecting its output, stdout.encoding is set to None and printing non-ascii chars fails. Encoding should be the same as without redirecting. Example: [Code unictest.py] #

[issue14188] Sharing site-packages between Apple and python.org builds breaks extensions

2012-03-04 Thread Barry Alan Scott
Barry Alan Scott barry-sc...@users.sourceforge.net added the comment: I have wxPython installed. Uninstalling it changes the order of sys.path to this: ['', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',

[issue14183] Test coverage for packaging.install and packaging.pypi.wrapper

2012-03-04 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: I've updated the patch. Let me know if something has to be changed. -- Added file: http://bugs.python.org/file24727/issue14183_fbb9847b8f43.patch ___ Python tracker rep...@bugs.python.org

[issue14179] Test coverage for lib/re.py

2012-03-04 Thread Florian M
Changes by Florian M florian.mladit...@googlemail.com: Added file: http://bugs.python.org/file24728/re_coverage.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14179 ___

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: That is impossible to implement. When outputting to a terminal window, the terminal's encoding is queried and used. When the Python script is run on its own, there may not even exist a terminal encoding. In any case, this issue is resolved

[issue13183] pdb skips frames after hitting a breakpoint and running step

2012-03-04 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: This message is just a reminder that this 4 months old issue raises the point that the step command in pdb is broken. A patch and test case have been proposed. No comment so far. As the author of pyclewn, a Vim front end to pdb and gdb, I

[issue14193] broken link on PEP 385

2012-03-04 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: The pymigr link on pep385 is broken. -- assignee: docs@python components: Documentation messages: 154890 nosy: docs@python, tshepang priority: normal severity: normal status: open title: broken link on PEP 385

[issue14193] broken link on PEP 385

2012-03-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in 636320b98756. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14193

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Redoute
Redoute redo...@tortenboxer.de added the comment: Martin, thanks for your response. I have to take it, although I am not really convinced. The system codepage probably differs from the console codepage (here 1152 vs. 850). Print statements on the other hand are typical for console programs.

[issue14166] private dispatch table for picklers

2012-03-04 Thread sbt
sbt shibt...@gmail.com added the comment: I don't understand the following code: ... since self.dispatch_table is a property returning self._dispatch_table. Did you mean type(self).dispatch_table? More or less. That code was a botched attempt to match the behaviour of the C

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-03-04 Thread sbt
sbt shibt...@gmail.com added the comment: Hmm, I tried to apply the latest patch to the default branch and it failed. It also seems the patch was done against a changeset (508bc675af63) which doesn't exist in the repo... I will do an updated patch against a public changeset. (I usually

[issue14194] typo in pep414

2012-03-04 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: in pep414: in additional to -- in addition to -- messages: 154895 nosy: tshepang priority: normal severity: normal status: open title: typo in pep414 ___ Python tracker

[issue14194] typo in pep414

2012-03-04 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14194 ___

[issue14194] typo in pep414

2012-03-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed, thanks. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14194 ___

[issue14166] private dispatch table for picklers

2012-03-04 Thread sbt
sbt shibt...@gmail.com added the comment: Updated patch with docs. -- Added file: http://bugs.python.org/file24729/pickle_dispatch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14166

[issue14192] stdout.encoding not set when redirecting windows command line output

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I have to take it, although I am not really convinced. The system codepage probably differs from the console codepage (here 1152 vs. 850). Print statements on the other hand are typical for console programs. Calling python.exe (vs.

[issue13704] Random number generator in Python core

2012-03-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Demoting from release blocker since the hash collision issue got remedied differently. If this is not needed anymore, please close. -- priority: release blocker - normal ___ Python tracker

[issue12346] Python source code build fails with old mercurial

2012-03-04 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Is there anything left to do here? It doesn't appear to be a release blocker anymore. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12346

[issue14188] Sharing site-packages between Apple and python.org builds breaks extensions

2012-03-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14188 ___ ___ Python-bugs-list mailing

[issue14166] private dispatch table for picklers

2012-03-04 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f7a9a10ae0c0 by Antoine Pitrou in branch 'default': Issue #14166: Pickler objects now have an optional `dispatch_table` attribute which allows to set custom per-pickler reduction functions.

[issue14166] private dispatch table for picklers

2012-03-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've replaced occurrences of pickle.Pickler with self.pickler_class in the tests. Otherwise, the patch looks perfect and I've now committed it. Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open -

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-03-04 Thread sbt
sbt shibt...@gmail.com added the comment: Updated patch against 2822765e48a7. -- Added file: http://bugs.python.org/file24730/pipe_poll_fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12328

[issue13704] Random number generator in Python core

2012-03-04 Thread Christian Heimes
Christian Heimes li...@cheimes.de added the comment: Yes, this ticket can be closed unless there is an interest to include the PRNG in the core. -- resolution: - out of date status: open - pending ___ Python tracker rep...@bugs.python.org

[issue1040439] Missing documentation on how to link with libpython

2012-03-04 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, go ahead :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1040439 ___ ___

[issue14190] Minor C API documentation bugs

2012-03-04 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- keywords: +easy versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14190 ___

[issue13704] Random number generator in Python core

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is indeed out-of-date. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13704 ___

[issue14176] Fix unicode literals

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I propose to close this issue as invalid (although out-of-date might be fine as well). Jean-Michel is apparently unable to describe what issue *precisely* he wants to see fixed, rather than just complaining that open source is a disaster.

[issue14171] warnings from valgrind about openssl as used by CPython

2012-03-04 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9a69b47f194e by Martin v. Löwis in branch 'default': Issue #14171: Add valgrind suppressions for OpenSSL issue. http://hg.python.org/cpython/rev/9a69b47f194e -- nosy: +python-dev

[issue14171] warnings from valgrind about openssl as used by CPython

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It may indeed be that recompiling OpenSSL properly could fix this. I added this anyway since it probably doesn't cause harm. Thanks for the patch. -- resolution: - fixed status: open - closed

[issue14195] WeakSet has ordering relations wrong

2012-03-04 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: a = weakref.WeakSet() a a True a a True -- components: Library (Lib) messages: 154910 nosy: pitrou priority: normal severity: normal stage: needs patch status: open title: WeakSet has ordering relations wrong type: behavior

[issue1508475] transparent gzip compression in urllib

2012-03-04 Thread Evgeny Kapun
Changes by Evgeny Kapun abacabadabac...@gmail.com: -- nosy: +abacabadabacaba ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1508475 ___ ___

[issue14168] Bug in minidom 3.3 after optimization patch

2012-03-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Instead of calling _ensure_attributes (which creates the attribute dictionaries), getAttribute should return immediately if there are no attributes at all, to avoid creating those dictionaries. I'll do a patch shortly, unless somebody

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I have taken a look at the latest code again, and I'm worried that import.c still has large chunks of code dealing with module finding and loading. These functionalities should be redirected to the corresponding importlib code instead.

[issue13719] bdist_msi upload fails

2012-03-04 Thread Ralf Schmitt
Ralf Schmitt python-b...@systemexit.de added the comment: sorry, I'm currently short on time and don't use windows at the moment. bdist_msi runs without user interaction. just let the buildbots test it. -- ___ Python tracker rep...@bugs.python.org

[issue14144] urllib2 HTTPRedirectHandler not forwarding POST data in redirect

2012-03-04 Thread Jay Deiman
Jay Deiman ad...@splitstreams.com added the comment: I have no problem making doc and test changes. I'll probably need a pointer as to where these changes need to be made and submitted to, but like you said, I'll wait until the patch is accepted before doing that. --

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-04 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Yes, the import related C API should be turned into a mere wrapper around the appropriate importlib code wherever possible. I don't think that needs to be a gating criteria for the initial commit, though. --

[issue14196] Unhandled exceptions in pdb return value display

2012-03-04 Thread Simon Chopin
New submission from Simon Chopin chopin.si...@gmail.com: This issue occurred at least in Python 2.7, I haven't checked in other versions. When stepping on a return statement, pdb calls the return value __str__() method to display it at the end of the line. Only, it doesn't handle the

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't think that needs to be a gating criteria for the initial commit, though. I think it should, otherwise we will end up in a situation worse than currently (we will have two competing default implementations of import, depending which API

[issue14195] WeakSet has ordering relations wrong

2012-03-04 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Ouch, WeakSet.__lt__ and WeakSet.__gt__ are defined in terms of set.issubset and set.issuperset, respectively. set.issubset and set.issuperset are *not* proper subset and superset operations, thus the error. The attached patch fixes this.

[issue14195] WeakSet has ordering relations wrong

2012-03-04 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: +1 thanks for fixing this -- nosy: +rhettinger priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14195

[issue14195] WeakSet has ordering relations wrong

2012-03-04 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4b3f1decb1af by Meador Inge in branch '2.7': Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. http://hg.python.org/cpython/rev/4b3f1decb1af New changeset 5b88475aae96 by Meador Inge in branch '3.2':

[issue14195] WeakSet has ordering relations wrong

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14195 ___

[issue14189] Documentation for some C APIs is missing clear specification of the type of reference they return

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14189 ___ ___ Python-bugs-list

[issue14184] test_recursion_limit fails on OS X when compiled with clang

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14184 ___ ___ Python-bugs-list

[issue13951] Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14181 ___ ___ Python-bugs-list

[issue14197] MacOS10.7 compiled uWSGI the issue.

2012-03-04 Thread shibingli
New submission from shibingli shibin...@gmail.com: Artificial libpython3.2.a soft links to libpython3.2m.a -- components: None messages: 154921 nosy: shibingli priority: normal severity: normal status: open title: MacOS10.7 compiled uWSGI the issue. type: compile error versions: Python

[issue14169] compiler.compile fails on if statement in attached file

2012-03-04 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14169 ___ ___ Python-bugs-list

[issue14144] urllib2 HTTPRedirectHandler not forwarding POST data in redirect

2012-03-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I have no problem making doc and test changes. I'll probably need a pointer as to where these changes need to be made Great! I think the right test file is Lib/test/test_urllib2.py (the test files were not renamed in Python 3 when some

[issue14197] MacOS10.7 compiled uWSGI the issue.

2012-03-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Sorry, can you explain better what problem you are seeing including specific error messages? -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14197

[issue11379] Remove lightweight from minidom description

2012-03-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This alternate version of my patch (a) merges the first two paragraphs to make the intro less redundant and heavy, and (b) reorganizes a bit the list of modules in Doc/library/markup.rst to have xml.etree first and pyexpat (less interesting for

[issue14197] MacOS10.7 compiled uWSGI the issue.

2012-03-04 Thread shibingli
shibingli shibin...@gmail.com added the comment: Use the Mac OS 10.7 compiler uWSGI Makefile.Py32 (make-f), will report a compile error. Information in the annex.Artificially will the soft libpython3.2.a / Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/config-3.2m under

[issue14197] MacOS10.7 compiled uWSGI the issue.

2012-03-04 Thread shibingli
shibingli shibin...@gmail.com added the comment: Has been revised to permit BUG Description 在 2012-3-5,下午1:18, Ned Deily 写道: Ned Deily n...@acm.org added the comment: Sorry, can you explain better what problem you are seeing including specific error messages? -- nosy:

  1   2   >