[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-06 Thread Martin Panter
Martin Panter added the comment: Thanks Alex & Xavier. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec214654708f by Martin Panter in branch '2.7': Issue #27229: Comment in middle of shell command fails on BSD and OS X https://hg.python.org/cpython/rev/ec214654708f New changeset de5b85f96266 by Martin Panter in branch '3.5': Issue #27229: Comment i

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 619f7a2aa40a by Martin Panter in branch '3.5': Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye https://hg.python.org/cpython/rev/619f7a2aa40a New changeset 9902230b101f by Martin Panter in branch 'default': Issue #27229: Merge cross-co

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Martin Panter
Martin Panter added the comment: I was a little concerned that Alex’s patch used “test A -ef B”, which is not specified by Posix. But it is apparently widely supported (and consider we would only need it for cross compilation). Anyway, I was going to suggest test "$(srcdir)" == "." instead, bu

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes, those changes incorrectly assume that the source directory and the build directory are always different (using VPATH). Alex patch LGTM, this other patch overwrites the graminit.[ch] files, not sure if this is better. -- Added file: http://bugs.pyt

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Ned Deily
Ned Deily added the comment: The culprit appears to be the changes introduced for Issue22359 (c36b9ef8ff39 and friends). -- nosy: +martin.panter, ned.deily, xdegaye ___ Python tracker _

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-05 Thread Alex Willmer
New submission from Alex Willmer: While trying a cross compile of Python 3.6 I encountered the following alex@martha:~/src/cpython default☿ hg summary parent: 101753:31ad7885e2e5 Issue #27225: Fixed a reference leak in type_new when setting __new__ fails. branch: default commit: (clean) update