Martijn,
Sorry, I was mixing several things up, yesterday.
Maybe that was related to the anesthesia of my gingivitis treatment.

I have read https://github.com/PythonCharmers/python-future/issues/27
again - all clear now, not objecting at all!

cheers - chris


On 08.01.14 16:35, Martijn Faassen wrote:
On 01/08/2014 04:18 PM, Christian Tismer wrote:

If I understand it correctly, a consequent support for str/bytes would
need to make str and bytes explicitly incompatible.
But that is a huuuge change, and too much work.
It would mean to implement everything that python3 changed there.

I'm not sure I understand what you mean here.

the future module already did the work in bringing a Python 3 compatible str and bytes into Python, as an import from a 'future.builtins' module. There are interactions with Python 2 str and unicode, and those are interesting and should be thought through carefully (see the issue I pointed out for a start. I don't think we're at the end yet).

I think we should not artificially enforce str/bytes incompatibility.
Code can be checked by running it on a python 3 interpreter, that should
be good enough.

That won't help those who want to *incrementally* upgrade their large codebases to Python 3. You *can't* run such codebases on Python 3, until you port every last module. That's why I'm looking at stuff like 'future' which tries to make such an incremental path possible for the most difficult change of Python 3: the str/bytes story.

So I'm not proposing that the existing str/unicode/bytes in Stackless 2.8 change in any way, just that you can optionally import a new Python 3 style str/bytes on a per module basis. Is this what you objected against?

Regards,

Martijn



_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless


--
Christian Tismer             :^)   <mailto:[email protected]>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/


_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to