[RELEASED] Python 3.3.0 alpha 1

2012-03-05 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

xlutils 1.5.0 released!

2012-03-05 Thread Chris Withers
Hi All, I'm pleased to announce the release of xlutils 1.5.0, featuring the following changes: - Now takes advantage of ragged rows optimisation in xlrd 0.7.3 - Add support for PANE records to xlutils.copy, which means that zoom factors are now copied. The full change log is here:

Re: RotatingFileHandler Fails

2012-03-05 Thread Jean-Michel Pichavant
nac wrote: The RotatingFileHandler running on win 7 64-bit; py 2.7 is failing when the script launches a process using subprocess.Popen. Works fine if the subprocess is not launched The exception thrown Traceback (most recent call last): File C:\Python27\lib\logging\handlers.py, line 78, in

Re: Trying to understand 'import' a bit better

2012-03-05 Thread Jean-Michel Pichavant
Frank Millman wrote: 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.

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

2012-03-05 Thread Jean-Michel Pichavant
youssef.mah...@hotmail.com wrote: 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

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

2012-03-05 Thread Rick Johnson
On Mar 5, 1:12 am, John Salerno johnj...@gmail.com wrote: I can't seem to wrap my head around all the necessary arguments for making a widget expand when a window is resized. You will need to configure the root columns and rows also because the configurations DO NOT propagate up the widget

Re: [Python-Dev] [RELEASED] Python 3.3.0 alpha 1

2012-03-05 Thread Ned Batchelder
On 3/5/2012 2:54 AM, Georg Brandl wrote: 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

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

2012-03-05 Thread Petr Jakes
import Image im=Image.new('L', (100,100)) im=im.convert('1') px=im.load() px[0,0] Thanks, load() method works great. One more question. Finally, I would like to store array in the database. What is the best way to store arrays? Petr --

Re: [RELEASED] Python 3.3.0 alpha 1

2012-03-05 Thread Duncan Booth
Georg Brandl ge...@python.org wrote: For a more extensive list of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html So far as I can see the what's new don't mention that hash randomisation is enabled by default in Python 3.3. I think it would be worth adding something

Re: A Crypto Juniper $9$ secrets library

2012-03-05 Thread Oleg Broytman
Hello! On Sun, Mar 04, 2012 at 10:16:05PM +0100, Julio G?mez wrote: I have developed a Python library which encrypt/decrypt Juniper $9$ secrets. Thank you and welcome to the community! I would like it is part of the common Python libraries and be able to install it through APT, YUM,

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

2012-03-05 Thread John Salerno
You will need to configure the root columns and rows also because the configurations DO NOT propagate up the widget hierarchy! Actually, for this example, I would recommend using the pack geometry manager on the frame. Only use grid when you need to use grid. Never use any functionality

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

2012-03-05 Thread Rick Johnson
On Mar 5, 11:31 am, John Salerno johnj...@gmail.com wrote: Ok, so use pack when putting the frame into the root, since that's all that goes into the root directly. But just out of curiosity, what did I do wrong with using grid? How would it work with grid? If you read my post carefully, i

Re: Is it necessary to call Tk() when writing a GUI app with Tkinter?

2012-03-05 Thread Russell E. Owen
In article 3d0bf288-fa5d-48e5-9529-db92d420a...@1g2000yqv.googlegroups.com, Rick Johnson rantingrickjohn...@gmail.com wrote: On Feb 29, 11:24 pm, Terry Reedy tjre...@udel.edu wrote: On 2/29/2012 10:22 PM, Rick Johnson wrote: PS: I would highly suggest against using the from Tkinter

Error with co_filename when loading modules from zip file

2012-03-05 Thread Bob
Hi, I'm using a program that distributes python in a zip file and ran into an issue with the logging package. It seems to return the wrong filename/line number when loading python from a zip file. Please help! I'm using python31, and have copied the lib directory to /home/user/python3.1 and

xlutils 1.5.1 released!

2012-03-05 Thread Chris Withers
Hi All, xlutils 1.5.1 is out, fixing the usual embarrassing mistake I make when I move projects from Subversion to Git that results in some required non-.py files being omitted. All the details of where to find mailing lists, issue trackers, and the like for xlutils can be found here:

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

