SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Darren D. <dd...@co...> - 2007年09月21日 15:07:36
It looks like some syntax introduced in python-2.4 is starting to find its
way into matplotlib:
 File
"/usr/lib/python2.3/site-packages/matplotlib-0.90.1_r3867-py2.3-linux-i686.egg/matplotlib/texmanager.py",
line 113
 + tuple('font.'+n for n in ('family', ) + font_families)
 ^
SyntaxError: invalid syntax
 File
"/usr/lib/python2.3/site-packages/matplotlib-0.90.1_r3867-py2.3-linux-i686.egg/matplotlib/dviread.py",
line 355
 for ch in special),
 ^
SyntaxError: invalid syntax
 File
"/usr/lib/python2.3/site-packages/matplotlib-0.90.1_r3867-py2.3-linux-i686.egg/matplotlib/config/mpltraits.py",
line 49
 return "one of %s"% ', '.join('%s'%i for i in be)
 ^
SyntaxError: invalid syntax
 File
"/usr/lib/python2.3/site-packages/matplotlib-0.90.1_r3867-py2.3-linux-i686.egg/matplotlib/backends/backend_pdf.py",
line 544
 not_None = (ch for ch in range(256)
 ^
SyntaxError: invalid syntax
Does anyone have an opinion on how much longer we will support python-2.3?
Maybe a good guide would be to support the most up-to-date RHEL release,
as well as the prior release. (At my lab, we haven't updated our RHEL
computers to version 5 yet, the first to include python-2.4.)
Darren
From: John H. <jd...@gm...> - 2007年09月21日 15:34:39
On 9/21/07, Darren Dale <dd...@co...> wrote:
> Does anyone have an opinion on how much longer we will support python-2.3?
> Maybe a good guide would be to support the most up-to-date RHEL release,
> as well as the prior release. (At my lab, we haven't updated our RHEL
> computers to version 5 yet, the first to include python-2.4.)
I think we should continue to support it for a while yet, mainly
because it is easy to do so. We don't really need generator
comprehensions -- in the examples you highlighted I think they were
used for syntactic convenience, though admittedly in some cases syntax
conveniences are compelling.
I only recently upgraded from 2.3 on my home machine, when I was
trying to get svn traits working. I am not sure that RHEL should be
our standard though -- shouldn't people be punished for using that
distro anyway <wink>?
A good way to know it's time to deprecate support is when you
accidentally break something and noone notices for a month or two
because noone is actually using it.
JDH
From: Michael D. <md...@st...> - 2007年09月21日 15:35:45
> Does anyone have an opinion on how much longer we will support python-2.3?
> Maybe a good guide would be to support the most up-to-date RHEL release,
> as well as the prior release. (At my lab, we haven't updated our RHEL
> computers to version 5 yet, the first to include python-2.4.)
Is the current Mac OS-X version also something to consider? It's 
currently at 2.3 in 10.4 Tiger.
Cheers,
Mike
-- 
Michael Droettboom
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Christopher B. <Chr...@no...> - 2007年09月21日 17:02:52
Michael Droettboom wrote:
> Is the current Mac OS-X version also something to consider? 
I don't think so. You really need to install a newer/better version to 
do anything significant with python on OS-X -- particularly anything 
with a GUI.
John Hunter wrote:
> We don't really need generator
> comprehensions -- in the examples you highlighted I think they were
> used for syntactic convenience, though admittedly in some cases syntax
> conveniences are compelling.
Sure they are, but wouldn't list comprehensions be just as good? at 
least in those cases.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /