[issue2286] Stack overflow exception caused by test_marshal on Windows x64

2011-11-28 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Thanks Terry, I am aware of that. We are working on making Python work with VS2010 in issue 13210. I will check with the py3k branch soon and report here if the same problem applies. --

[issue13481] Use an accurate clock in timeit

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I think this should be rejected. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13481 ___

[issue13492] ./configure --with-system-ffi=LIBFFI-PATH

2011-11-28 Thread Michael Kraus
New submission from Michael Kraus krausmic...@gmail.com: It would be very helpful to have the ability to specify a LIBFFI-PATH during Python configuration via ./configure --with-system-ffi=LIBFFI-PATH We are using the Intel compiler to build Python, NumPy, SciPy, and Cython on a SuSE Linux

[issue10131] deepcopying an xml.dom.minidom.Document generates an invalid XML document

2011-11-28 Thread Yevgen Yampolskiy
Yevgen Yampolskiy genij.m...@gmail.com added the comment: Marian, I have no doubts that the patch cures THIS issue. The problem is that it cures the wrong thing. It is _reconstruct function that needs to be fixed (somebody changed order of 'if' statements between 2.6 and 2.7 releases)

[issue13493] using python embed on AIX 6.1,Modules import error!

2011-11-28 Thread python_hu
New submission from python_hu nari...@163.com: Using python api embed on AIX 6.1,Modules import error,need help! I have compile Python2.5.5 on Aix 6.1 using condigure: ./configure --with-gcc=xlc_r -q64 --with-cxx=xlC_r -q64 --disable-ipv6 AR=ar -X64 when i run Python,and import math

[issue444582] Finding programs in PATH, adding shutil.which

2011-11-28 Thread Weeble
Weeble clockworksa...@gmail.com added the comment: I'm not sure what rules are used by Windows to process the PATH string, but I think they are similar to the rules used to parse the command-line into argv in a C/C++ program: http://msdn.microsoft.com/en-us/library/17w5ykft.aspx I have tested

[issue13493] using python embed on AIX 6.1,Modules import error!

2011-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It may be related to issue941346. Can you try with a newer version of Python? 2.5 is not maintained anymore. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See http://bugs.python.org/issue12119#msg146943 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13473 ___

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I suggest to not use pyc and pyo in options, because .pyc and .pyo filename extensions are specific to a subset of Python implementations. Jython uses $py.class filename extension (module$py.class for module.py). But these are extension

[issue13486] msvc9compiler.py doesn't properly generate manifest files.