2012-03-05 Thread John Salerno
I don't like importing things piecemeal. I suppose I could do: So you prefer to pollute? How bout we just auto import the whole Python stdlib so you can save a few keystrokes? so that's four more constants I'd have to explicitly import. And (tk.N, tk.S, tk.E, tk.W) is just horrible to

Re: Error with co_filename when loading modules from zip file

2012-03-05 Thread Vinay Sajip
On Mar 5, 8:36 pm, Bob b...@brasko.net wrote: The logging package gets the filename and line number of the calling function by looking at two variables, the filename of the frame in the stack trace and the variable logging._srcfile. The comparison is done in logging/__init__.py:findCaller.

State of Python+OpenAL?

2012-03-05 Thread Tim Chase
Hunting around to see if there's any existing work to get 3d audio in Python, I encountered two packages (pyopenal[1] alpy[2]), but both seem sparsely documented if at all and somewhat abandoned. Has anybody used either, or have any pointers on getting up to speed on either? Thanks, -tkc

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

2012-03-05 Thread Steven D'Aprano
On Mon, 05 Mar 2012 14:07:05 -0800, John Salerno quoted: Wah! Stop whining and act like a professional! You complain about qualifying constants but you happily type self until your fingers bleed without even a whimper??? John, it is polite to leave attributions in place when you quote

are int, float, long, double, side-effects of computer engineering?

2012-03-05 Thread Xah Lee
some additional info i thought is relevant. are int, float, long, double, side-effects of computer engineering? Xah Lee wrote: «… One easy way to measure it is whether a programer can read and understand a program without having to delve into its idiosyncrasies. …» Chris Angelico wrote:

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

2012-03-05 Thread John Salerno
On Monday, March 5, 2012 7:10:50 PM UTC-6, Steven D#39;Aprano wrote: On Mon, 05 Mar 2012 14:07:05 -0800, John Salerno quoted: Wah! Stop whining and act like a professional! You complain about qualifying constants but you happily type self until your fingers bleed without even a

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

2012-03-05 Thread Mark Lawrence
On 06/03/2012 01:10, Steven D'Aprano wrote: Which is a pity, because I gather that Rick actually does know Tkinter well. +1. Please Rick less of the Dark Side. :) -- Cheers. Mark Lawrence. -- http://mail.python.org/mailman/listinfo/python-list

Re: are int, float, long, double, side-effects of computer engineering?

2012-03-05 Thread Mark Lawrence
On 06/03/2012 01:11, Xah Lee wrote: some additional info i thought is relevant. are int, float, long, double, side-effects of computer engineering? Whatever you're taking please can I have some? Is it available via an NHS prescription or do I have to go private, or do I go down the pub and

Re: Error with co_filename when loading modules from zip file

2012-03-05 Thread Bob Rossi
On Mon, Mar 05, 2012 at 02:22:55PM -0800, Vinay Sajip wrote: On Mar 5, 8:36 pm, Bob b...@brasko.net wrote: The logging package gets the filename and line number of the calling function by looking at two variables, the filename of the frame in the stack trace and the variable

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

2012-03-05 Thread Rick Johnson
On Mar 5, 7:10 pm, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: John, it is polite to leave attributions in place when you quote somebody. I don't know who you are quoting above, [...] Which is a pity, because I gather that Rick actually does know Tkinter well. My, my.

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

2012-03-05 Thread Mark Lawrence
On 06/03/2012 02:20, Rick Johnson wrote: On Mar 5, 7:10 pm, Steven D'Apranosteve +comp.lang.pyt...@pearwood.info wrote: John, it is polite to leave attributions in place when you quote somebody. I don't know who you are quoting above, [...] Which is a pity, because I gather that Rick actually

Re: RotatingFileHandler Fails

2012-03-05 Thread nac
On Mar 5, 4:27 am, Jean-Michel Pichavant jeanmic...@sequans.com wrote: nac wrote: The RotatingFileHandler running on win 7 64-bit; py 2.7 is failing when the script launches a process using subprocess.Popen. Works fine if the subprocess is not launched The exception thrown Traceback

Re: Error with co_filename when loading modules from zip file

