[issue14216] ImportError: No module named binascii

2012-03-07 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: You probably did something wrong when installing Python. How exactly did you get it into ~/PythonInstall? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2012-03-07 Thread Mark Shannon
Mark Shannon m...@hotpy.org added the comment: Jim Jewett wrote: http://bugs.python.org/review/13897/diff/4186/14521 File Python/sysmodule.c (right): http://bugs.python.org/review/13897/diff/4186/14521#newcode211 Python/sysmodule.c:211: while ((exc_info-exc_type == NULL ||

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Case Van Horsen
Case Van Horsen cas...@gmail.com added the comment: I've found some differences between decimal and cdecimal. cdecimal 2.3 does not support the __ceil__ and __floor__ methods that exist in decimal. math.ceil converts a cdecimal.Decimal instance into a float before finding the ceiling. This

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu liuq0...@e.ntu.edu.sg added the comment: Dear Martin, Thanks for your reply. I went to the folder of python after tar -zxvf Python-2.7.2.tgz and do the following operations: ./configure --prefix=~/PythonInstall make make install where ~ represent the path in my computer and it is long

[issue992389] attribute error due to circular import

2012-03-07 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue992389 ___ ___

[issue14218] include rendered output in addition to markup

2012-03-07 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: For devguide/documenting, If you show me markup, also show me what output it gives me. It's kinda tedious to keep building the markup just to verify how it's rendered. -- components: Devguide messages: 155061 nosy:

[issue14191] argparse: nargs='*' doesn't get out-of-order positional parameters

