[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-03-22 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___ Python-bugs-list

[issue11629] Reference implementation for PEP 397

2011-03-22 Thread Mark Hammond
New submission from Mark Hammond skippy.hamm...@gmail.com: A tracking bug for the reference implementation of PEP397 - A Python launcher for Windows. -- assignee: mhammond components: Documentation files: pep-0397-reference.py messages: 131723 nosy: mhammond priority: normal severity:

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-22 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Issue11485 is related to this. As Ned noted Ned and I will look into this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11623

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: It would be nice if it were enabled by default for fatal errors (and asserts perhaps?). That would mean that the module should be a builtin module,

[issue11625] Typo in collections.abc docs

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

[issue11630] refleak in test_import

2011-03-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Introduced by ef2b6305d395. -- assignee: haypo messages: 131727 nosy: haypo, pitrou priority: normal severity: normal status: open title: refleak in test_import type: resource usage versions: Python 3.3

[issue11618] Locks broken wrt timeouts on Windows

2011-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Martin: I wouldn't worry too much about replacing a Mutex with a Semaphore. There is no reason to believe that they behave in any way different scheduling wise, and if they did, then any python code that this would affect would

[issue11626] Py_LIMITED_API on windows: unresolved symbol __imp___PyArg_ParseTuple_SizeT

2011-03-22 Thread Rainer Schaaf
Rainer Schaaf r...@pdflib.com added the comment: fixing this for the next version of course would be acceptable. As I can use the extension (not setting Py_LIMITED_API) even with 3.2.0 it is not a big problem. I only loose the benefit of Py_LIMITED_API and will have to release another

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Le mardi 22 mars 2011 à 09:01 +, Marc-Andre Lemburg a écrit : Perhaps you could consider adding a similar approach (raising an exception instead of writing a traceback) to the module. We could then port our code to use your

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2011-03-22 Thread Kristoffer Nilsson
New submission from Kristoffer Nilsson novaf...@gmail.com: Running Windows 7 Enterprise 64 bit, and Python 7.2.1 64 bit Python failed to read and send UDP packages when ran in cmd.exe. This is not the case when ran with IDLE. Example; two simple programs. First one listening to a UDP port

[issue11618] Locks broken wrt timeouts on Windows

2011-03-22 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Sbt: I re-read the code and while I still maintain that the evaluation in line 50 is meaningless, I agree that the worst that can happen is an incorrect timeout. It is probably harmless because this state is only encountered for

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: Le mardi 22 mars 2011 à 09:01 +, Marc-Andre Lemburg a écrit : Perhaps you could consider adding a similar approach (raising an exception instead

[issue11630] refleak in test_import

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3114f26d5d54 by Victor Stinner in branch 'default': Issue #11630, issue #3080: Fix refleak introduced by ef2b6305d395 http://hg.python.org/cpython/rev/3114f26d5d54 -- nosy: +python-dev

[issue11630] refleak in test_import

2011-03-22 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11630 ___

[issue11632] difflib.unified_diff loses context

2011-03-22 Thread Brice Videau
New submission from Brice Videau brice.vid...@gmail.com: unified_diff seems to lose the context when comparing the 2 files contained in the attached archive using this script : import difflib b1 = open(out1.short,r).read().splitlines(True) b2 = open(out2.short,r).read().splitlines(True)

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: print() function for some reason buffers output on Windows if end!='\n'. In attached examples Processing.. string is shown in Python 3.2 only after the actual processing is finished, while in Python 2.6 it is shown before.

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file21334/printtest2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11633 ___

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: printtest2.py displays directly Processing.. on Windows, but not on Linux. It looks like stdout is not buffered on Windows, which looks like a bug to bug :-) I think that it is safer to always call sys.stdout.flush() to ensure

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: From my perspective it is a regression on Windows and a bug in Linux version of Python 2.x, which unfortunately can not be fixed, because of 2.x release process. If the fact that print statement doesn't output anything when called is

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: From my perspective it is a regression on Windows and a bug in Linux version of Python 2.x, which unfortunately can not be fixed, because of 2.x release process. Line buffering is used by default on most operating systems (ok,

[issue11627] segfault raising an arbitrary object as an exception

2011-03-22 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Note that this test code: def raise_(): raise MyException self.assertRaises(TypeError, raise_) can be simplified to: with self.assertRaises(TypeError): raise MyException in all currently

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: How about making print() user-friendly with flushing after every call, and if you want explicitly want speed - use buffered sys.stdout.write/flush()? -- ___ Python tracker

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: How about making print() user-friendly with flushing after every call, and if you want explicitly want speed - use buffered sys.stdout.write/flush()? This is exactly the -u option of Python 2: use it if you would like a completly

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: You must realize that the most common use case for print(..., end!='\n') is when you want to notify user about intermediate progress of a very long operation. Making documentation for simple print() statement overloaded with low level

[issue11618] Locks broken wrt timeouts on Windows

2011-03-22 Thread sbt
sbt shibt...@gmail.com added the comment: krisvale wrote: So, I suggest a change in the comments: Do not claim that the value is never an underestimate, and explain how falsely returning a WAIT_TIMEOUT is safe and only occurs when the lock is heavily contented. Sorry for being so

[issue11618] Locks broken wrt timeouts on Windows

2011-03-22 Thread sbt
Changes by sbt shibt...@gmail.com: Removed file: http://bugs.python.org/file21335/locktimeout3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11618 ___

[issue11618] Locks broken wrt timeouts on Windows

2011-03-22 Thread sbt
sbt shibt...@gmail.com added the comment: krisvale wrote: So, I suggest a change in the comments: Do not claim that the value is never an underestimate, and explain how falsely returning a WAIT_TIMEOUT is safe and only occurs when the lock is heavily contented. Sorry for being so

[issue11622] Documentation

2011-03-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file21331/roberto_derenzi.vcf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11622 ___

[issue11287] Add context manager support to dbm modules

2011-03-22 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: patch updated. -- Added file: http://bugs.python.org/file21337/issue_11287.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11287 ___

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for taking care of this. I’ll be here to review distutils-related changes, if any are needed. -- assignee: tarek - ronaldoussoren ___ Python tracker rep...@bugs.python.org

[issue11591] python -S should be robust against e.g. from site import addsitedir

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The Remote hg repo field was just empty when I made my latest comment Looks like this field is always empty: its goal is to add a repo, just like the File field is always empty unless you add a file. The existing files and repositories are

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-22 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I haven't put much thought in a solution yet, but at this point I'd go for three changes: 1) Give a clear warning when python was configured for i386/ppc and Xcode4 is installed (instead of giving a vague compiler crash due to

[issue11634] misleading comment on PyBytes_FromStringAndSize

2011-03-22 Thread Eli Bendersky
New submission from Eli Bendersky eli...@gmail.com: The comment string above the implementation of _PyBytes_FromStringAndSize in Objects/bytesobject.c starts with: /* For both PyBytes_FromString() and PyBytes_FromStringAndSize(), the parameter `size' denotes number of characters to

[issue11634] misleading comment on PyBytes_FromStringAndSize

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Could you write a patch to fix this comment? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11634 ___

[issue11625] Typo in collections.abc docs

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a56cd7aeac5e by Raymond Hettinger in branch '2.7': Issue #11625: Fix Typo http://hg.python.org/cpython/rev/a56cd7aeac5e -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue11625] Typo in collections.abc docs

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3aec82018a18 by Raymond Hettinger in branch '3.1': Issue #11625: Fix Typo http://hg.python.org/cpython/rev/3aec82018a18 New changeset 461e5c60fbdf by Raymond Hettinger in branch '3.2': Issue #11625: Fix Typo

[issue11625] Typo in collections.abc docs

2011-03-22 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11625 ___

[issue10694] zipfile.py end of central directory detection not robust

2011-03-22 Thread bcroq
Changes by bcroq bertrand.c...@gmail.com: -- nosy: +bcroq ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10694 ___ ___ Python-bugs-list mailing

[issue10694] zipfile.py end of central directory detection not robust

2011-03-22 Thread Bertrand Croq
Bertrand Croq bertrand.c...@gmail.com added the comment: The last patch (manually applied to Python 2.6) fixed the problem with a ZIP file used in my project. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10694

[issue10694] zipfile.py end of central directory detection not robust

2011-03-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10694 ___

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: We are talking about different things here: - When python is run from a console, sys.stdout is line buffered. sys.stdout.write() flushes if there is a carriage return. No need to change anything here. - print() could call

[issue11629] Reference implementation for PEP 397

2011-03-22 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11629 ___ ___ Python-bugs-list

[issue11635] concurrent.futures uses polling

2011-03-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: concurrent.futures uses polling in its worker threads and processes (with a timeout of 0.1). It means that: 1) this prevents CPUs to enter low power states durably 2) it incurs latency when calling shutdown() on an executor (this seems to be

[issue8420] Objects/setobject.c contains unsafe code

2011-03-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: This looks okay. On the first lines for set_merge() where there is: key = entry-key; also do: hash = entry-key; so that the two get handled in a parallel fashion. Thanks for doing the backporting. -- assignee:

[issue11244] Negative tuple elements produce inefficient code.

2011-03-22 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11244 ___

[issue11636] fh is not defined in npyio.py fromregex

2011-03-22 Thread William Dawson
New submission from William Dawson williamanthonydaw...@gmail.com: NameError: global name 'fh' is not defined File /Users/williamdawson/Programs/fat_wip.py, line 263, in module header_gal = readheader(gal_cat) File /Users/williamdawson/Programs/tools.py, line 96, in readheader

[issue11636] fh is not defined in npyio.py fromregex

2011-03-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: You should report this to whoever makes npyio.py -- nosy: +brian.curtin resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2011-03-22 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: this will lock I should expect so! recvfrom is a blocking method. The interpreter will block on said socket until (if recvfrom) data arrives from the remote end of the socket. sendto is non-blocking, though. And it works for me:

[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2011-03-22 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt -Devin Jeanpierre versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1677 ___

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-03-22 Thread Anton Benard
Changes by Anton Benard acben...@gmail.com: -- nosy: +abenard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7833 ___ ___ Python-bugs-list mailing

[issue11591] python -S should be robust against e.g. from site import addsitedir

2011-03-22 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Doc changes seem fine to me. -- assignee: brett.cannon - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11591 ___

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2011-03-22 Thread Kristoffer Nilsson
Kristoffer Nilsson novaf...@gmail.com added the comment: Ah, bad formulation by me. While testing I had both the same machine and external machine sending UDP packages to the port I was listening to. The listening server would not receive anything on 64/64bit (unless running from IDLE). The

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-03-22 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7833 ___ ___ Python-bugs-list mailing

[issue11333] Add empty __slots__ to collections.abc abstract base classes

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d50a71994f51 by Raymond Hettinger in branch 'default': Issue #11333: Add __slots__ to the collections ABCs. http://hg.python.org/cpython/rev/d50a71994f51 -- nosy: +python-dev ___ Python

[issue11333] Add empty __slots__ to collections.abc abstract base classes

2011-03-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Thanks Daniel. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11333 ___

[issue11397] os.path.realpath() may produce incorrect results

2011-03-22 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- components: +Library (Lib) -Extension Modules ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11397 ___

[issue11634] misleading comment on PyBytes_FromStringAndSize

2011-03-22 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Sure, I just wanted confirmation from another dev that it's indeed an error and I'm not missing anything. I suppose the fix is just replace for both PyBytes_FromString() and PyBytes_FromStringAndSize() with just for

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Agreed. Which .py files would be appropriate? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10291 ___

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2011-03-22 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: I can't reproduce this. I'm also running 64-bit Python on 64-bit Windows 7 and socket operations are fine for me. -- ___ Python tracker rep...@bugs.python.org

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Mar 22, 2011 at 2:55 PM, Éric Araujo rep...@bugs.python.org wrote: .. Agreed.  Which .py files would be appropriate? Lib/turtledemo/about_turtle.txt - seems to belong to turtle.py

[issue11093] test_future - rename not-unittest files to make regrtest.NOTTESTS an empty set

2011-03-22 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Reattaching patch generated (against 3.2) with diff --git to preserve the rename operation. -- Added file: http://bugs.python.org/file21339/test_future_diffgit.patch ___ Python tracker

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Mar 22, 2011 at 3:14 PM, Alexander Belopolsky belopol...@users.sourceforge.net wrote: .. Lib/turtledemo/about_turtle.txt - seems to belong to turtle.py In fact, it looks like turtle docstring is already a copy (or

[issue11287] Add context manager support to dbm modules

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks good. Would someone else like to review too? I don’t know C, and there may be PEP 343 subtleties that I have missed. -- keywords: +needs review nosy: +ncoghlan stage: - commit review ___

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- type: - feature request versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10291 ___

[issue1214675] module warnings lacks a remove filter function

2011-03-22 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Closing. We now have a context manager based solution for saving, changing and restoring warning filters. http://docs.python.org/library/warnings.html#testing-warnings (I just came across this issue looking for such a solution. :-)

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- keywords: +patch Added file: http://bugs.python.org/file21340/issue10291.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10291

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2011-03-22 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- components: +Extension Modules, Windows -Library (Lib) nosy: +brian.curtin stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11620

[issue11626] Py_LIMITED_API on windows: unresolved symbol __imp___PyArg_ParseTuple_SizeT

2011-03-22 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I fear I don't understand exactly what is meant here. For me it was enough to get the linker error telling me it is not working. Suppose 3.2.1 adds this function, which then means that your extension builds fine. However, it won't run on

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2011-03-22 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Kristoffer: are you using a personal firewall software? These filters often filter traffic out depending on what process is receiving it, so you may want to turn the firewall off (or explicitly configure it to allow this port to be open).

[issue11628] cmp_to_key generated class should use __slots__

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 136298326897 by Raymond Hettinger in branch '2.7': Issue #11628: cmp_to_key should use__slots__. http://hg.python.org/cpython/rev/136298326897 -- ___ Python tracker rep...@bugs.python.org

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Another bug: the extracted author_email value is wrong. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11595 ___

[issue11634] misleading comment on PyBytes_FromStringAndSize

2011-03-22 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: PyObject * PyBytes_FromString(const char *str) { register size_t size; ... size = strlen(str); ... } PyBytes_FromString() does compute the input string size using strlen(). --

[issue11260] smtpd-as-a-script feature should be documented and should use argparse

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

[issue11635] concurrent.futures uses polling

2011-03-22 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11635 ___ ___ Python-bugs-list

[issue11637] Add cwd to sys.path for hooks

2011-03-22 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: When pysetup is run in a project directory, this dir is not on sys.path, so hooks modules in the dir can’t be found. -- assignee: tarek components: Distutils2 keywords: easy messages: 131778 nosy: alexis, eric.araujo, tarek priority:

[issue11552] Confusing error message when hook module cannot be loaded

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It’s strange because we do have tests for the function. Can you look at them and find any error? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11552

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The patch contains one unrelated code change. I think the docstrings should not go as is but be cleaned up to match docstrings conventions. I’ve also spotted some phrasing issues. -- ___ Python

[issue8420] Objects/setobject.c contains unsafe code

2011-03-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file21317/fix-set-crashers-2.7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8420 ___

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread RonnyPfannschmidt
New submission from RonnyPfannschmidt ronny.pfannschm...@gmx.de: i passed in a unicode value as version by accident, resulted in: Traceback (most recent call last): File /home/ronny/.local/venvs/clean/bin/pysetup, line 7, in module execfile(__file__) File

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What is the version? Can you also include the setup.cfg file? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11638 ___

[issue8420] Objects/setobject.c contains unsafe code

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I assume you meant “hash = entry-hash”, not “entry-key”. Updated patch attached. -- Added file: http://bugs.python.org/file21341/fix-set-crashers-2.7.diff ___ Python tracker rep...@bugs.python.org

[issue8420] Objects/setobject.c contains unsafe code

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: BTW, set_add_entry still uses entry-hash. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8420 ___

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread RonnyPfannschmidt
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment: here the file that passed in the unicode string via hook note that all of the passed characters are actually ascii -- Added file: http://bugs.python.org/file21342/hgdistver.py ___ Python

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread RonnyPfannschmidt
Changes by RonnyPfannschmidt ronny.pfannschm...@gmx.de: Added file: http://bugs.python.org/file21343/setup.cfg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11638 ___

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread RonnyPfannschmidt
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment: actually its enough to have the version_hook set the version to u'0.0' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11638

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Mar 22, 2011 at 5:15 PM, Éric Araujo rep...@bugs.python.org wrote: .. The patch contains one unrelated code change. Yes, I noticed that, but it may not be that unrelated. Of course the two changes need to be

[issue11638] pysetup un sdist crashes with weird trace if version is unicode by accident

2011-03-22 Thread RonnyPfannschmidt
Changes by RonnyPfannschmidt ronny.pfannschm...@gmx.de: Added file: http://bugs.python.org/file21344/hgdistver.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11638 ___

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I would rather keep code and documentation changes separate. I don’t follow; my comment about bad phrasing was about the text added to the docstrings. Not that we have any strict docstrings conventions. :-) Not enforced, but still useful to

[issue8420] Objects/setobject.c contains unsafe code

2011-03-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: The revised patch looks good. Please make the same change for set_add_entry. If the tests run, go ahead and apply. -- ___ Python tracker rep...@bugs.python.org

[issue10291] Clean-up turtledemo in-package documentation

2011-03-22 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Mar 22, 2011 at 5:29 PM, Éric Araujo rep...@bugs.python.org wrote: .. I would rather keep code and documentation changes separate. I don’t follow; my comment about bad phrasing was about the text added to the

[issue11639] Documentation for *Config functions in logging module should be in logging.config

2011-03-22 Thread Santoso Wijaya
New submission from Santoso Wijaya santoso.wij...@gmail.com: For example, the function `fileConfig` is listed in the documentation [1] as `logging.fileConfig`. This was a surprise for me when trying it gave me an AttributeError. Only after reading the source code that I found out this

[issue11639] Documentation for *Config functions in logging module should be in logging.config

2011-03-22 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11639 ___

[issue11639] Documentation for *Config functions in logging module should be in logging.config

2011-03-22 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11639 ___

[issue11626] Py_LIMITED_API on windows: unresolved symbol __imp___PyArg_ParseTuple_SizeT

2011-03-22 Thread Rainer Schaaf
Rainer Schaaf r...@pdflib.com added the comment: OK now I got it. Yes for others this would be very helpful. Specially as the Py_LIMITED_API promises to solve the changing API issue on windows and Parse_Tuple is one of the main API's used in extensions this would be helpful I guess. I

[issue11640] Shelve references globals in its __del__ method

2011-03-22 Thread Peter Davies
New submission from Peter Davies ultra...@gmail.com: Shelf.__setitem__ (which is called from __del__ when writeback is enabled) references globals. This was causing exceptions on interpreter shutdown (due to another exception) for me. I have attached a patch which stores the relevant globals

[issue10225] Fix doctest runable examples in python manual

2011-03-22 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: These are fine except for the changes to collections.py. Please leave the deployed code for named tuple as-is. Doctest may have issues with trailing whitespace, but that is doctest's problem, not named tuple's. --

[issue1479611] speed up function calls

2011-03-22 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1479611 ___

[issue10988] Descriptor protocol documentation for super bindings is incorrect

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 50cc60852a76 by Raymond Hettinger in branch '2.7': Issue 10988: fix description of super's descriptor call. http://hg.python.org/cpython/rev/50cc60852a76 -- nosy: +python-dev ___ Python

[issue11629] Reference implementation for PEP 397

2011-03-22 Thread Craig McQueen
Changes by Craig McQueen pyt...@craig.mcqueen.id.au: -- nosy: +cmcqueen1975 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11629 ___ ___

[issue10988] Descriptor protocol documentation for super bindings is incorrect

2011-03-22 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 3e3c46a3dce8 by Raymond Hettinger in branch '3.1': Issue 10988: fix description of super's descriptor call. http://hg.python.org/cpython/rev/3e3c46a3dce8 New changeset 40698c68a32c by Raymond Hettinger in branch '3.2': Issue 10988:

  1   2   >