2012-03-05 Thread Bob Rossi
On Mon, Mar 05, 2012 at 02:22:55PM -0800, Vinay Sajip wrote: On Mar 5, 8:36 pm, Bob b...@brasko.net wrote: The logging package gets the filename and line number of the calling function by looking at two variables, the filename of the frame in the stack trace and the variable

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

2012-03-05 Thread Rick Johnson
On Mar 5, 8:33 pm, Mark Lawrence breamore...@yahoo.co.uk wrote: please stick with the Light rather than the Dark Side. You're correct. I need to ignore these negative distractions. Thanks for re-focusing the conversation. -- http://mail.python.org/mailman/listinfo/python-list

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

2012-03-05 Thread Mark Lawrence
On 06/03/2012 02:56, Rick Johnson wrote: On Mar 5, 8:33 pm, Mark Lawrencebreamore...@yahoo.co.uk wrote: please stick with the Light rather than the Dark Side. You're correct. I need to ignore these negative distractions. Thanks for re-focusing the conversation. No problem, but as I've

Re: are int, float, long, double, side-effects of computer engineering?

2012-03-05 Thread Westley Martínez
On Mon, Mar 05, 2012 at 05:11:09PM -0800, Xah Lee wrote: some additional info i thought is relevant. are int, float, long, double, side-effects of computer engineering? Xah Lee wrote: «… One easy way to measure it is whether a programer can read and understand a program without having to

Re: are int, float, long, double, side-effects of computer engineering?

2012-03-05 Thread Tim Roberts
Xah Lee xah...@gmail.com wrote: some additional info i thought is relevant. are int, float, long, double, side-effects of computer engineering? Of course they are. Such concepts violate the purity of a computer language's abstraction of the underlying hardware. We accept that violation

Re: are int, float, long, double, side-effects of computer engineering?

2012-03-05 Thread Xah Lee
On Mar 5, 9:26 pm, Tim Roberts t...@probo.com wrote: Xah Lee xah...@gmail.com wrote: some additional info i thought is relevant. are int, float, long, double, side-effects of computer engineering? Of course they are.  Such concepts violate the purity of a computer language's abstraction

[issue14197] OS X framework builds do not create ABI-suffixed libpython3.x

2012-03-05 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thank you for the additional information. It appears the problem is that, for OS X framework builds, the ABI suffix (added in PEP 3149) is not used to create the shared library dylib name in the framework lib directory. For example, $ cd

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f1441971b621 by Stefan Krah in branch 'default': Issue #14181: Allow memoryview construction from an object that uses the http://hg.python.org/cpython/rev/f1441971b621 -- nosy: +python-dev

[issue14160] TarFile.extractfile fails to extract targets of top-level relative symlinks

2012-03-05 Thread Lars Gustäbel
Changes by Lars Gustäbel l...@gustaebel.de: -- assignee: - lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14160 ___ ___

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I didn't ask for review since in the production code only the assert() line is removed. There are a couple of new tests and I have a private version of test_buffer that runs most tests with an ndarray chain using either redirection or

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

2012-03-05 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: It's an interesting issue. Thanks for the report and patch, Xavier. I am setting patch to needing review. -- keywords: +needs review -patch nosy: +orsenthil versions: +Python 2.7, Python 3.3 ___

[issue14198] Backport parts of the new memoryview documentation

2012-03-05 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: Nick's comment from #10181: It occurs to me that one thing that *could* be backported to early versions are some of the documentation improvements on how to correctly handle the lifecycle of fields in Py_buffer. That gets messy

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 39cc025968f1 by Florent Xicluna in branch 'default': Issue #14007: drop unused TreeBuilder().xml. http://hg.python.org/cpython/rev/39cc025968f1 New changeset 47016103185f by Florent Xicluna in branch 'default':

[issue12151] test_logging fails sometimes

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0457fb8bf39c by Vinay Sajip in branch 'default': Added more diagnostics for diagnosing #12151. http://hg.python.org/cpython/rev/0457fb8bf39c -- ___ Python tracker

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 373f6cdc6d08 by Stefan Krah in branch 'default': Issue #10181: The decision was to raise a buffer error in memory_exit() http://hg.python.org/cpython/rev/373f6cdc6d08 --

