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


Groups > comp.lang.python > #74435

Re: Twitter Client on Terminal by Python

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Twitter Client on Terminal by Python
Date 2014-07-14 16:36 -0400
References <5a2ece49-1b5a-41a5-99f1-e2c0e1bf96b8@googlegroups.com> <mailman.11789.1405275646.18130.python-list@python.org> <6e3b7633-9c3b-4b3f-8337-6712edeed2c2@googlegroups.com> <CAPTjJmpEb+ZaqZjyvuBvbYh+-C9EDg8AVbOxnmmgTzDpSMKtRA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11808.1405370242.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 7/13/2014 11:51 PM, Chris Angelico wrote:
> On Mon, Jul 14, 2014 at 12:18 PM, Orakaro <nhatminh179@gmail.com> wrote:
>> I use README.md for Github and README.rst for PyPi. Is there a way to use only one file for both sites ?
>
> Ah. I don't know; check the docs for one or the other and see what they'll do.
>
>> I tested my package on Python 2.7 and Python 3.4 But do I have to install all Python 2.6, Python 3.* in my system and test in all environment for sure ?

You don't *have* do anything for free. However, if your package works on 
2.7 and 3.4, it *probably* works as is for 3.2 and 3.3. On Windows at 
least, installing multiple versions is trivial (5 minutes for each).

The more important issue, I think, is what system you have tested on. Up 
to 3.2, including all 2.x, Python had 'wide' and 'narrow' unicode 
builds. On narrow builds (Windows, some *nix), astral (non-BMP) chars 
count as 2. Given Twitter's 140 char limitation, this bug (solved in 
3.3) could affect a Twitter client by giving the length of a 140 char 
tweet as more than 140 chars.

> You can state that it supports 2.7 and 3.4, without testing on any
> other versions. Those are the two current versions - my example was
> showing support for more than just the one latest, but that was just
> an example, nothing more. When Python 3.5 comes out, you'll probably
> want to test on that (and then say "supports 2.7 and 3.4+"), but at
> the moment, "2.7 and 3.4" is fine. If people want to use this with,
> say, 3.3, then they're welcome to try, but they'll know not to presume
> that it'll work.

Even if you test on, say, 2.6, it is up to you whether you want to 
'support' 2.6 with bugfixes, in case a patch for 2.7 does not work on 2.6.

-- 
Terry Jan Reedy

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


Thread

Twitter Client on Terminal by Python Orakaro <nhatminh179@gmail.com> - 2014-07-13 11:00 -0700
  Re: Twitter Client on Terminal by Python Chris Angelico <rosuav@gmail.com> - 2014-07-14 04:20 +1000
    Re: Twitter Client on Terminal by Python Orakaro <nhatminh179@gmail.com> - 2014-07-13 19:18 -0700
      Re: Twitter Client on Terminal by Python Chris Angelico <rosuav@gmail.com> - 2014-07-14 13:51 +1000
        Re: Twitter Client on Terminal by Python Orakaro <nhatminh179@gmail.com> - 2014-07-13 21:24 -0700
      Re: Twitter Client on Terminal by Python Terry Reedy <tjreedy@udel.edu> - 2014-07-14 16:36 -0400
        Re: Twitter Client on Terminal by Python Orakaro <nhatminh179@gmail.com> - 2014-07-15 19:59 -0700
  Re: Twitter Client on Terminal by Python Omar Abou Mrad <omar.aboumrad@gmail.com> - 2014-07-15 09:27 +0300
    Re: Twitter Client on Terminal by Python Orakaro <nhatminh179@gmail.com> - 2014-07-15 20:30 -0700

csiph-web