Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5758

Re: pyjamas 0.8alpha1 release

From Terry Reedy <tjreedy@udel.edu>
Subject Re: pyjamas 0.8alpha1 release
Date 2011-05-18 21:13 -0400
References <BANLkTim23=r-4F9+vF+r8wcBSNVii2c5-Q@mail.gmail.com> <mailman.1165.1304534252.9059.python-list@python.org> <gwxAp.7639$241.5155@newsfe07.iad> <de68e42d-22d4-40ac-b767-4dfeb7c63bb2@l6g2000vbn.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1784.1305767646.9059.python-list@python.org> (permalink)

Show all headers | View raw


On 5/18/2011 9:42 AM, lkcl wrote:

>   he's got a good point, terry.  breaking backwards-compatibility was a
> completely mad and incomprehensible decision.

I see that I should take everything you (or Harris) say with a big grain 
of salt;-). You just gave me a lecture about the impossibility of doing 
everything one might like with limited all or mostly volunteer 
resources. So surely you can comprehend that the same applies to CPython 
also.

Given that Python 1.0/1 had some design defects that became evident with 
experience and simply lacked some things thought of later, I can think 
of several options:

1. Never fix them.

2. Add fixes, but keep the old stuff. If the old and new ways are 
somewhat compatible, keep both available at the same time*. If they 
conflict, keep old as default and make new available on demand (future 
import)#. This was 2.x strategy.

2A. Make new ways default and have past imports.

3. Gradually delete old. This was and is policy mostly for library.

4. Delete lots of old ways all at once. This was 3.x.

What would you have had us do instead?

* Example: old and new style classes. Problems: the differences are hard 
to learn and hard to remember; they are sometimes irrelevant, but 
sometimes not; if you import and instantiate a class, you may not know 
which you have.

# Example: int division. Problems: having the deprecated meaning be 
default is a damn nuisance; learning it is a stupid burden; if you see 
'a/b' in a snippet extracted from a file, you do not know what it means.

2.7 is really the end of the road for strategy 2. Keeping obsolete 
features around is a learning burden for most newbies and a maintenance 
burden for developers.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [ann] pyjamas 0.8alpha1 release Terry Reedy <tjreedy@udel.edu> - 2011-05-04 14:37 -0400
  Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-17 09:07 -0700
    Re: pyjamas 0.8alpha1 release Terry Reedy <tjreedy@udel.edu> - 2011-05-17 21:33 -0400
      Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-18 02:24 -0700
        Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-18 06:35 -0700
        Re: pyjamas 0.8alpha1 release Terry Reedy <tjreedy@udel.edu> - 2011-05-18 18:02 -0400
          Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-19 06:17 -0700
  Re: [ann] pyjamas 0.8alpha1 release harrismh777 <harrismh777@charter.net> - 2011-05-17 11:38 -0500
    Re: [ann] pyjamas 0.8alpha1 release Terry Reedy <tjreedy@udel.edu> - 2011-05-17 21:52 -0400
      Re: [ann] pyjamas 0.8alpha1 release harrismh777 <harrismh777@charter.net> - 2011-05-18 00:29 -0500
        Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-18 02:39 -0700
    Re: pyjamas 0.8alpha1 release alex23 <wuwei23@gmail.com> - 2011-05-17 22:54 -0700
    Re: pyjamas 0.8alpha1 release lkcl <luke.leighton@gmail.com> - 2011-05-18 06:42 -0700
      Re: pyjamas 0.8alpha1 release Terry Reedy <tjreedy@udel.edu> - 2011-05-18 21:13 -0400
        python2+3 lkcl <luke.leighton@gmail.com> - 2011-05-19 05:42 -0700
          Re: python2+3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-19 22:40 +0000

csiph-web