[issue14098] provide public C-API for reading/setting sys.exc_info()

2012-03-05 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: Added file: http://bugs.python.org/file24734/pyerr_getexcinfo.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14098 ___

[issue14160] TarFile.extractfile fails to extract targets of top-level relative symlinks

2012-03-05 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: Thanks for the report. Attached is a patch (against 3.2) that is supposed to fix the problem. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file24735/issue14160.diff

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-05 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: For what I saw these days, Parser/tokenizer.c should import warnings.h (in order to use PyErr_WarnEx()), but Python/_warnings.c imports Python.h, that requires pgen ready. This leads to a circular dependency. Am I wrong / missing something?

[issue14144] urllib2 HTTPRedirectHandler not forwarding POST data in redirect

2012-03-05 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Hi Jay Éric, I understand your points and providing an extra argument seems like an idea that could be useful to circumvent , what you see as a problem. The RFC section states that - The action required MAY be carried out by the user

[issue2403] Add figleaf coverage metrics

2012-03-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Adding people interested in code coverage to nosy. -- nosy: +giampaolo.rodola, ncoghlan versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue14144] urllib2 HTTPRedirectHandler not forwarding POST data in redirect

2012-03-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The action required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. By this, I understand, RFC means, for the POST data, the user is made aware

[issue14199] Keep a refence to mro in _PyType_Lookup() and super_getattro()

