[issue17033] RPM spec file has old config_binsuffix value

2013-01-25 Thread Nick Coghlan
Nick Coghlan added the comment: Do we even *use* the spec file in Misc/RPM for anything any more? Should we just delete the entire directory? (Added Sean and Dave Malcolm to the nosy list) -- nosy: +dmalcolm, jafo ___ Python tracker

[issue17037] Add conforms_to_pep399() to test.support

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

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2013-01-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
Eric Snow added the comment: One step I left out is handling the whole pickle/copyreg case outlined by #16817. -- ___ Python tracker ___

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
Eric Snow added the comment: One lingering doubt I have is about how I throw the two new test case classes into the globals. They're already getting bound, as a pair, to the original test class's name... -- ___ Python tracker

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-25 Thread Eric Snow
Eric Snow added the comment: So the current solution is to temporarily put the relevant module in place in sys.modules, right? That seems to be the solution that Stefan recommended and used in the decimal module. Sounds good to me. I'm hitting this while doing the PEP 399 two-step for the co

[issue17037] Add conforms_to_pep399() to test.support

2013-01-25 Thread Eric Snow
New submission from Eric Snow: Related to issue #16817 and to my efforts on a C OrderedDict, I think it would be nice to have a class decorator that handles most of the PEP 399 requirements for you. The attached patch adds such a decorator to test.support. -- assignee: eric.snow compo

[issue16991] Add OrderedDict written in C

2013-01-25 Thread Eric Snow
Eric Snow added the comment: Here's a cleanup of test.test_collections that helps keep the subsequent patch (still forthcoming) cleaner. -- Added file: http://bugs.python.org/file28839/cleanup-test-collections.diff ___ Python tracker

[issue16991] Add OrderedDict written in C

2013-01-25 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16770] Selection in IDLE often skips first character

2013-01-25 Thread Irwin Jungreis
Irwin Jungreis added the comment: I have reopened this issue because there are still cases where it does not work. I installed 8.5.13 and the IDLE patch as suggested. That fixed the particular case that I had used to demonstrate the problem (a file containing just two characters M1). However,

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

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

[issue16651] Find out what stdlib modules lack a pure Python implementation

2013-01-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- dependencies: +Add OrderedDict written in C nosy: +ezio.melotti type: -> enhancement ___ Python tracker ___

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: The select module may need more work. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: I tested 9bdfa1a3ea8c.patch on Fedora 16 (Linux 3.6, glibc 2.14), Debian Etch (Linux 2.6.19), OpenBSD 5.2, OpenIndiana, FreeBSD 8.2, Windows 7. I tested both cases (works/not supported) for O_CLOEXEC and SOCK_CLOEXEC. For the WSA_FLAG_NO_HANDLE_INHERIT flag, I

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch of the latest revision. configure and Python/importlib.h must be regenerated (are not part of the diff). -- Added file: http://bugs.python.org/file28837/9bdfa1a3ea8c.patch ___ Python tracker

[issue9253] argparse: optional subparsers

2013-01-25 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file28832/297b3529876a.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue17010] Windows launcher ignores active virtual environment

2013-01-25 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Interpreter Core -Installation nosy: +brian.curtin, tim.golden, vinay.sajip stage: -> needs patch versions: +Python 3.4 ___ Python tracker _

[issue17015] mock could be smarter and inspect the spec's signature

2013-01-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1674555] sys.path in tests contains system directories

2013-01-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16769] Remove some old Visual Studio versions from PC/ directory

2013-01-25 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyt

[issue16769] Remove some old Visual Studio versions from PC/ directory

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01bbac9369e8 by Brian Curtin in branch 'default': Fix #16769. Remove outdated Visual Studio project directories for VC6, VS7.1, and VS8. http://hg.python.org/cpython/rev/01bbac9369e8 -- nosy: +python-dev ___

[issue16979] Broken error handling in codecs.unicode_escape_decode()

2013-01-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a set of patches for all versions (patch for 3.4 updated). -- Added file: http://bugs.python.org/file28833/unicode_escape_decode_error_handling-2.7.patch Added file: http://bugs.python.org/file28834/unicode_escape_decode_error_handling-3.2.pa

[issue16979] Broken error handling in codecs.unicode_escape_decode()

2013-01-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file28752/unicode_escape_decode_error_handling-3.4.patch ___ Python tracker ___ __

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2013-01-25 Thread Roumen Petrov
Roumen Petrov added the comment: Matthias Klose wrote: > 2-CROSS-set-_PYTHON_PROJECT_BASE-to-current-build-dir.patch > I'll use abs_builddir instead. Yes after some fixes related to issue 15819 (msg173144) this is preferred. Roumen -- ___ Python trac

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread R. David Murray
R. David Murray added the comment: Excellent. Thanks for testing. And thanks for pointing out the duplicate, Peter. -- assignee: ronaldoussoren -> resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Value returned by random.random() out of v

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Floris van Manen
Floris van Manen added the comment: On 25 Jan 2013, at 22:27, Stefan Krah wrote: > Then always call python with the full path. If your app is a simple > script, t ok, managed to install the extra packages and run the app. Seems to work correctly now, no more random() >= 1.0 (thanks!) .F -

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +patch Added file: http://bugs.python.org/file28832/297b3529876a.diff ___ Python tracker ___

[issue17036] Implementation of the PEP 433: Easier suppression of file descriptor inheritance

2013-01-25 Thread STINNER Victor
New submission from STINNER Victor: I create this issue to review and track the implementation of the PEP 433: "Easier suppression of file descriptor inheritance" http://www.python.org/dev/peps/pep-0433/ -- components: Interpreter Core hgrepos: 173 messages: 180630 nosy: haypo priority:

[issue16980] SystemError in codecs.unicode_escape_decode()

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset dcbc16afd6bc by Serhiy Storchaka in branch '3.3': Issue #16980: Fix processing of escaped non-ascii bytes in the http://hg.python.org/cpython/rev/dcbc16afd6bc New changeset d8c2ce63f5a4 by Serhiy Storchaka in branch 'default': Issue #16980: Fix proc

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Floris van Manen
Floris van Manen added the comment: On 25 Jan 2013, at 22:27, Stefan Krah wrote: > Then always call python with the full path. If your app is a simple > script, then: > > /tmp/usr/bin/python app.py ok. and how do i add extra packages to that new python version ? e.g. i need to install pyyam an

[issue16975] Broken error handling in codecs.escape_decode()

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5970c90dd8d1 by Serhiy Storchaka in branch '2.7': Issue #16975: Fix error handling bug in the escape-decode decoder. http://hg.python.org/cpython/rev/5970c90dd8d1 New changeset 22594c5060eb by Serhiy Storchaka in branch '3.2': Issue #16975: Fix erro

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Stefan Krah
Stefan Krah added the comment: Floris van Manen wrote: > Did compile that version and it launches. > To test with my code i do not want to have it interfere with my current > version. > I remember it is possible to setup n isolated environment with pip en > virtualenv. > But i never did this s

[issue16651] Find out what stdlib modules lack a pure Python implementation

2013-01-25 Thread Eric Snow
Eric Snow added the comment: Also missing a pure-Python implementation: collections.defaultdict (relatively trivial) collections.deque In the spirit of what Brett said, I found that PyPy has an implementation already: https://bitbucket.org/pypy/pypy/src/default/lib_pypy/_collections.py Jyt

[issue17035] Use new style classes in {class, static}method examples

2013-01-25 Thread Berker Peksag
New submission from Berker Peksag: The examples in the built-in functions documentation[1] should be consistent and use new style classes. [1] http://docs.python.org/2.7/library/functions.html -- assignee: docs@python components: Documentation files: new-style-classes.diff keywords: pa

[issue10156] Initialization of globals in unicodeobject.c

2013-01-25 Thread Stefan Krah
Stefan Krah added the comment: Nice. I think the latest patches are commit-ready. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue16235] Add python-config.sh for use during cross compilation.

2013-01-25 Thread Ray Donnelly
Ray Donnelly added the comment: Great. My only query is whether the changes to sed will work on non-GNU sed. It used to be like: sed < in >out you've now got: sed in >out I'm not saying it won't work, I'm not in a position to check, but I think it's safer to keep it as it was. -- __

[issue12641] Remove -mno-cygwin from distutils

2013-01-25 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue17034] Initialization of globals in stringobject.c

