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

2011-11-28 Thread Sébastien Sablé
Sébastien Sablé 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. -- ___ Python tracker

[issue13481] Use an accurate clock in timeit

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think this should be rejected. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-lis

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

2011-11-28 Thread Michael Kraus
New submission from Michael Kraus : 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 Enterprise Server. Libf

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

2011-11-28 Thread Yevgen Yampolskiy
Yevgen Yampolskiy 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 : 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 module,it works

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

2011-11-28 Thread Weeble
Weeble 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 various arrangements of

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

2011-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 __

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

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: See http://bugs.python.org/issue12119#msg146943 -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2011-11-28 Thread Éric Araujo
Éric Araujo 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 module

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

2011-11-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +mhammond ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Éric Araujo
Éric Araujo 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. -- as

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

2011-11-28 Thread Mark Dickinson
New submission from Mark Dickinson : 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 replacing 'c

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

2011-11-28 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: 1b7fed04108c should help make figure out that it needs to rebuild. -- ___ Python tracker ___ ___ Pytho

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: Rebuilt! (Another glitch: plain text PEPs really should have an HTML title. If you have time.. :) -- ___ Python tracker ___ ___

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

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: Is subprocess affected by PYTHONIOENCODING? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-28 Thread Éric Araujo
Éric Araujo 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 __

[issue13491] Fixes for sqlite3 doc

2011-11-28 Thread Éric Araujo
Éric Araujo 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 done because the

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

2011-11-28 Thread Éric Araujo
Éric Araujo 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: -Python 3.1

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread Éric Araujo
Changes by Éric Araujo : -- 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 ___ Python trac

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Sébastien Sablé
Sébastien Sablé 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 test suite (crash dumps). I

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

2011-11-28 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2011-11-28 Thread Meador Inge
Meador Inge added the comment: +1 -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Brian Curtin
Brian Curtin 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 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 'default': Issue #12618: py_compile can

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Meador Inge
Meador Inge 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 for the fix Sjoe

[issue12618] py_compile cannot create files in current directory

2011-11-28 Thread Meador Inge
Changes by Meador Inge : -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue13210] Support Visual Studio 2010

2011-11-28 Thread Éric Araujo
Éric Araujo 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 pulls will only pul

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

2011-11-28 Thread STINNER Victor
STINNER Victor added the comment: > Is subprocess affected by PYTHONIOENCODING? Yes, as any Python process. -- ___ Python tracker ___ ___

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

2011-11-28 Thread Éric Araujo
Éric Araujo 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 ___ Python tracker

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

2011-11-28 Thread R. David Murray
R. David Murray added the comment: If you decide this is only a doc bug, please see also related issue 12832. -- nosy: +r.david.murray ___ Python tracker ___

[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 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 ___ Python track

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

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou 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 that's what

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

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis 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 --optimize-bytecode was

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

2011-11-28 Thread Éric Araujo
Éric Araujo 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 if > setup.cfg

[issue12119] distutils and python -B

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis 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 running this command. dist

[issue12119] distutils and python -B

2011-11-28 Thread Éric Araujo
Éric Araujo 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 byte-compilation du

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

2011-11-28 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: --byte-compile=arguments is a good idea. (Gentoo uses py_compile and compileall modules.) -- ___ Python tracker ___ _

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

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc, belopolsky versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ ___

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

2011-11-28 Thread Éric Araujo
Éric Araujo 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 --compile=1,2 (ot

[issue7111] abort when stderr is closed

2011-11-28 Thread Charles-François Natali
Charles-François Natali added the comment: > Updated patch. > LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-28 Thread Eric Snow
Eric Snow added the comment: Thanks, Éric. That looks good. I'll keep that HTML title thing in mind. :) -- ___ Python tracker ___

[issue7111] abort when stderr is closed

2011-11-28 Thread Roundup Robot
Roundup Robot 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 in branch 'default': Issue #7111

[issue7111] abort when stderr is closed

2011-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks, committed. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

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

2011-11-28 Thread Erik Tollerud
Erik Tollerud 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 altered during the impor

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Charles-François Natali
Charles-François Natali 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 program finished

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

2011-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 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 clearly misleading documentat

[issue12119] distutils and python -B

2011-11-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13495] IDLE: Regression - Two ColorDelegator instances loaded

2011-11-28 Thread Roger Serwy
New submission from Roger Serwy : 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 IOBinding.py's "set_filenam

[issue13434] time.xmlrpc.com dead

2011-11-28 Thread Roundup Robot
Roundup Robot 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 in branch 'default': Merge test_

[issue13434] time.xmlrpc.com dead

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread STINNER Victor
STINNER Victor 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 X Tiger. -- ___

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Ned Deily
Ned Deily 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 /Users/nad/Projects/PyDev/active/temp/u27-clang/Modules/_

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Daniel Sturm
New submission from Daniel Sturm : 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 to undefined behavi

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +mark.dickinson, rhettinger versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker ___

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

2011-11-28 Thread Mark Hammond
Mark Hammond added the comment: A manifest seems to be currently created fine - can you provide steps to reproduce the problem you see? -- ___ Python tracker ___ __

[issue13481] Use an accurate clock in timeit

2011-11-28 Thread STINNER Victor
STINNER Victor added the comment: Are CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC and CLOCK_REALTIME more accurate than gettimeofday (time.time)? -- nosy: +haypo ___ Python tracker __

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a reasonable suggestion. -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___

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

2011-11-28 Thread Frank Wierzbicki
Frank Wierzbicki 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 guide from the Jython one

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

2011-11-28 Thread STINNER Victor
STINNER Victor 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 that does include mvwchgat. T

[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 : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10278] add time.wallclock() method

2011-11-28 Thread STINNER Victor
STINNER Victor 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: http://bugs.python.org/file23799/wallc

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Tim Peters
Tim Peters 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". How large can a

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-28 Thread STINNER Victor
STINNER Victor 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 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 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 added the comment: Marc-Andre is right, a runtime check is probably also needed. (for example with mismatching kernel/libc) -- ___ Python tracker ___

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-28 Thread STINNER Victor
STINNER Victor 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 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 ___

[issue13496] bisect module: Overflow at index computation

2011-11-28 Thread Daniel Sturm
Daniel Sturm 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). If my math isn't c

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-28 Thread Ned Deily
Ned Deily added the comment: That fixes it. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2011-11-28 Thread Meador Inge
Meador Inge added the comment: Also see issue4130. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12945] ctypes works incorrectly with _swappedbytes_ = 1

2011-11-28 Thread Meador Inge
Meador Inge 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 be modified to sup

[issue13096] ctypes: segfault with large POINTER type names

2011-11-28 Thread Meador Inge
Changes by Meador Inge : -- assignee: -> meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2011-11-28 Thread Meador Inge
Changes by Meador Inge : -- assignee: -> meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11427] ctypes from_buffer no longer accepts bytes

2011-11-28 Thread Meador Inge
Meador Inge 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 ___

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread python_hu
python_hu 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 bigendian... yes c

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

2011-11-28 Thread Eli Bendersky
Eli Bendersky 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 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 tracker

[issue13096] ctypes: segfault with large POINTER type names

2011-11-28 Thread Meador Inge
Meador Inge 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 __

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

2011-11-28 Thread vterron
Changes by vterron : Removed file: http://bugs.python.org/file23477/issue13223.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-11-28 Thread vterron
vterron 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 documentation for

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

2011-11-28 Thread vterron
Changes by vterron : Added file: http://bugs.python.org/file23802/issue13223_python2.7.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue4502] Allowing get_pre_input_hook from Readline

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Extension Modules -Library (Lib) stage: -> test needed versions: +Python 3.3 -Python 3.2 ___ Python tracker ___

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

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> needs patch versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list maili

[issue12771] 2to3 -d adds extra whitespace

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +benjamin.peterson stage: -> test needed type: -> behavior versions: +Python 3.3 ___ Python tracker ___ _

[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 : -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11113] html.entities mapping dicts need updating?

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11001] Various obvious errors in cookies documentation

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +petri.lehtinen stage: -> patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ __

[issue5815] locale.getdefaultlocale() missing corner case

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker ___ _

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

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mrabarnett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[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 : -- stage: -> patch review versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[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 : -- nosy: +ncoghlan versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8065] Memory leak in readline.get_current_history_length

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12919] Control what module is imported first

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1877] unhelpful error when calling "python "

2011-11-28 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue1040439] Missing documentation on How To Link With libpython

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -BreamoreBoy stage: -> needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___

  1   2   >