[GHC] #9184: Allow the use of Python 3 when building GHC
GHC
ghc-devs at haskell.org
Wed Oct 1 21:41:34 UTC 2014
#9184: Allow the use of Python 3 when building GHC
-------------------------------------+-------------------------------------
Reporter: aspidites | Owner: monoidal
Type: feature | Status: patch
request | Milestone:
Priority: normal | Version: 7.8.2
Component: Build | Keywords: python
System | Architecture: Unknown/Multiple
Resolution: | Difficulty: Easy (less than 1
Operating System: | hour)
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D233 |
-------------------------------------+-------------------------------------
Comment (by Krzysztof Gogolewski <krz.gogolewski@…>):
In [changeset:"084d241b316bfa12e41fc34cae993ca276bf0730/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="084d241b316bfa12e41fc34cae993ca276bf0730"
Basic Python 3 support for testsuite driver (Trac #9184)
Summary:
Most of the changes is adaptation of old Python 2 only code.
My priority was not breaking Python 2, and so I avoided bigger
changes to the driver. In particular, under Python 3 the output
is a str and buffering cannot be disabled.
To test, define PYTHON=python3 in testsuite/mk/boilerplate.mk.
Thanks to aspidites <emarshall85 at gmail.com> who provided the initial
patch.
Test Plan: validate under 2 and 3
Reviewers: hvr, simonmar, thomie, austin
Reviewed By: thomie, austin
Subscribers: aspidites, thomie, simonmar, ezyang, carter
Differential Revision: https://phabricator.haskell.org/D233
GHC Trac Issues: #9184
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9184#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list