2012-03-07 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: optparse, which argparse attempts to replace, permitted positional arguments to be intermixed with optional arguments Sure, but optparse didn't actually parse positional arguments - it just threw them into a bag, and then you had to

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: There are some minor errors indeed: the syntax for PATH and PYTHONPATH is wrong (don't use quotes () in the middle of the value). Also, putting site-packages into PYTHONPATH should not be necessary. I think the main cause might be the

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu liuq0...@e.ntu.edu.sg added the comment: Dear Martin, Many thanks for your help and your reply. I will correct the errors and let you know the result. best regards, Qian Liu On Wed, Mar 7, 2012 at 5:07 PM, Martin v. Löwis rep...@bugs.python.orgwrote: Martin v. Löwis

[issue14219] start the Class tutorial in a more gentle manner

2012-03-07 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: Looking at Doc/tutorial/classes, the section Python Scopes and Namespaces is full of heavy/deep information. I expect that people who would be able to properly digest that info are people who are already advanced at Python, and

[issue14219] start the Class tutorial in a more gentle manner

2012-03-07 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14219 ___

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu liuq0...@e.ntu.edu.sg added the comment: Dear Martin, I did the following operations ./configure --prefix= /img01/home/liuqian1/PLAprediction/software/PythonInstall make make install and then MPYTHONHOME=/img01/home/liuqian1/PLAprediction/software/PythonInstall

[issue14218] include rendered output in addition to markup

2012-03-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: 3.1 and 2.6 as in security fix only: please don't add those versions for non-sec issue -- nosy: +sandro.tosi versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue14218] include rendered output in addition to markup

2012-03-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: additionally, devguide has no version associated with it. -- versions: -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14218

[issue14219] start the Class tutorial in a more gentle manner

2012-03-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: see msg155067 -- nosy: +sandro.tosi versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14219 ___

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Jim Jewett rep...@bugs.python.org wrote: Whether you need *additional* subdirectories within _cdecimal to subcategorize the .c and .h files, I'm not sure -- because I didn't get in deep enough to know what they should be. If the

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Does the C version have a C API importable as capsule ? If not, could you add one and a decimal.h to go with it ? This makes integration in 3rd party modules a lot easier. Thanks, -- Marc-Andre Lemburg eGenix.com

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Stefan Behnel
New submission from Stefan Behnel sco...@users.sourceforge.net: Based on the existing test_attempted_yield_from_loop in Lib/test/test_pep380.py, I wrote this test and I wonder why it does not work: def test_attempted_reentry(): for line in test_attempted_reentry(): print(line)

[issue14208] No way to recover original argv with python -m

2012-03-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: In framing a question for Raymond regarding his preference for avoiding the __argv__ name, I realised I agreed with him. My reasoning is that, when a Python process starts, sys.stdin is sys.__stdin__, sys.stdout is sys.__stdout__ and

[issue11379] Remove lightweight from minidom description

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FYI, note that http://wiki.python.org/moin/MiniDom says this about minidom: “slow and very memory hungry DOM implementation”. As you have seen, I have applied my ToC order change. Now in order to commit my s/lightweight/minimal/ change and

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

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Merged Florian’s version with the original file to create a patch. -- Added file: http://bugs.python.org/file24752/pulldom-documentation.rst ___ Python tracker rep...@bugs.python.org

[issue14218] include rendered output in addition to markup

2012-03-07 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe tshep...@gmail.com added the comment: Sandro Tosi sandro.t...@gmail.com added the comment: 3.1 and 2.6 as in security fix only: please don't add those versions for non-sec issue Sorry, I thought there was an exception for documentation issues. --

[issue11379] Remove lightweight from minidom description

2012-03-07 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: FYI, note that http://wiki.python.org/moin/MiniDom says this about minidom: “slow and very memory hungry DOM implementation”. Thanks for the notice; I have now fixed that wording. -- ___

[issue11379] Remove lightweight from minidom description

2012-03-07 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, I'm ok with replacing lightweight by minimal, unless others have objections. Regarding the specifics of the minidom-desc-2.diff patch: proficient with the DOM I'm not sure the DOM is semantically correct. the W3C-DOM interface is

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Benjamin Peterson rep...@bugs.python.org wrote: The scripts for generating code would preferably go in a Tools/decimal directory. Hmm, do you mean the gen*.py scripts? The output is generated by decimal.py and used for testing

[issue14214] test_concurrent_futures hangs

2012-03-07 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Is this a single failure that you encountered, or have you been able to reproduce it on subsequent runs? I haven't seen a failure in test_concurrent_futures in 10-15 runs of make test (also on Ubuntu 11.10 64-bit). -- nosy:

[issue11379] Remove lightweight from minidom description

2012-03-07 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Oh, right, I missed that part. I also think that a visible note is better. And +1 for W3C DOM interface. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11379

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Benjamin Peterson rep...@bugs.python.org wrote: Speaking of inline, the inline keyword will have to go because it's not C89. Do you happen to know a free compiler that builds Python but does not understand inline? I'm asking because

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Do you happen to know a free compiler that builds Python but does not understand inline? I'm asking because without testing you can never really be sure: You could use Py_LOCAL_INLINE, but most compilers should inline small functions

[issue1469629] __dict__ = self in subclass of dict causes a memory leak?

2012-03-07 Thread Hrvoje Nikšić
Hrvoje Nikšić hnik...@gmail.com added the comment: Could this patch please be committed to Python? We have just run into this problem in production, where our own variant of AttrDict was shown to be leaking. It is possible to work around the problem by implementing explicit __getattr__ and

[issue1469629] __dict__ = self in subclass of dict causes a memory leak

2012-03-07 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox title: __dict__ = self in subclass of dict causes a memory leak? - __dict__ = self in subclass of dict causes a memory leak ___ Python tracker rep...@bugs.python.org

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Case Van Horsen rep...@bugs.python.org wrote: cdecimal 2.3 does not support the __ceil__ and __floor__ Thanks. I'll look into that. cdecimal.Decimal instances do not emulate the various single-underscore methods of a decimal.Decimal

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Antoine Pitrou rep...@bugs.python.org wrote: You could use Py_LOCAL_INLINE, but most compilers should inline small functions automatically, AFAIK. At the time I wrote it I benchmarked everything. I'm pretty sure that gcc did not inline

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: _ctypes does not compile with icc and suncc. Unlike _ctypes, _decimal has a fallback in the form of decimal.py. So, perhaps as an alternative we could leave the inlines and wait for build failure reports? Sounds good to me. --

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Jim Jewett rep...@bugs.python.org wrote: implementation details. Are there are clear distinctions (type info/python bindings/basic arithmetic/advanced algorithms/internal-use-only/???) I failed to mention that libmpdec also has

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

2012-03-07 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: The rationale was to allow different packages (for example) in the same process to have their own private instance of a foreign function, with possibly different definitions of restype, argtypes and/or errcheck. --

[issue14214] test_concurrent_futures hangs

2012-03-07 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I happended several times. Ran it this morning an got passed it, however other tests failed though: == ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm)

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

2012-03-07 Thread Erik Johansson
Erik Johansson e...@ejohansson.se added the comment: Perhaps this behaviour should be documented somewhere (unless it already is)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14201 ___

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

2012-03-07 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14205 ___ ___

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

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Item access is documented in this section: http://docs.python.org/library/ctypes#loading-shared-libraries (scroll a bit down looking for __getitem__); the wording about caching is ambiguous with respect to the current behavior. --

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Marc-Andre Lemburg rep...@bugs.python.org wrote: Does the C version have a C API importable as capsule ? Not yet. I'll try to make a list with proposed function names and post it here. If not, could you add one and a decimal.h to go

