View previous topic :: View next topic |
Author |
Message |
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 24 Location: Italy
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Jan 30, 2017 7:55 pm Post subject: |
|
|
but ... why _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 24 Location: Italy
|
Posted: Mon Jan 30, 2017 9:27 pm Post subject: |
|
|
Because Gentoo is about choice |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Jan 30, 2017 10:06 pm Post subject: |
|
|
This was more todo with the entire concept of py28.
Backporting py3* features seems counter intuitive.
There were some low level PY instruction set issues that prompted the break _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 24 Location: Italy
|
Posted: Mon Jan 30, 2017 10:42 pm Post subject: |
|
|
It makes perfect sense to have Python3 features backported in a backwards compatible way when you have a large Python2 code base. See Perl5 vs. Perl6 for the same scenario. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Tue Jan 31, 2017 3:30 am Post subject: |
|
|
There are valid Python2 programs that are not valid Python3 programs. Some of the non-Python3 constructs cannot readily be detected through static analysis, and must be found by running the code with appropriate inputs. For large programs without exhaustive test suites, this is impractical. Thus, some projects have opted not to support any Python that rejects any valid Python2 program. Sometimes, this is because they cannot determine if their program is valid Python3. Other times, it is because they know it is not valid Python3 and lack the resources to readily update it to become valid Python3.
Placeholder attempts to provide an interpreter that will accept all valid Python2 programs, while still providing some of the niceties that were added to Python3, but not backported by the core Python developers. |
|
Back to top |
|
|
stefantalpalaru n00b
Joined: 11 Jan 2009 Posts: 24 Location: Italy
|
|
Back to top |
|
|
|