2013-01-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The patch for stringobject.c is similar to patch for unicodeobject.c in issue10156, but more simpler. -- components: Interpreter Core files: string_globals.patch keywords: patch messages: 180621 nosy: serhiy.storchaka, skrah priority: normal severit

[issue11049] add tests for test.support

2013-01-25 Thread R. David Murray
R. David Murray added the comment: Sure. It doesn't seem likely that I'll get back to it any time soon, and if I do I can open a new issue. -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2013-01-25 Thread Mark Dickinson
Mark Dickinson added the comment: Issue #12973 is the one that led to the eventual fix. Closing this as a duplicate. -- resolution: -> duplicate status: open -> closed superseder: -> int_pow() implementation is incorrect ___ Python tracker

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2013-01-25 Thread Mark Dickinson
Mark Dickinson added the comment: I believe the int_pow issue has been resolved, so this bug shouldn't show up in any of the current branches, regardless of which version of Clang is used. -- ___ Python tracker __

[issue10156] Initialization of globals in unicodeobject.c

2013-01-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The 2.7 comments also apply to the 3.2 patch. Otherwise the 3.2 patch > (without the _sre changes :) looks good to me. Patches updated addressing new Stefan's comments. Unicode globals no longer reinitialized in _PyUnicode_Init(). Note that I have added a c

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Floris van Manen
Floris van Manen added the comment: On 25 Jan 2013, at 19:35, Stefan Krah wrote: > > Stefan Krah added the comment: > > Floris van Manen wrote: >> From what i understand is that issue14591 was able to reproduce the same >> feature as it seems related to the jumpahead() malfunctioning. > >

[issue17032] Misleading error message: global name 'X' is not defined

2013-01-25 Thread Éric Araujo
Éric Araujo added the comment: Dropping global sounds good. (Let’s not replace name with variable though!) -- nosy: +eric.araujo versions: -Python 3.5 ___ Python tracker ___ __

[issue17033] RPM spec file has old config_binsuffix value

2013-01-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +ncoghlan stage: -> patch review versions: +Python 3.2, Python 3.4 ___ Python tracker ___ ___ Pytho

[issue13047] imp.find_module("") and imp.find_module(".")

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13048] Handling of paths in first argument of imp.find_module()

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11676] Improve imp.load_module and submodules doc

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: imp.find_module() is now deprecated, so not worrying about adding more details to the docs for the function. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue10588] imp.find_module raises unexpected SyntaxError

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: imp.find_module() is now documented as deprecated, so changing the mode that files are opened in would change backwards-compatibility but wouldn't be worth it. -- resolution: -> out of date status: open -> closed ___

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

2013-01-25 Thread Ezio Melotti
Ezio Melotti added the comment: It's not necessary to include the commit message and/or use "hg export" though, since we don't import patches directly and we write the message ourself when we commit. > (... is there a better way to upload three files?) You need to upload them individually and

[issue3329] API for setting the memory allocator used by Python

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12693] test.support.transient_internet prints to stderr when verbose is false

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2013-01-25 Thread Éric Araujo
Éric Araujo added the comment: > I'm not sure how to make hg include a commit message in the patch... See hg help export. (In Mercurial, the only objects are changesets; hg log trawls through commit messages (with options to see short text, full text, diff), hg diff only shows diff, and hg exp

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: Is this still a problem in clang 3.2? -- status: open -> pending ___ Python tracker ___ ___ Python-bug

[issue11049] add tests for test.support

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue11049] add tests for test.support

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: Can this be closed, David? -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mail

[issue12648] Wrong import module search order on Windows

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12652] Keep test.support docs out of the global docs index

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12583] More detailed ImportError messages

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: Closing as circular imports are not as much of a problem in Python 3.3, ImportError now has informational attributes, and namespace packages took care of the usefulness of ImportWarning. -- assignee: -> brett.cannon resolution: -> out of date status: o

[issue762963] timemodule.c: Python loses current timezone

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue4180] warnings.simplefilter("always") does not make warnings always show up

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue3099] On windows, "import nul" always succeed

2013-01-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16972] Useless function call in site.py

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the bug report, Kirill! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue16972] Useless function call in site.py

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c0197c95ec6 by Brett Cannon in branch 'default': Issue #16972: Have site.addpackage() consider known paths even when http://hg.python.org/cpython/rev/2c0197c95ec6 -- nosy: +python-dev ___ Python tracker

[issue15031] Split .pyc parsing from module loading

2013-01-25 Thread Brett Cannon
Brett Cannon added the comment: Nick's suggestions done in changeset 792810303239 . -- status: open -> closed ___ Python tracker ___ _

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Stefan Krah
Stefan Krah added the comment: Floris van Manen wrote: > From what i understand is that issue14591 was able to reproduce the same > feature as it seems related to the jumpahead() malfunctioning. I'm also quite sure that it's the same issue. It would be nice to have confirmation though. If you

[issue9290] IDLE and Command line present different behavior for sys.stdin

2013-01-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17020] random.random() generating values >= 1.0

2013-01-25 Thread Floris van Manen
Floris van Manen added the comment: On 25 Jan 2013, at 11:07, Stefan Krah wrote: > > Stefan Krah added the comment: > >> It is in the combination with jumpahead(), getstate(), setstate() that >> you'll experience random() to produce values >= 1.0 > > Let me reiterate what David said: Can you

[issue16235] Add python-config.sh for use during cross compilation.

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: so here is what I intend to commit. - --help now does exit with 0 (same as the python script) - removed the abi safety check (always compares the same two strings) - build the script for the build target, so that it can be checked before installing it.

[issue17031] fix running regen in cross builds

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff5cf42136b3 by doko in branch '3.3': - Issue #17031: Fix running regen in cross builds. http://hg.python.org/cpython/rev/ff5cf42136b3 New changeset 1942987921e9 by doko in branch 'default': - Issue #17031: Fix running regen in cross builds. http://

[issue17031] fix running regen in cross builds

2013-01-25 Thread Matthias Klose
Changes by Matthias Klose : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue17027] support for drag and drop of files to tkinter application

2013-01-25 Thread Ned Deily
Ned Deily added the comment: A feature like drag-and-drop seems like something that needs to be provided at either the application level or within Tk or both. While there is apparently no built-in Tk support for drag-and-drop, it appears to be possible to use a Tk extension that provides that

[issue17028] launcher does not read shebang line when arguments are given

2013-01-25 Thread Thomas Heller
Changes by Thomas Heller : -- title: launcher -> launcher does not read shebang line when arguments are given ___ Python tracker ___ _

[issue17031] fix running regen in cross builds

2013-01-25 Thread Éric Araujo
Éric Araujo added the comment: Not an autotools expert, but patch looks good. Apparently 3.3 is still open to such changes. -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue1602133] non-framework python fails to define os.environ properly

2013-01-25 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- stage: commit review -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker ___

[issue1602133] non-framework python fails to define os.environ properly

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 864b9836dae6 by Ronald Oussoren in branch '2.7': Issue #1602133: 'environ' is not really available with shared libraries on OSX http://hg.python.org/cpython/rev/864b9836dae6 New changeset ea9fd9c9c677 by Ronald Oussoren in branch '3.2': Issue #16021

[issue17033] RPM spec file has old config_binsuffix value

2013-01-25 Thread Taavi Burns
Taavi Burns added the comment: The diff against 3.3. -- Added file: http://bugs.python.org/file28824/python-3.3.spec.diff ___ Python tracker ___ _

[issue17033] RPM spec file has old config_binsuffix value

2013-01-25 Thread Taavi Burns
New submission from Taavi Burns: Looking at the Misc/RPM/python-X.X.spec files, they seem to be slightly out of date. Near the top of the file is a config_binsuffix configuration setting that is "2.6" for both the 2.7 and 3.3 branches! I suspect that it should be updated with the version and l

[issue3871] cross and native build of python for mingw* hosts

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: some random comments about py3k-20121004-MINGW.patch: - Modules/_ctypes/libffi_msvc/win32.S Please can you get rid of libffi_msvc and use libffi? afaics, libffi has support for mingw32. - there seem to be chunks which are unrelated to mingw, like: @@ -830,

[issue3754] cross-compilation support for python build

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: about py3k-20121004-CROSS.tgz: - committed 0001-CROSS-fix-typo-in-thread-AC_CACHE_VAL.patch - 0002-CROSS-restore-graminit.-to-source-directory.patch is this necessary? Assuming that you have correct time stamps, this is something which usually is not built

[issue15484] CROSS: use _PYTHON_PROJECT_BASE in distutils sysconfig

2013-01-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected versions: +Python 3.4 ___ Python tracker ___ ___ Pyth

[issue16292] Cross compilation fixes (general)

2013-01-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected versions: +Python 3.3 ___ Python tracker ___ ___ Pyth

[issue17032] Misleading error message: global name 'X' is not defined

2013-01-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 on Ezio's idea. -- nosy: +ramchandra.apte ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17032] Misleading error message: global name 'X' is not defined

2013-01-25 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe we could just drop the 'global'. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-l

[issue17032] Misleading error message: global name 'X' is not defined

2013-01-25 Thread Ram Rachum
New submission from Ram Rachum: Every single time I see the error message `global name 'X' is not defined` I say to myself, "ah yeah, I mistyped a variable name." But then it occurred to me, why should I have to do this mental translation from "global name not defined" to "I mistyped a variabl

[issue3754] cross-compilation support for python build

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11a18263ceb7 by doko in branch '2.7': - Issue #3754: fix typo in pthread AC_CACHE_VAL. http://hg.python.org/cpython/rev/11a18263ceb7 New changeset e28b30e6eee6 by doko in branch '3.2': - Issue #3754: fix typo in pthread AC_CACHE_VAL. http://hg.pytho

[issue8478] tokenize.untokenize first token missing failure case

2013-01-25 Thread Thomas Kluyver
Thomas Kluyver added the comment: #16224 appears to be a duplicate. There seem to be several quite major issues with untokenize - see also #12691 - with patches made to fix them. Is there anything I can do to help push these forwards? -- ___ Python

[issue16224] tokenize.untokenize() misbehaves when moved to "compatiblity mode"

2013-01-25 Thread Thomas Kluyver
Thomas Kluyver added the comment: I think this is a duplicate of #8478. -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-lis

[issue9290] IDLE and Command line present different behavior for sys.stdin

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset def4cd7e0a9f by Serhiy Storchaka in branch '2.7': Issue #9290: In IDLE the sys.std* streams now implement io.TextIOBase http://hg.python.org/cpython/rev/def4cd7e0a9f New changeset 0d26f3aa7a8f by Serhiy Storchaka in branch '3.2': Issue #9290: In IDL

[issue17031] fix running regen in cross builds

2013-01-25 Thread Matthias Klose
New submission from Matthias Klose: currently regen calls the python interpreter for the host, not the build machine. You can't directly use BUILD_FOR_PYTHON, because this one uses ./python explicitly, so use BUILDPYTHON instead. I'd like to see this for 3.3 and the trunk. -- assignee

[issue15483] CROSS: initialise include and library paths in setup.py

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: I don't think this one is still necessary. can it be closed? -- nosy: +doko ___ Python tracker ___ _

[issue10782] Not possible to cross-compile due to poor detection of %lld support in printf

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: in 3.3 and later, the test defaults to no when cross-building. If gcc is used for the cross build, then a compile test is used. it is usually needed to provide some values in a CONFIG_SITE file. See autoconf for the details. closing the issue. -- no

[issue3718] environment variable MACHDEP and python build system

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: the change to the configure script looks ok. however you could change the README too. It looks like the changes to the Makefile.pre.in are already applied. -- nosy: +doko ___ Python tracker

[issue17030] strange import visibility

2013-01-25 Thread Stephan
Stephan added the comment: Thanks! I was not aware of this yet. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue17029] h2py.py: search the multiarch include dir if it does exist

2013-01-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16292] Cross compilation fixes (general)

2013-01-25 Thread Matthias Klose
Matthias Klose added the comment: updated the comment, the fixes for the duplicate issues are checked in. -- status: open -> closed ___ Python tracker ___ ___

[issue16292] Cross compilation fixes (general)

2013-01-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c97d2d464ad by doko in branch '3.3': - Issue #16292: Improve a comment for cross building in configure.ac http://hg.python.org/cpython/rev/4c97d2d464ad New changeset 4feff8c8250b by doko in branch 'default': - Issue #16292: Improve a comment for cr

  1   2   >