2011-11-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +mhammond ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13486 ___ ___ Python-bugs-list mailing

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I have attached an updated patch with a unit test. LGTM. Also, this is not an issue for Python 2.7. The 2.7 implementation assumes any directories mentioned in the path already exist. Cool. The test can still be committed in that branch too.

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Docs nit: at http://docs.python.org/dev/library/stdtypes.html#boolean-values we have The built-in function bool() can be used to cast any value to a Boolean ... It's a little unusual to talk about casting in Python. Any objections to

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: +1 -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 1b7fed04108c should help make figure out that it needs to rebuild. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12307 ___

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Rebuilt! (Another glitch: plain text PEPs really should have an HTML title. If you have time.. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12307

[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is subprocess affected by PYTHONIOENCODING? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6135 ___

[issue10318] make altinstall installs many files with incorrect shebangs

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can I removed the shebangs in the 3.3 stdlib or do I need to go through with the PEP 8 patch on python-dev first? -- versions: -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue13491] Fixes for sqlite3 doc

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It is very helpful that you review the docs. Some obvious fixes were made when moving to Python 3 (print, etc.) but apparently the examples were not run. Sphinx can let us run the code blocks in reST files as doctests, but it is currently not

[issue13487] inspect.getmodule fails when module imports change sys.modules

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Maybe it can be caused by an installation happening during the loop. I agree with Erik’s reading of the comment and patch, and don’t think a test is needed. -- nosy: +eric.araujo stage: - patch review type: - behavior versions:

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: -None stage: - test needed title: using python embed on AIX 6.1,Modules import error! - Import error with embedded python on AIX 6.1 type: crash - behavior versions: +Python 2.7 -Python 2.6

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: OK Brian, I checked your clone and I will keep an eye on it. I have done almost the same thing for the moment. My patch queue includes some additional corrections for a few more bugs that prevented me from completely running the

[issue13492] ./configure --with-system-ffi=LIBFFI-PATH

2011-11-28 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13492 ___ ___

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: +1 -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13494 ___ ___

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: If you want to clone from that repo, use the vs2010 branch. hg clone http://hg.python.org/sandbox/vs2010port/ hg up vs2010 From there, you can post patches here that I can integrate for you. -- assignee: - brian.curtin

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 661fb211f220 by Meador Inge in branch '3.2': Issue #12618: py_compile cannot create files in current directory http://hg.python.org/cpython/rev/661fb211f220 New changeset e3647275f468 by Meador Inge in branch

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Cool. The test can still be committed in that branch too. The regression test for this issue was already committed for 2.7 in bcc7bf3963cc as a part of creating the unit test baseline. I just committed the bug fix to 3.2 and default. Thanks

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12618 ___

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A tip to make Mercurial download only a subset of all the changesets in the repo: hg clone URI -r branch or hg clone URI#branch (The difference is that in the second form, URI#branch will be recorded in the .hg/hgrc file and subsequent

[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Is subprocess affected by PYTHONIOENCODING? Yes, as any Python process. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6135

[issue6135] subprocess seems to use local encoding and give no choice

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: So the users can control the encoding, and this is a doc bug. -- title: subprocess seems to use local 8-bit encoding and gives no choice - subprocess seems to use local encoding and give no choice ___

[issue6135] subprocess seems to use local encoding and give no choice

2011-11-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If you decide this is only a doc bug, please see also related issue 12832. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6135

[issue12832] The documentation for the print function should explain/point to how to control the sys.stdout encoding

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. It was reviewed on our code review tool; if you did not get an email (there are glitches), follow the link on the right of your patch in the list of files. -- nosy: +eric.araujo

[issue6135] subprocess seems to use local encoding and give no choice

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: So the users can control the encoding, and this is a doc bug. Not really. People can control the encoding in the child process (and only if it's a Python 3 process of course). They can't control the encoding in the parent's subprocess pipes and

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Jython's *$py.class files are byte-compiled modules, not extension modules. There should be a way to disable generation of *.pyo files on command line even if setup.cfg enables it. IMHO it would make more sense if

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Jython's *$py.class files are byte-compiled modules, not extension modules. Thanks for the data point. Agreed distutils[2] should not say “pyc” and “pyo” then. There should be a way to disable generation of *.pyo files on command line even

[issue12119] distutils and python -B

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Please don't backport this change to distutils without backporting --no-compile options to build command in distutils (issue #13400). Otherwise users would lose possibility of disabling byte-compilation during

[issue12119] distutils and python -B

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Please don't backport this change to distutils without backporting --no-compile options to build command in distutils (issue #13400). The feature freeze on distutils rules this out. Otherwise users would lose possibility of disabling

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: --byte-compile=arguments is a good idea. (Gentoo uses py_compile and compileall modules.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13400

[issue13492] ./configure --with-system-ffi=LIBFFI-PATH

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc, belopolsky versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13492

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for all the feedback! So, for anyone interested in contributing, two patches are needed: One that changes the existing options to use the new names and parsing behavior (--no-compile, --compile[=0,1,2]) and adds tests for the erroneous

[issue7111] abort when stderr is closed

2011-11-28 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Updated patch. LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7111 ___ ___

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Thanks, Éric. That looks good. I'll keep that HTML title thing in mind. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12307

[issue7111] abort when stderr is closed

2011-11-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f15943505db0 by Antoine Pitrou in branch '3.2': Issue #7111: Python can now be run without a stdin, stdout or stderr stream. http://hg.python.org/cpython/rev/f15943505db0 New changeset c86fb10eaf68 by Antoine Pitrou

[issue7111] abort when stderr is closed

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks, committed. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7111

[issue13487] inspect.getmodule fails when module imports change sys.modules

2011-11-28 Thread Erik Tollerud
Erik Tollerud erik.tolle...@gmail.com added the comment: The package that triggers it for me is the py (http://pypi.python.org/pypi/py) package - when in gets imported, it does some trick with sys.modules that is in place to get around some pickling restriction, but that means sys.modules is

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: A 2.7 OS X buildbot segfaults in test_unicode since 0cd197f13400 : http://www.python.org/dev/buildbot/all/builders/AMD64 Snow Leopard 2 2.7/builds/409/steps/test/logs/stdio test_unicode make: *** [buildbottest] Segmentation fault

[issue13487] inspect.getmodule fails when module imports change sys.modules

2011-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: When a package is imported sys.modules changes... nothing special here. But it's true true that py.std, for example, is a lazy module with a special __getattr__ that will import submodules. Patch looks good to me as well. --

[issue11379] Remove lightweight from minidom description

2011-11-28 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Ok, so, what do we make of this? I proposed improvements to the wording in the documentation, which make it much clearer for users what they are buying into when they start using minidom. I still think that factually correct but

[issue12119] distutils and python -B

2011-11-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12119 ___ ___

[issue13495] IDLE: Regression - Two ColorDelegator instances loaded

2011-11-28 Thread Roger Serwy
New submission from Roger Serwy roger.se...@gmail.com: Two instances of ColorDelegator are in the percolator chain. This is a regression from 2.x. The problem can be found in __init__ of EditorWindow in EditorWindow.py. Calling io.loadfile eventually calls filename_change_hook (See

[issue13434] time.xmlrpc.com dead

2011-11-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset da148f0d86bd by Antoine Pitrou in branch '3.2': Issue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test. http://hg.python.org/cpython/rev/da148f0d86bd New changeset 1330beac9ec9 by Antoine Pitrou

[issue13434] time.xmlrpc.com dead

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13434 ___

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: A 2.7 OS X buildbot segfaults in test_unicode since 0cd197f13400 http://www.python.org/dev/buildbot/all/builders/AMD64 Snow Leopard 2 2.7/builds/409/steps/test/logs/stdio Hum, I'm unable to reproduce the crash on Linux or Mac OS

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I am able to reproduce the problem on 2.7 OS X 10.7 64-bit. unicode._encodedecimal is gobbling up memory. Looks like length is incorrect. Breakpoint 1, unicode_encodedecimal (self=0x0, args=0x1007ce0d0) at

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Daniel Sturm
New submission from Daniel Sturm voodoo...@gmail.com: The mid index computation in _bisectmodule.c in both internal_bisect_right and internal_bisect_left is done with: mid = (lo + hi) / 2; // all three variables Py_ssize_t which is susceptible to overflows for large arrays, which would lead

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +mark.dickinson, rhettinger versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13496

[issue13486] msvc9compiler.py doesn't properly generate manifest files.

2011-11-28 Thread Mark Hammond
Mark Hammond skippy.hamm...@gmail.com added the comment: A manifest seems to be currently created fine - can you provide steps to reproduce the problem you see? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13486

[issue13481] Use an accurate clock in timeit

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Are CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC and CLOCK_REALTIME more accurate than gettimeofday (time.time)? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: This looks like a reasonable suggestion. -- assignee: - rhettinger priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13496

[issue13465] A Jython section in the dev guide would be great

2011-11-28 Thread Frank Wierzbicki
Frank Wierzbicki fwierzbi...@gmail.com added the comment: I'll take a look at the dev guide this week and see how much it differs from what I'd want to do and report back here. If it doesn't make sense to include a Jython page here I can either copy content over or link to the CPython dev

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: EKIT.patch is not correct: it fails to find mvwchgat() on Linux, whereas the function is present. The test program is not linked to curses nor ncurses. Solaris has both traditional System V curses and an XPG4-compatible curses

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2011-11-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3786 ___

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3786 ___ ___ Python-bugs-list mailing

[issue10278] add time.wallclock() method

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: wallclock-2.patch: implement wallclock() using the new clock_getime(CLOCK_MONOTONIC) function (or other, depending on the OS). I removed description on how the function is implemented from the doc. -- Added file:

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Tim Peters
Tim Peters tim.pet...@gmail.com added the comment: FWIW, I doubt there's a real issue here. Objects in Python consume a lot more than a byte or two of memory, so the index range of a Python list is generally a lot less than ssize_t allows for. In other words, quantify large in large arrays.

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The patch is ok on the principle, but we do need a check that CLOCK_MONOTONIC is supported at build time. timemodule.c is now using #ifdef CLOCK_MONOTONIC. -- ___ Python tracker

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3ecddf168f1f by Victor Stinner in branch '2.7': Issue #13093: Fix _testcapi.unicode_encodedecimal() http://hg.python.org/cpython/rev/3ecddf168f1f -- ___ Python tracker

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Looks like length is incorrect. Oh ok, _testcapimodule.c is sssize_t safe in Python 3, not in Python 2. Can you please try with the last tip? -- ___ Python tracker

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Marc-Andre is right, a runtime check is probably also needed. (for example with mismatching kernel/libc) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12822

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: pthread_condattr_setclock() result should be checked. The pthread_condattr_setclock() function may fail if: EINVAL The value specified by clock_id does not refer to a known clock, or is a CPU-time clock. --

[issue10278] add time.wallclock() method

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: As discussed elsewhere, there should be a fallback when clock_gettime() fails for the given clock. -- stage: committed/rejected - patch review ___ Python tracker rep...@bugs.python.org

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Daniel Sturm
Daniel Sturm voodoo...@gmail.com added the comment: TBH I saw this more as an opportunity to get used to the whole system, how to create a patch, etc. :) Should've made it clearer at the start that this is unlikely to ever be a problem, sorry (didn't see a way to set priority to low myself).

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: That fixes it. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13093

[issue13492] ./configure --with-system-ffi=LIBFFI-PATH

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Also see issue4130. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13492 ___ ___

[issue12945] ctypes works incorrectly with _swappedbytes_ = 1

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Without seeing a specific example of what you are trying to do, it is hard to tell whether ctypes would be a good fit. I am closing this issue since the original questions have been answered. Please open a new issue if you think ctypes could

[issue13096] ctypes: segfault with large POINTER type names

2011-11-28 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- assignee: - meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13096 ___ ___ Python-bugs-list

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-28 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- assignee: - meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___ Python-bugs-list

[issue11427] ctypes from_buffer no longer accepts bytes

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: benrg, any further interest in this? If so, please comment on my last reply. Otherwise, I am closing this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11427

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread python_hu
python_hu nari...@163.com added the comment: thanks a lot. as your surggest,i try python2.7.2,but when i build it on AIX 6.1, it can not compile success,breaked by xlc_c console. Informations: checking size of double... 8 checking size of long double... 8 checking whether byte ordering is

[issue13494] 'cast' any value to a Boolean?

2011-11-28 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: 'bool' is just one of many conversion functions that convert their argument to the type they designate. Does this doc problem only exist for 'bool' or also for 'int', 'float' and others? -- nosy: +eli.bendersky

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread python_hu
python_hu nari...@163.com added the comment: By the way,i have compared the configure.in with Python-2.7_shared_AIX.diff in Issue941346,and can not find any modification of building share library on AIX in Python 2.7.2' source code. -- ___ Python

[issue13096] ctypes: segfault with large POINTER type names

2011-11-28 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Here is a small patch against tip. OK? -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file23800/issue13096.patch ___ Python tracker rep...@bugs.python.org

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
Changes by vterron quinta...@gmail.com: Removed file: http://bugs.python.org/file23477/issue13223.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13223 ___

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
vterron quinta...@gmail.com added the comment: Patch updated with the test cases. I have added a third class to Lib/test/pydoc_mod.py and updated two of the existing cases, test_text_doc and test_html_doc, accordingly. The news entry could be: Issue #13223: Fix pydoc.writedoc so that the HTML

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2011-11-28 Thread vterron
Changes by vterron quinta...@gmail.com: Added file: http://bugs.python.org/file23802/issue13223_python2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13223 ___

[issue4502] Allowing get_pre_input_hook from Readline

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Extension Modules -Library (Lib) stage: - test needed versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4502

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6766 ___

[issue12771] 2to3 -d adds extra whitespace

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson stage: - test needed type: - behavior versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12771

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6167 ___

[issue11113] html.entities mapping dicts need updating?

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3 ___ ___

[issue11001] Various obvious errors in cookies documentation

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +petri.lehtinen stage: - patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11001

[issue5815] locale.getdefaultlocale() missing corner case

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5815

[issue3665] Support \u and \U escapes in regexes

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +mrabarnett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3665 ___ ___ Python-bugs-list

[issue10052] Python/dtoa.c:158: #error Failed to find an exact-width 32-bit integer type (FreeBSD 4.11 + gcc 2.95.4)

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10052 ___

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ncoghlan versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7238 ___

[issue8065] Memory leak in readline.get_current_history_length

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8065 ___ ___

[issue12790] doctest.testmod does not run tests in functools.partial functions

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12790 ___

[issue12919] Control what module is imported first

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___ ___

[issue1877] unhelpful error when calling python dirname

2011-11-28 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1877 ___ ___ Python-bugs-list

[issue1040439] Missing documentation on How To Link With libpython

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -BreamoreBoy stage: - needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1040439 ___

  1   2   >