[issue16865] ctypes arrays >=2GB in length causes exception

2013-01-04 Thread Jeffrey Bush
Jeffrey Bush added the comment: I mean using signed integers currently. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16865] ctypes arrays >=2GB in length causes exception

2013-01-04 Thread Ezio Melotti
Ezio Melotti added the comment: If it works elsewhere and/or it's documented to work, then it might indeed considered a bug. Maybe someone more familiar with ctype can comment. -- ___ Python tracker _

[issue16843] sporadic test_sched failure

2013-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 for the deterministic version. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16865] ctypes arrays >=2GB in length causes exception

2013-01-04 Thread Jeffrey Bush
Jeffrey Bush added the comment: Okay, so I tested in Linux (CentOS 6.3) which has Python 2.6.6 64-bit. It works. So the Windows 2.7.3 64-bit version is bugged. I was able to perform the c_char * long(32*1024*1024*1024) [the highest value I tried] and it worked fine. The Linux machine I tested

[issue16865] ctypes arrays >=2GB in length causes exception

2013-01-04 Thread Meador Inge
Meador Inge added the comment: This case works fine on 64-bit Linux (Ubuntu) and OS X 10.7.5. I suspect this is due to the fact that 64-bit Windows uses the LLP64 data model and we are using longs somewhere. I am investigating further now. -- stage: -> needs patch versions: +Python

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset fdc894d44d82 by Ezio Melotti in branch '2.7': #13094: add Programming FAQ entry about the behavior of closures. http://hg.python.org/cpython/rev/fdc894d44d82 New changeset 02933454b7ce by Ezio Melotti in branch '3.2': #13094: add Programming FAQ ent

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the review! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2013-01-04 Thread vyrus
Changes by vyrus : -- nosy: +loewis, vyrus ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8109] Server-side support for TLS Server Name Indication extension

2013-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch after Daniel's comments. -- Added file: http://bugs.python.org/file28568/sni2.patch ___ Python tracker ___

[issue9242] unicodeobject.c: use of uninitialized values

2013-01-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue10156] Initialization of globals in unicodeobject.c

2013-01-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2013-01-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: It would be good if a) the patch was against hg default b) it had tests -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue6715] xz compressor support

2013-01-04 Thread Peter
Peter added the comment: Apologies again for the noise, but I've just made the first public release of the lzma backport at http://pypi.python.org/pypi/backports.lzma/ with the repository as mentioned before at https://github.com/peterjc/backports.lzma I have tested this on Python 2.6, 2.7 and

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this is really an 'enhancement', it will only go in 3.4. If it is a bug/behavior issue, then it should be marked as such and 2.7,3.2,3.3 selected. I have not read the doc and messages well enough to know, so I leave that to you and Benjamin. The patch incl

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2013-01-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: I left comments on Rietveld a few days ago. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue812369] module shutdown procedure based on GC

2013-01-04 Thread Nick Coghlan
Nick Coghlan added the comment: In addition to the problem Neil noted with references in extension modules keeping module objects themselves alive, Antoine recently noted that the other major challenge is the reference cycles between module global dictionaries and their contents. As soon as a

[issue16808] inspect.stack() should return list of named tuples

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should a test be added to or changed in test_inspect? Line 163 has a test_stack method that calls inspect.stack. -- nosy: +terry.reedy ___ Python tracker _

[issue16808] inspect.stack() should return list of named tuples

2013-01-04 Thread Meador Inge
Meador Inge added the comment: I suppose asserting the type wouldn't hurt, but I don't consider it that important: --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -164,12 +164,16 @@ class TestInterpreterStack(IsTestBase): self.assertTrue(len(mod.st) >= 5) self

[issue16823] Python crashes on running tkinter code with threads

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: What you are doing appears to be unsupported (invalid). From http://www.astro.washington.edu/users/rowen/TkinterSummary.html "all Tkinter access must be from the main thread (or more precisely, from the thread that calls the mainloop). Violating this is likely to

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since there is no 'print filename' command on the menu, I am guessing that this is about 'File/Print Window' where the window is an edit window for a file with spaces in the name. In any case, on Win7 3.3 this worked fine for 'tem with space.py' except that .p

[issue16866] libainstall doesn't create all directories

2013-01-04 Thread Benno Leslie
New submission from Benno Leslie: make libainstall fails when $(BINDIR) does not exist. -- components: Build files: ainstall.diff keywords: patch messages: 179103 nosy: bennoleslie priority: normal severity: normal status: open title: libainstall doesn't create all directories type: comp

