[issue40790] Python should enable computed gotos on Mac by default

2020-06-01 Thread laike9m
laike9m added the comment: You're right. The part I don't understand is how `--without-computed-gotos` disabled the feature. Also I guess since this feature is meant to be transparent to users, it's ok to not have a way to inspect it. On Mon, Jun 1, 2020 at 12:51 AM Ronald Oussoren wrote: >

[issue40790] Python should enable computed gotos on Mac by default

2020-06-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: Looking at the source code at : computed gotos are enabled automatically when they are available. -- ___ Pytho

[issue40790] Python should enable computed gotos on Mac by default

2020-05-31 Thread laike9m
laike9m added the comment: Thanks Ronald. I wrote an answer to summarize what I got so far: https://stackoverflow.com/a/62037189/2142577 There's nothing wrong with the current behavior, so nothing really needs to be changed. But we still lack a way for users to check whether computed gotos i

[issue40790] Python should enable computed gotos on Mac by default

2020-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: The result of auto detection of computed gotos can be seen using the HAVE_COMPUTED_GOTOS macro, not the USE_... one. Computed gotos should work on macOS, and does on my machine. -- ___ Python tracker

[issue40790] Python should enable computed gotos on Mac by default

2020-05-27 Thread laike9m
laike9m added the comment: Hi Benjamin, do you mean that disabling computed gotos on Mac is the expected behavior? -- ___ Python tracker ___ _

[issue40790] Python should enable computed gotos on Mac by default

2020-05-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: The configure script sets the result of compiler probing with HAVE_COMPUTED_GOTOS not USE_COMPUTED_GOTOS. -- nosy: +benjamin.peterson resolution: -> works for me stage: -> resolved status: open -> closed ___ P

[issue40790] Python should enable computed gotos on Mac by default

2020-05-27 Thread laike9m
New submission from laike9m : Issue is described here with more details: https://stackoverflow.com/q/61860463/2142577 Basically, when building on Mac, Python should enable computed gotos by default, because it is supported (https://stackoverflow.com/a/62037189/2142577). The documentation(htt