[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect

2012-03-07 Thread Erik Johansson
Erik Johansson e...@ejohansson.se added the comment: Ah, I see. I modified the title to reflect this. Perhaps adding this simple example as well can help people (e.g. me) see it? libc.time == libc.time True libc['time'] == libc['time'] False -- title: libc.time != libc['time'] -

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: This issue was raised by Jim on Rietveld: Currently, the order of arguments in Context.__init__() differs from repr(Context): Context() Context(prec=28, rounding=ROUND_HALF_EVEN, Emin=-9, Emax=9, capitals=1, flags=[],

[issue14214] test_concurrent_futures hangs

2012-03-07 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: I happended several times. Hmm. If you hit another failure, can you post the random seed and any other interesting info that might help figure this out? The test_dbm failures look like issue 14120. You might want to follow up there.

[issue9592] Limitations in objects returned by multiprocessing Pool

2012-03-07 Thread Max Franks
Max Franks eliqui...@gmail.com added the comment: Issue 3 is not related to the other 2. See this post http://bugs.python.org/issue5370. As haypo said, it has to do with unpickling objects. The post above gives a solution by using the __setstate__ function. -- nosy: +eliquious

[issue14214] test_concurrent_futures hangs

2012-03-07 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Could you run just the test_concurrent_futures test, hit ctrl-C at the point where it hangs, and send the traceback here? -- ___ Python tracker rep...@bugs.python.org

[issue10951] gcc 4.6 warnings

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2f10c1ad4b21 by Ross Lagerwall in branch 'default': Issue #10951: Fix warnings in the socket module. http://hg.python.org/cpython/rev/2f10c1ad4b21 New changeset 1dd43e939c07 by Ross Lagerwall in branch 'default':

[issue14221] re.sub backreferences to numbered groups produce garbage

2012-03-07 Thread Phillip Feldman
New submission from Phillip Feldman phillip.m.feld...@gmail.com: The first example below works; the second one produces output containing garbage characters. (This came up while I was creating a set of examples for a tutorial on regular expressions). import re text= The cat ate the rat.

[issue14187] add annotation entry to Glossary

2012-03-07 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I'm not sure this would be a worthwhile addition. This language feature is not widely referenced outside the docs for the feature itself. -- nosy: +rhettinger ___ Python tracker

[issue14208] No way to recover original argv with python -m

2012-03-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree. Maybe I may throw full_argv or executable_argv (i.e. to be used with exec([sys.executable] + sys.executable_arg)) in the air? -- ___ Python tracker rep...@bugs.python.org

[issue14187] add annotation entry to Glossary

2012-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14187 ___

[issue14191] argparse: nargs='*' doesn't get out-of-order positional parameters

2012-03-07 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: Improved documentation would certainly help the situation. And yes, I understand that optparse simply returned the set of positional parameters without giving them names, types, or groups. So does getopt, and pretty much all previous

[issue14221] re.sub backreferences to numbered groups produce garbage

2012-03-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You forgot to use raw strings: text = The cat ate the rat. print(before: %s % text) before: The cat ate the rat. text = re.sub((\w+) ate the (\w+), r\2 ate the \1, text) print(after : %s % text) after : The rat ate the cat. (Maybe you

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: In the function getstring in _sre.c, the code obtains a pointer to the characters of the buffer and then releases the buffer. There's a comment before the release: /* Release the buffer immediately --- possibly dangerous

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14212 ___ ___ Python-bugs-list mailing

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14212 ___ ___ Python-bugs-list

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-07 Thread Tasslehoff Kjappfot
New submission from Tasslehoff Kjappfot tasskj...@gmail.com: Queue.get([block[, timeout]]) uses time.time() for calculations of the timeout. If someone changes the system time this breaks. If a timeout of 1 second is set and someone (on a unix system) uses date to set the time 1 hour back,

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: On Wed, Mar 7, 2012 at 5:28 AM, Stefan Krah stefan-use...@bytereef.org added the comment: OK, as a basis for discussion I've added: http://hg.python.org/features/cdecimal/file/8b75c2825508/Modules/_decimal/FILEMAP.txt That is indeed very

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-07 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: The finding/loading code in import.c is purely because of the imp module's public API (e.g. imp.find_module()). I have been waiting to find out if importlib would get bootstrapped before making the current module _imp and then creating an

[issue8754] quote bad module name in ImportError-like messages

2012-03-07 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: It technically doesn't depend, but it potentially would make this moot. But stuff is going on at the language summit which is going to shift stuff around. -- dependencies: -ImportError needs attributes for module and file name

[issue13719] bdist_msi upload fails

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 077b42a54803 by Éric Araujo in branch '2.7': Backout buggy patch for #13719 http://hg.python.org/cpython/rev/077b42a54803 -- ___ Python tracker rep...@bugs.python.org

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

2012-03-07 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: It's quite possible you are right, Michele. I don't know if anyone has looked at what exactly is required for _warnings.c compared to pgen. -- ___ Python tracker rep...@bugs.python.org

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Here is an analysis of this (less verbose) code: def g1(): yield y1 yield from g2() yield y4 def g2(): yield y2 try: yield from gi except ValueError:

[issue13719] bdist_msi upload fails

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7e629bacec87 by Éric Araujo in branch '3.2': Backout buggy patch committed for #13719 http://hg.python.org/cpython/rev/7e629bacec87 New changeset 17106d7d34b4 by Éric Araujo in branch 'default': Remove buggy change

[issue14119] Ability to adjust queue size in Executors

2012-03-07 Thread Brian Quinlan
Changes by Brian Quinlan br...@sweetapp.com: -- assignee: - bquinlan nosy: +bquinlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14119 ___ ___

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2012-03-07 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: I'm closing this since tbrink didn't respond to pitrou's comments. -- resolution: - out of date ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11271

[issue14148] Option to kill stuck workers in a multiprocessing pool

2012-03-07 Thread Brian Quinlan
Changes by Brian Quinlan br...@sweetapp.com: -- nosy: +bquinlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14148 ___ ___ Python-bugs-list

[issue13785] Make concurrent.futures.Future state public

2012-03-07 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: I guess the question is: why do you need to know the state in that form? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13785 ___

[issue13719] bdist_msi upload fails

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I finally got a virtual machine up and running and was able to diagnose the problem. There are two things. First, the dist directory (where the msi file will be created) is created relative to the current working directory, which explains why

[issue13719] bdist_msi upload fails

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I forgot to mention two other problems in my test: - need to pass name and version keyword arguments to self.create_dist or to change the expected filename to UNKNOWN-UNKNOWN - need to embed the result of distutils.util.get_platform() into the

[issue14223] curses addch broken on Python3.3a1

2012-03-07 Thread Nicholas Cole
New submission from Nicholas Cole nicholas.c...@gmail.com: The following code works on Python versions prior to 3.3a1: import curses def test_screen(screen): screen.addch(5,5, curses.ACS_HLINE) screen.refresh() curses.wrapper(test_screen) On python3.3, the program produces the

[issue5926] bdist_msi: add support for minimum Python version for pure Python projects

2012-03-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo title: bdist_msi - add support for minimum Python version for pure Python packages - bdist_msi: add support for minimum Python version for pure Python projects versions: +Python 3.3

[issue6755] Patch: new method get_wch for ncurses bindings: accept wide characters (unicode)

2012-03-07 Thread Nicholas Cole
Nicholas Cole nicholas.c...@gmail.com added the comment: On Wed, Mar 7, 2012 at 7:40 AM, R. David Murray rep...@bugs.python.org wrote: R. David Murray rdmur...@bitdance.com added the comment: Since this bug is about adding a new feature, it is unlikely to be the correct bug for this to be

[issue11122] bdist_rpm fails

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: More info on rpm vs. rpmbuild: http://bugs.python.org/issue1533164#msg82592 -- keywords: +easy stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11122

[issue11122] bdist_rpm should use rpmbuild, not rpm

2012-03-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: bdist_rpm fails - bdist_rpm should use rpmbuild, not rpm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11122 ___

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 10a79a33d09b by Benjamin Peterson in branch '3.2': keep the buffer object around while we're using it (closes #14212) http://hg.python.org/cpython/rev/10a79a33d09b New changeset 17dfe24e5107 by Benjamin Peterson in

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think 2.7 might be hopeless. -- nosy: +benjamin.peterson resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org

[issue14212] Segfault when using re.finditer over mmap

2012-03-07 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14212 ___

[issue14224] packaging: path description of resources is mixed up

2012-03-07 Thread Johannes Kolb
New submission from Johannes Kolb johannes.k...@gmx.net: The documentation for files section of the setup.cfg file causes confusion: The examples don't match the description. Obviously the order of destination and source part in the generated filenames was mixed up in some places. --

[issue14224] packaging: path description of resources is mixed up

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks, will apply. -- assignee: docs@python - eric.araujo nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14224 ___

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +ncoghlan, pje stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14209 ___

[issue14223] curses addch broken on Python3.3a1

2012-03-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Marking as release blocker since this is a regression. Added people from the other curses issue as being likely to be interested in this one. -- nosy: +cben, gpolo, haypo, inigoserna, jcea, phep, pitrou, python-dev,

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I suggest you do two things: - first, run “make -s” to reduce messages and see if the binascii module is compiled correctly or skipped - second, avoid possible misleading issues with PATH entirely by starting your Python with an absolute path,

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-03-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14215 ___ ___ Python-bugs-list

[issue14218] include rendered output in addition to markup

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For devguide/documenting, If you show me markup, also show me what output it gives me. Would this really be useful? If you’re looking at that page, you want to know what markup to use for what situation; why do you care about output? It's

[issue14217] text output pretends to be code

2012-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Use this: .. code-block:: none output etc. -- nosy: +eric.araujo versions: +Python 2.7 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14217

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14220 ___ ___ Python-bugs-list mailing

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, in 3.3 we could use clock_gettime(CLOCK_MONOTONIC) where available. That said, this is not specific to Queue.get() and will probably happen with many similar functions taking a timeout parameter. -- nosy: +haypo, neologix, pitrou

[issue14225] _cursesmodule compile error in OS X 32-bit-only installer build

2012-03-07 Thread Ned Deily
New submission from Ned Deily n...@acm.org: ./Modules/_cursesmodule.c:279: error: syntax error before 'cchar_t' /Users/sysadmin/build/v3.3.0a1/Modules/_cursesmodule.c: In function 'PyCurses_ConvertToCchar_t': ./Modules/_cursesmodule.c:289: error: 'obj' undeclared (first use in this

[issue1469629] __dict__ = self in subclass of dict causes a memory leak

2012-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1469629 ___ ___ Python-bugs-list mailing

[issue14226] Expose dict_proxy type from descrobject.c

2012-03-07 Thread André Malo
New submission from André Malo n...@perlig.de: As discussed in the dev-thread about frozendicts, it would be helpful for providing advisory read-only-dicts, to just expose the dict_proxy type. I suppose, the collections module would be a good place (it just needs to provide the interface to

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Added Mark Shannon to the nosy list - he's been tinkering with this area of the interpreter lately. This definitely needs to be fixed though (even if that does mean major surgery on the implementation, up to and including the introduction of

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Don't worry! I'll be fixing it in a moment... -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14220 ___

[issue14220] yield from kills generator on re-entry

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3357eac1ba62 by Benjamin Peterson in branch 'default': make delegating generators say they running (closes #14220) http://hg.python.org/cpython/rev/3357eac1ba62 -- nosy: +python-dev resolution: - fixed

[issue7652] Merge C version of decimal into py3k.

2012-03-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Jim Jewett rep...@bugs.python.org wrote: OK, as a basis for discussion I've added: http://hg.python.org/features/cdecimal/file/8b75c2825508/Modules/_decimal/FILEMAP.txt Starting from that URL, I don't actually find setup.py. It's

[issue13964] os.utimensat() and os.futimes() should accept (sec, nsec), drop os.futimens()

2012-03-07 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: I just asked Guido in person, and he says he never intended to suggest accepting a (sec, nsec) tuple. os.*utime* may accept atime and mtime as either float seconds-since-the-epoch, or int nanoseconds-since-the-epoch when passed in using

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Adding Brett, since the plan is to clear out a lot of the redundant code in pkgutil once importlib is fully bootstrapped as the standard import implementation. (although this will still affect the older versions directly) -- nosy:

[issue14127] os.stat and os.utime: allow preserving exact metadata

2012-03-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: FWIW, +1 on using the *name* of the keyword arg to define the format/resolution of the argument. It's simple and clear right now, and is easily updated to handle higher resolutions in the future. -- nosy: +ncoghlan

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-07 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Well, in 3.3 we could use clock_gettime(CLOCK_MONOTONIC) where available. It's better to use time.monotonic(). That said, this is not specific to Queue.get() and will probably happen with many similar functions taking a timeout

[issue3787] Make PyInstanceMethod_Type available or remove it

2012-03-07 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b595e1ad5722 by Benjamin Peterson in branch 'default': merge 3.2 (#3787e896dbe9) http://hg.python.org/cpython/rev/b595e1ad5722 -- nosy: +python-dev ___ Python tracker

  1   2   >