[GHC] #12909: Python 3.2 doesn't support Unicode literal syntax
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Simonpj noticed that the Python 3.2 interpreter on his Ubuntu 12.04 installation doesn't support Unicode literal syntax (e.g. `u'hello'`). Indeed it seems this syntax was dropped in Python 3 and later re- introduced in Python 3.3 (https://www.python.org/dev/peps/pep-0414/). At this point we have a decision to make: Either drop the uses of Unicode literals in the driver (and, consequently, support for Python 2) or keep things as they are and demand Python >3.3. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2778 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * differential: => Phab:D2778 Comment: We are going to move ahead with dropping Python 2 support. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9184 | Differential Rev(s): Phab:D2778 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * related: => #9184 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9184 | Differential Rev(s): Phab:D2778 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"7214e924ca690946288ccf681ef652cee3cb114c/ghc" 7214e92/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="7214e924ca690946288ccf681ef652cee3cb114c" testsuite: Remove Unicode literals from driver They are not supported by Python 3.0, 3.1, and 3.2 (but are supported by
= 3.3; silliness!)
Test Plan: Validate on python 3.2 Reviewers: austin Subscribers: simonpj, thomie Differential Revision: https://phabricator.haskell.org/D2778 GHC Trac Issues: #12909, #9184 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9184 | Differential Rev(s): Phab:D2778 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12909: Python 3.2 doesn't support Unicode literal syntax -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9184 | Differential Rev(s): Phab:D2778 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"ddc271e8ed6c5ec5e83dd50c6c5e77955a0e90ac/ghc" ddc271e/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="ddc271e8ed6c5ec5e83dd50c6c5e77955a0e90ac" Travis: Add dependency on python3 The testsuite now requires python >=3.0. See #12909. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12909#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC