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


Groups > comp.lang.python > #74435

Re: Twitter Client on Terminal by Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'say,': 0.05; 'subject:Python': 0.06; 'think,': 0.07; 'versions.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bug': 0.12; 'jan': 0.12; '2.7': 0.14; 'windows': 0.15; '3.3,': 0.16; 'fine.': 0.16; 'know;': 0.16; 'presume': 0.16; 'pypi.': 0.16; 'readme.rst': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'example': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'char': 0.24; 'issue,': 0.24; 'unicode': 0.24; 'mon,': 0.24; 'versions': 0.24; 'environment': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'testing': 0.29; 'chris': 0.29; 'on,': 0.29; 'patch': 0.29; 'work.': 0.31; '3.2': 0.31; "they'll": 0.31; 'trivial': 0.31; 'with,': 0.31; 'file': 0.32; 'probably': 0.32; 'could': 0.34; 'test': 0.35; 'but': 0.35; 'there': 0.35; '14,': 0.36; '2.6': 0.36; 'installing': 0.36; 'example,': 0.37; 'two': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'anything': 0.39; 'does': 0.39; 'received:71': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'affect': 0.61; 'length': 0.61; "you'll": 0.62; 'more': 0.64; 'minutes': 0.67; 'jul': 0.74; '3.4': 0.84; 'latest,': 0.84; 'received:fios.verizon.net': 0.84; 'subject:Client': 0.84; 'try,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Twitter Client on Terminal by Python
Date Mon, 14 Jul 2014 16:36:40 -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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <CAPTjJmpEb+ZaqZjyvuBvbYh+-C9EDg8AVbOxnmmgTzDpSMKtRA@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11808.1405370242.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1405370242 news.xs4all.nl 2891 [2001:888:2000:d::a6]:46055
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74435

Show key headers only | 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