2012-03-05 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@gmail.com: Lib/test/crashers/losing_mro_ref.py does crash Python: _PyType_Lookup() borrows a reference to the type MRO, but the type MRO is replaced during the lookup. Python crashs because it reads an item from a tuple that was destroyed (in

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Vlastimil Brom
New submission from Vlastimil Brom vlastimil.b...@gmail.com: Hi, while testing python 3.3a1 a bit, especially the new string handling of non-BMP characters, I noticed a problem in Idle in this regard: Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32 ...

[issue12151] test_logging fails sometimes

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a495c41c1e13 by Vinay Sajip in branch 'default': Issue #12151: Added more info to diagnostics. http://hg.python.org/cpython/rev/a495c41c1e13 -- ___ Python tracker

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo, loewis, ned.deily, terry.reedy type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3a1f7c9f0b25 by Stefan Krah in branch 'default': Issue #14181: Test creating memoryviews from a static exporter with both http://hg.python.org/cpython/rev/3a1f7c9f0b25 --

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I'm abusing the issue to settle all concerns that came up on python-dev: The tests added in the latest commit show that it's indeed no problem if an atypical static exporter sets view.obj to NULL. --

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Then I'm abusing this ticket to say: thanks for verifying this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14181 ___

[issue14201] libc.time != libc['time']

2012-03-05 Thread Erik Johansson
New submission from Erik Johansson e...@ejohansson.se: I would expect that the following code would give True as result: from ctypes import * libc = CDLL(libc.so.6) libc.time == libc['time'] False Is it by design that libc['time'] always returns a different _FuncPtr object? It is a bit

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-03-05 Thread sbt
sbt shibt...@gmail.com added the comment: Updated patch addressing Antoine's comments. -- Added file: http://bugs.python.org/file24737/pipe_poll_fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12328

[issue13970] frameobject should not have f_yieldfrom attribute

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 84620bca0e35 by Benjamin Peterson in branch 'default': remove f_yieldfrom access from Python (closes #13970) http://hg.python.org/cpython/rev/84620bca0e35 -- nosy: +python-dev resolution: - fixed stage:

[issue14201] libc.time != libc['time']

2012-03-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14201 ___

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14200 ___ ___ Python-bugs-list mailing

[issue13719] bdist_msi upload fails

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3d1362fa07c3 by Éric Araujo in branch '3.2': Make distutils’ upload command work with bdist_msi products (#13719). http://hg.python.org/cpython/rev/3d1362fa07c3 -- nosy: +python-dev

[issue11379] Remove lightweight from minidom description

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d99c0a4b66f3 by Éric Araujo in branch '3.2': Move xml.etree higher and xml.parsers.expat lower in the markup ToC. http://hg.python.org/cpython/rev/d99c0a4b66f3 -- ___

[issue13719] bdist_msi upload fails

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7671932c98d3 by Éric Araujo in branch '2.7': Make distutils’ upload command work with bdist_msi products (#13719). http://hg.python.org/cpython/rev/7671932c98d3 -- ___

[issue11379] Remove lightweight from minidom description

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fc32753feb0a by Éric Araujo in branch '2.7': Move xml.etree higher and xml.parsers.expat lower in the markup ToC. http://hg.python.org/cpython/rev/fc32753feb0a -- ___

[issue13719] bdist_msi upload fails

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4cfcda9e80cb by Éric Araujo in branch '3.2': Fix NameError from #13719 fix http://hg.python.org/cpython/rev/4cfcda9e80cb New changeset 449c9fc2fc2d by Éric Araujo in branch 'default': Make packaging’ upload command

[issue14201] libc.time != libc['time']

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is intentional; the caching was removed in 214b28d7a999. Thomas, can you remember the rationale for this change? -- nosy: +loewis, theller ___ Python tracker rep...@bugs.python.org

[issue14170] print unicode string error in win8 cmd console

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Victor: why do you think this is a duplicate of #11395? That issue deals with long output strings, which doesn't seem to be the case here. -- ___ Python tracker rep...@bugs.python.org

[issue14202] The docs of xml.dom.pulldom are almost nonexistent

2012-03-05 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: http://docs.python.org/dev/library/xml.dom.pulldom.html embarrassing is the word I wanted to use, but it's too strong for the title ;-) Seriously, this module is part of the stdlib, it should at least have *some* documentation. --

[issue13719] bdist_msi upload fails

2012-03-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Will watch buildbots tomorrow and close if they are OK. Will backport to distutils2 later. -- resolution: - fixed stage: test needed - committed/rejected status: open - pending ___ Python tracker

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: Hi Vlastimil, Can you repeat your test case while running IDLE from the command prompt and report the error you see? python -m idlelib.idle IDLE closes suddenly on Windows because IDLE uses pythonw.exe which has no stdout or stderr.

[issue14170] print unicode string error in win8 cmd console

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Victor: why do you think this is a duplicate of #11395? That issue deals with long output strings, which doesn't seem to be the case here. IOError('[Errno 28] No space left on device') was exactly the #11395 error message. Without

[issue14181] Support getbuffer redirection scheme in memoryview

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9f7d06a9eabe by Stefan Krah in branch 'default': Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do http://hg.python.org/cpython/rev/9f7d06a9eabe --

[issue14170] print unicode string error in win8 cmd console

2012-03-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14170 ___ ___

[issue13637] binascii.a2b_* functions could accept unicode strings

2012-03-05 Thread Luke-Jr
Luke-Jr luke...@users.sourceforge.net added the comment: Has this been fixed in 3.2 yet? Somehow it seems to have been reclassified as an enhancement when it's really a regression. str worked fine in these functions in 3.1. -- nosy: +luke-jr ___

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Vlastimil Brom
Vlastimil Brom vlastimil.b...@gmail.com added the comment: Hi, thanks for the pointer, after invoking idle using python.exe, I don't see the crash mentioned in the report: Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32 Type copyright, credits or license()

[issue12342] characters with ord above 65535 fail to display in IDLE

2012-03-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: In responding to #14200, it occurred to me that better than an exception would be doing what the interpreter does in Command Prompt window, which is expand high chars to '\U0001' escaped form. --

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: On 3.2.2, Win7, the length is 2 and printing in Idle prints a square, as it usually does for chars it cannot print. I presume Tk recognizes surrogate pairs. Printing to the screen should not raise an exception, so the square would be better.

[issue14203] bytearray_getbuffer: unnecessary code

2012-03-05 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: bytearray_getbuffer() checks for view==NULL. But this has never been allowed: PEP: The second argument is the address to a bufferinfo structure. Both arguments must never be NULL. DOCS (3.2): view must point to an existing

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-03-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 75c27daa592e by Antoine Pitrou in branch 'default': Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows. http://hg.python.org/cpython/rev/75c27daa592e --

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2012-03-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed, thanks! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12328

[issue14203] bytearray_getbuffer: unnecessary code

2012-03-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: array_buffer_getbuf does a similar thing: if (view==NULL) goto finish; finish: self-ob_exports++; // ??? return 0 Where does this view==NULL thing come from? -- ___ Python

[issue13860] PyBuffer_FillInfo() return value

2012-03-05 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- dependencies: +bytearray_getbuffer: unnecessary code ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13860 ___

[issue14203] bytearray_getbuffer: unnecessary code

2012-03-05 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I seems to be a feature to get a lock on an exporter without the exporter filling in a buffer. It was there from the beginning: http://svn.python.org/view/python/branches/release30-maint/Objects/bytearrayobject.c?r1=56849r2=57181 Last

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
New submission from Colin Marc colinm...@gmail.com: Recent versions of OpenSSL (1.0.1 and greater) support a new extension to SSL/TLS called Next Protocol Negotiation, defined here: http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02. The extension allows servers and clients to

[issue13719] bdist_msi upload fails

2012-03-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Buildbots fail when calling listdir; will try to fix this or revert tomorrow. Help would be appreciated. -- status: pending - open ___ Python tracker rep...@bugs.python.org

[issue14170] print unicode string error in win8 cmd console

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IOError('[Errno 28] No space left on device') was exactly the #11395 error message. I read that report differently: IOError: [Errno 12] Not enough space ENOMEM != ENOSPC -- ___ Python

[issue14205] Raise an error if a dict is modified during a lookup

2012-03-05 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@gmail.com: Lib/test/crashers/nasty_eq_vs_dict.py does crash Python because of an infinite loop in the dictionary lookup. The script modifies the dictionary at each lookup, whereas Python tries a new lookup each time that the dictionary is

[issue14205] Raise an error if a dict is modified during a lookup

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Another possibility is to avoid the modification of a dictionary during a lookup: nomodify.patch. -- Added file: http://bugs.python.org/file24741/nomodify.patch ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: There is zero chance that this can go into 2.7. So if you want to see it included, please port it to Python 3, and it may become part of Python 3.3 or 3.4. -- nosy: +loewis versions: +Python 3.3 -Python 2.7

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
Colin Marc colinm...@gmail.com added the comment: If I ported it to 3.3 or 3.4, would it then be backported to 2.7? Or is there zero chance of that either? If so, why? I apologize, I'm new to the process. -- ___ Python tracker rep...@bugs.python.org

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: If I ported it to 3.3 or 3.4, would it then be backported to 2.7? Or is there zero chance of that either? If so, why? I apologize, I'm new to the process. It won't be backported. Python 2.7 is in bug-fix mode; no new features are allowed

[issue14133] improved PEP 409 implementation

2012-03-05 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Now with implicit setting of __suppress_context__! -- Added file: http://bugs.python.org/file24742/pep415.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14133

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hello Marc, Recent versions of OpenSSL (1.0.1 and greater) support a new extension to SSL/TLS called Next Protocol Negotiation, defined here: http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02. Apparently this is an IETF draft. Do you

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
Colin Marc colinm...@gmail.com added the comment: Re the IETF draft: I'm not sure. However, I didn't actually have to implement the specification at all - that was all handled by OpenSSL. My patch just calls the appropriate SSL_CTX_* methods. Thanks for the tip. I'm still interested in this

[issue14205] Raise an error if a dict is modified during a lookup

2012-03-05 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14205 ___ ___ Python-bugs-list

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Alexander: No complain if I remove _time.c? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14180 ___

[issue6715] xz compressor support

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Why is this issue still open? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue14071] allow more than one hash seed per process (move _Py_HashSecret into PyInterpreterState)

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: I close the issue as wontfix because of technical issues. Reopen it if you have an idea to solve them. -- resolution: - wont fix status: open - closed ___ Python tracker

[issue2403] Add figleaf coverage metrics

2012-03-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: The devguide reports a long section about code convering cpython: http://docs.python.org/devguide/coverage.html . It uses Ned's coverege.py and has a lot of details about how to use it and how to generate nice reports out of it. do we need

[issue7652] Merge C version of decimal into py3k.

2012-03-05 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: How can I help to integrate this module into CPython? The test suite pass in debug and release mode without any failure on my Linux box (64 bits, running Ubuntu 11.10). -- ___ Python

  1   2   >