[issue16866] libainstall doesn't create $(BINDIR) directory

2013-01-04 Thread Benno Leslie
Changes by Benno Leslie : -- title: libainstall doesn't create all directories -> libainstall doesn't create $(BINDIR) directory ___ Python tracker ___ _

[issue16867] setup.py fails if there are no extensions

2013-01-04 Thread Benno Leslie
New submission from Benno Leslie: When building if there are zero extensions setup.py fails (max of a zero length list is undefined.) Although not a very common case, there are potential speciality cases where there will be zero extensions. -- components: Build files: zero_length_exte

[issue16855] traceback module leaves off module name in last line of formatted tracebacks

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win7, 2.7.3 gives me the same output. (Running in IDLE, I don't get the 'socket.' prefix even on the second traceback.) With 3.3, I get socket.timeout both times (console or IDLE). So the problem seems to be 2.x only. print_exc calls print_exception, which

[issue16808] inspect.stack() should return list of named tuples

2013-01-04 Thread Daniel Shahaf
Daniel Shahaf added the comment: Terry J. Reedy wrote on Sat, Jan 05, 2013 at 01:33:50 +: > Should a test be added to or changed in test_inspect? Line 163 has > a test_stack method that calls inspect.stack. Makes sense; added a test that tests named attribute access. Thanks for the pointer.

[issue16808] inspect.stack() should return list of named tuples

2013-01-04 Thread Daniel Shahaf
Changes by Daniel Shahaf : Removed file: http://bugs.python.org/file28571/inspect-v4.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16808] inspect.stack() should return list of named tuples

2013-01-04 Thread Daniel Shahaf
Changes by Daniel Shahaf : Added file: http://bugs.python.org/file28572/inspect-v5.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16862] FAQ has outdated information about Stackless

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think answer 2 should just say "An alternative is Stackless Python." and let interested people click the link. The entire second sentence should go, and I am not sure how much of the rest of the first is still correct, as Stackless has changed from when it w

[issue16863] Python 2 error in Argparse tutorial

2013-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: A quick patch would be 'This tutorial was written for argparse in Python 3. A few details are different in 2.x.' But feel free to do better. -- nosy: +terry.reedy ___ Python tracker

[issue16868] Python Developer Guide: Include a reminder to "ping" bug report if not reviewed in timely manner

2013-01-04 Thread Todd Rovito
New submission from Todd Rovito: The Python Developer Guide in section 3.3 about the life cycle of a patch/review process makes no mention that a bug should be "pinged" first before posting to the python-...@python.org email list requesting a review. For more information see this thread on t

[issue16868] Python Developer Guide: Include a reminder to "ping" bug report if not reviewed in timely manner

2013-01-04 Thread Todd Rovito
Changes by Todd Rovito : -- components: +Devguide -Documentation nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list maili

[issue16823] Python crashes on running tkinter code with threads

2013-01-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: invalid -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16868] Python Developer Guide: Include a reminder to "ping" bug report if not reviewed in timely manner

2013-01-04 Thread Todd Rovito
Todd Rovito added the comment: Here is a suggested patch with help from R. David Murray: "To begin with, please be patient! There are many more people submitting patches than there are people capable of reviewing your patch. Getting your patch reviewed requires a reviewer to have the spare time

[issue16869] makesetup should support .S source files

2013-01-04 Thread Benno Leslie
New submission from Benno Leslie: It is useful to be able to build .S files as built-in modules (in particular if you want ctypes as a built-in you need .S files) The patch enables .S files to be specified in Setup.dist files. -- components: Build files: makesetup-asm.diff keywords: pa

[issue16867] setup.py fails if there are no extensions

2013-01-04 Thread Ned Deily
Ned Deily added the comment: This has already been reported in Issue16537. -- nosy: +ned.deily resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Python’s setup.py raises a ValueError when self.extensions is empty

[issue16862] FAQ has outdated information about Stackless

2013-01-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2867c430333 by Ezio Melotti in branch '3.2': #16862: remove outdated statements about Stackless. http://hg.python.org/cpython/rev/d2867c430333 New changeset b66049748535 by Ezio Melotti in branch '3.3': #16862: merge with 3.2. http://hg.python.org/

[issue16862] FAQ has outdated information about Stackless

2013-01-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

<    1   2