Re: [python] python 2.6 released

2008-10-06 Tema obsahu RMiklos
>No s prechodem stejne pockam az na verzi 
>2.6.2 nebo 2.6.3 ta uz bude odladena.
Ja podobne.  A co sa tyka 3.0 myslim, ze to bude dlhodoby proces.






Re: [python] python 2.6 released

Tomas Brabenec 
to:
Konference PyCZ
06.10.2008 09:43


Sent by:
[EMAIL PROTECTED]
Please respond to Konference PyCZ






Ja mel za to, ze jo, ale je fakt, ze jsem ty novinky prelitnul jen tak 
narychlo a jeste jsem se jim plne nevenoval, ale vzhledem k tomu, ze uz 
je 2.6 venku, asi bych mel. No s prechodem stejne pockam az na verzi 
2.6.2 nebo 2.6.3 ta uz bude odladena. Totez udelam i s "trojkou".  :-D 
Preci jen prepsat kod to trojkove syntaxe taky chvilku zabere, nehlede 
na to, ze jiste nebudou hned dostupne vsechny moduly.
Trosku se bojim, aby vubec nektere moduly nekdo prepsal. Preci jen neco 
je uz stare a leta na to nikdo nesahl (proc taky kdyz to funguje) :-(
No, snad se to casem vsechno narovna. Nastesti mx.DateTime, SQLAlchemy, 
paramiko,  a dalsi moduly co pouzivam jsou natolik zive, ze se jim 
jiste budou autori venovat i nadale :-D
U tech ostatnich verim, ze se vzdy najde nekdo kdo se danemu modulu bude 
venovat, alespon z duvodu vlastni potreby :-)

BTW: nevite nekdo jak je to se setup tools 
(http://pypi.python.org/pypi/setuptools). Docela jsem si to na Woknech 
oblibil (pouzivam to jako alternativu apt-get na Debianu, a nemusim tak 
slozite hledat baliky, kdyz zrovna nepotrebuju jinou nez aktualni 
stabilni verzi). Chtelo by to sice par vylepseni, ale jinak je to pekny 
nastroj. Nevite nekdo jestli se spolecne s prichodem "trojky" chysta 
nejake oficialni zacleneni setup tools do zakladniho baliku ?

Tomas


On 6.10.2008 9:03, [EMAIL PROTECTED] wrote:
>
> No tym som si prave neni isty,  pretoze na 
> http://docs.python.org/whatsnew/2.6.html sa pise:
> "In Python 3.0, the /%/ operator is supplemented by a more powerful 
> string formatting method, format()..."
> Takze neviem, ci bude %-operator existovat sucasne s funkciou format().
>
>
>
>
> 
> *Re: [python] python 2.6 released*
>
>
> *Tomas Brabenec *  to: Konference PyCZ  
> 06.10.2008 07:53
>
>
> Sent by:   [EMAIL PROTECTED]
>
>
> *Please respond to Konference PyCZ* 
>
>
>
>
> 
>
>
>
> Já teda nevim, ale mohlo by to byt preci takhle:
>
> print(""" spam='%s' egs='%s' """ % (spam,egs))
>
> Nebo se pletu ?
>
> Tomas
>
>
> On 4.10.2008 21:03, [EMAIL PROTECTED] wrote:
> > V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format()
> > Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi v
> > buducnosti napriklad toto?:
> > print " spam='%s' egs='%s'" % (spam, eggs)
> > Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html tak,
> > ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto
> > print (" spam='{0}' egs='{1}'".format(spam, eggs))
> > alebo, cez pomenovane argumenty asi takto
> > print (" spam='{spam}' egs='{eggs}'".format(spam=spam, eggs=eggs))
> > Vyzera to o dost zlozitejsie ako povodny zapis :-)
> > [EMAIL PROTECTED] wrote: -
> >
> > To: Konference PyCZ 
> > From: Pavel Kosina <[EMAIL PROTECTED]>
> > Sent by: [EMAIL PROTECTED]
> > Date: 02.10.2008 18:21
> > Subject: [python] python 2.6 released
> >
> > Asi jdu s křížkem po funuse, protože všechny hlavní portály o 
> tom již
> > informovali: Python 2.6 je vydán.
> > Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0,
> > jak píše
> > A.M. Kuchling:
> >
> > The major theme of Python 2.6 is preparing the migration path to
> > Python
> > 3.0, a major redesign of the language. Whenever possible, Python 
2.6
> > incorporates new features and syntax from 3.0 while remaining
> > compatible
> > with existing code by not removing older features or syntax. When
> > it’s
> > not possible to do that, Python 2.6 tries to do what it can, 
adding
> > compatibility functions in a future_builtins
> > <http://docs.python.org/library/future_builtins.html> module and a
> > /-3/
> > <http://docs.python.org/using/cmdline.html#cmdoption-3> switch to
> > warn
> > about usages that will become unsupported in 3.0.
> >
> > http://docs.python.org/whatsnew/2.6.html
> > http://www.python.org/download/
&

Re: [python] python 2.6 released

2008-10-06 Tema obsahu Tomas Brabenec
Ja mel za to, ze jo, ale je fakt, ze jsem ty novinky prelitnul jen tak 
narychlo a jeste jsem se jim plne nevenoval, ale vzhledem k tomu, ze uz 
je 2.6 venku, asi bych mel. No s prechodem stejne pockam az na verzi 
2.6.2 nebo 2.6.3 ta uz bude odladena. Totez udelam i s "trojkou".  :-D 
Preci jen prepsat kod to trojkove syntaxe taky chvilku zabere, nehlede 
na to, ze jiste nebudou hned dostupne vsechny moduly.
Trosku se bojim, aby vubec nektere moduly nekdo prepsal. Preci jen neco 
je uz stare a leta na to nikdo nesahl (proc taky kdyz to funguje) :-(
No, snad se to casem vsechno narovna. Nastesti mx.DateTime, SQLAlchemy, 
paramiko,  a dalsi moduly co pouzivam jsou natolik zive, ze se jim 
jiste budou autori venovat i nadale :-D
U tech ostatnich verim, ze se vzdy najde nekdo kdo se danemu modulu bude 
venovat, alespon z duvodu vlastni potreby :-)


BTW: nevite nekdo jak je to se setup tools 
(http://pypi.python.org/pypi/setuptools). Docela jsem si to na Woknech 
oblibil (pouzivam to jako alternativu apt-get na Debianu, a nemusim tak 
slozite hledat baliky, kdyz zrovna nepotrebuju jinou nez aktualni 
stabilni verzi). Chtelo by to sice par vylepseni, ale jinak je to pekny 
nastroj. Nevite nekdo jestli se spolecne s prichodem "trojky" chysta 
nejake oficialni zacleneni setup tools do zakladniho baliku ?


Tomas


On 6.10.2008 9:03, [EMAIL PROTECTED] wrote:


No tym som si prave neni isty,  pretoze na 
http://docs.python.org/whatsnew/2.6.html sa pise:
"In Python 3.0, the /%/ operator is supplemented by a more powerful 
string formatting method, format()..."

Takze neviem, ci bude %-operator existovat sucasne s funkciou format().




    
*Re: [python] python 2.6 released*


*Tomas Brabenec *   to: Konference PyCZ 
06.10.2008 07:53


Sent by:[EMAIL PROTECTED]


*Please respond to Konference PyCZ* 








Já teda nevim, ale mohlo by to byt preci takhle:

print(""" spam='%s' egs='%s' """ % (spam,egs))

Nebo se pletu ?

Tomas


On 4.10.2008 21:03, [EMAIL PROTECTED] wrote:
> V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format()
> Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi v
> buducnosti napriklad toto?:
> print " spam='%s' egs='%s'" % (spam, eggs)
> Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html tak,
> ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto
> print (" spam='{0}' egs='{1}'".format(spam, eggs))
> alebo, cez pomenovane argumenty asi takto
> print (" spam='{spam}' egs='{eggs}'".format(spam=spam, eggs=eggs))
> Vyzera to o dost zlozitejsie ako povodny zapis :-)
> [EMAIL PROTECTED] wrote: -
>
> To: Konference PyCZ 
> From: Pavel Kosina <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> Date: 02.10.2008 18:21
> Subject: [python] python 2.6 released
>
> Asi jdu s křížkem po funuse, protože všechny hlavní portály o 
tom již

> informovali: Python 2.6 je vydán.
> Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0,
> jak píše
> A.M. Kuchling:
>
> The major theme of Python 2.6 is preparing the migration path to
> Python
> 3.0, a major redesign of the language. Whenever possible, Python 2.6
> incorporates new features and syntax from 3.0 while remaining
> compatible
> with existing code by not removing older features or syntax. When
> it’s
> not possible to do that, Python 2.6 tries to do what it can, adding
> compatibility functions in a future_builtins
> <http://docs.python.org/library/future_builtins.html> module and a
> /-3/
> <http://docs.python.org/using/cmdline.html#cmdoption-3> switch to
> warn
> about usages that will become unsupported in 3.0.
>
> http://docs.python.org/whatsnew/2.6.html
> http://www.python.org/download/
>
> --
> geon
> Pavel Kosina
>
> ___
> Python mailing list
> Python@py.cz
> http://www.py.cz/mailman/listinfo/python
>
>
> 
>
> ___
> Python mailing list
> Python@py.cz
> http://www.py.cz/mailman/listinfo/python
___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python


___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

Re: [python] python 2.6 released

2008-10-06 Tema obsahu RMiklos
No tym som si prave neni isty,  pretoze na 
http://docs.python.org/whatsnew/2.6.html sa pise:
"In Python 3.0, the % operator is supplemented by a more powerful string 
formatting method, format()..."
Takze neviem, ci bude %-operator existovat sucasne s funkciou format().
 






Re: [python] python 2.6 released

Tomas Brabenec 
to:
Konference PyCZ
06.10.2008 07:53


Sent by:
[EMAIL PROTECTED]
Please respond to Konference PyCZ






Já teda nevim, ale mohlo by to byt preci takhle:

print(""" spam='%s' egs='%s' """ % (spam,egs))

Nebo se pletu ?

Tomas


On 4.10.2008 21:03, [EMAIL PROTECTED] wrote:
> V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format()
> Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi v 
> buducnosti napriklad toto?:
> print " spam='%s' egs='%s'" % (spam, eggs)
> Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html tak, 
> ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto
> print (" spam='{0}' egs='{1}'".format(spam, eggs))
> alebo, cez pomenovane argumenty asi takto
> print (" spam='{spam}' egs='{eggs}'".format(spam=spam, eggs=eggs))
> Vyzera to o dost zlozitejsie ako povodny zapis :-)
> [EMAIL PROTECTED] wrote: -----
>
> To: Konference PyCZ 
> From: Pavel Kosina <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> Date: 02.10.2008 18:21
> Subject: [python] python 2.6 released
>
> Asi jdu s křížkem po funuse, protože všechny hlavní portály o tom 
již
> informovali: Python 2.6 je vydán.
> Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0,
> jak píše
> A.M. Kuchling:
>
> The major theme of Python 2.6 is preparing the migration path to
> Python
> 3.0, a major redesign of the language. Whenever possible, Python 2.6
> incorporates new features and syntax from 3.0 while remaining
> compatible
> with existing code by not removing older features or syntax. When
> it’s
> not possible to do that, Python 2.6 tries to do what it can, adding
> compatibility functions in a future_builtins
> <http://docs.python.org/library/future_builtins.html> module and a
> /-3/
> <http://docs.python.org/using/cmdline.html#cmdoption-3> switch to
> warn
> about usages that will become unsupported in 3.0.
>
> http://docs.python.org/whatsnew/2.6.html
> http://www.python.org/download/
>
> -- 
> geon
> Pavel Kosina
>
> ___
> Python mailing list
> Python@py.cz
> http://www.py.cz/mailman/listinfo/python
>
>
> 
>
> ___
> Python mailing list
> Python@py.cz
> http://www.py.cz/mailman/listinfo/python
___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

Re: [python] python 2.6 released

2008-10-05 Tema obsahu Tomas Brabenec

Já teda nevim, ale mohlo by to byt preci takhle:

print(""" spam='%s' egs='%s' """ % (spam,egs))

Nebo se pletu ?

Tomas


On 4.10.2008 21:03, [EMAIL PROTECTED] wrote:

V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format()
Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi v 
buducnosti napriklad toto?:

print " spam='%s' egs='%s'" % (spam, eggs)
Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html tak, 
ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto

print (" spam='{0}' egs='{1}'".format(spam, eggs))
alebo, cez pomenovane argumenty asi takto
print (" spam='{spam}' egs='{eggs}'".format(spam=spam, eggs=eggs))
Vyzera to o dost zlozitejsie ako povodny zapis :-)
[EMAIL PROTECTED] wrote: -

To: Konference PyCZ 
    From: Pavel Kosina <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 02.10.2008 18:21
Subject: [python] python 2.6 released

Asi jdu s křížkem po funuse, protože všechny hlavní portály o tom již
informovali: Python 2.6 je vydán.
Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0,
jak píše
A.M. Kuchling:

The major theme of Python 2.6 is preparing the migration path to
Python
3.0, a major redesign of the language. Whenever possible, Python 2.6
incorporates new features and syntax from 3.0 while remaining
compatible
with existing code by not removing older features or syntax. When
it’s
not possible to do that, Python 2.6 tries to do what it can, adding
compatibility functions in a future_builtins
<http://docs.python.org/library/future_builtins.html> module and a
/-3/
<http://docs.python.org/using/cmdline.html#cmdoption-3> switch to
warn
about usages that will become unsupported in 3.0.

http://docs.python.org/whatsnew/2.6.html
http://www.python.org/download/

-- 
geon

Pavel Kosina

___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python




___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

Re: [python] python 2.6 released

2008-10-04 Tema obsahu RMiklos
V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format() Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi v buducnosti napriklad toto?:   print " spam='%s'    egs='%s'" % (spam, eggs) Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html tak, ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto   print (" spam='{0}'    egs='{1}'".format(spam, eggs)) alebo, cez pomenovane argumenty asi takto   print (" spam='{spam}'    egs='{eggs}'".format(spam=spam, eggs=eggs)) Vyzera to o dost zlozitejsie ako povodny zapis :-) [EMAIL PROTECTED] wrote: -To: Konference PyCZ From: Pavel Kosina <[EMAIL PROTECTED]>Sent by: [EMAIL PROTECTED]Date: 02.10.2008 18:21Subject: [python] python 2.6 releasedAsi jdu s křížkem po funuse, protože všechny hlavní portály o tom již informovali: Python 2.6 je vydán.Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0, jak píše A.M. Kuchling:The major theme of Python 2.6 is preparing the migration path to Python 3.0, a major redesign of the language. Whenever possible, Python 2.6 incorporates new features and syntax from 3.0 while remaining compatible with existing code by not removing older features or syntax. When it’s not possible to do that, Python 2.6 tries to do what it can, adding compatibility functions in a future_builtins  module and a /-3/  switch to warn about usages that will become unsupported in 3.0.http://docs.python.org/whatsnew/2.6.htmlhttp://www.python.org/download/-- geonPavel Kosina___Python mailing listPython@py.czhttp://www.py.cz/mailman/listinfo/python___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

Re: [python] python 2.6 released

2008-10-02 Tema obsahu Jaroslav Lukesh
No doufám, že to bude nějaké nápovědné, jako v Zope, které mi rovnou 
prozradí sladké tajemstí, co tam použít místo obsoletních věcí.


- Original Message - 
From: "Pavel Kosina" <[EMAIL PROTECTED]>


The major theme of Python 2.6 is preparing the migration path to Python 
3.0, a major redesign of the language. Whenever possible, Python 2.6 
incorporates new features and syntax from 3.0 while remaining compatible 
with existing code by not removing older features or syntax. When it’s not 
possible to do that, Python 2.6 tries to do what it can, adding 
compatibility functions in a future_builtins 
 module and a /-3/ 
 switch to warn 
about usages that will become unsupported in 3.0.


___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

[python] python 2.6 released

2008-10-02 Tema obsahu Pavel Kosina
Asi jdu s křížkem po funuse, protože všechny hlavní portály o tom již 
informovali: Python 2.6 je vydán.
Python 2.6 je spíše takovou dočasnou přechodkou mezi 2.5 a 3.0, jak píše 
A.M. Kuchling:


The major theme of Python 2.6 is preparing the migration path to Python 
3.0, a major redesign of the language. Whenever possible, Python 2.6 
incorporates new features and syntax from 3.0 while remaining compatible 
with existing code by not removing older features or syntax. When it’s 
not possible to do that, Python 2.6 tries to do what it can, adding 
compatibility functions in a future_builtins 
 module and a /-3/ 
 switch to warn 
about usages that will become unsupported in 3.0.


http://docs.python.org/whatsnew/2.6.html
http://www.python.org/download/

--
geon
Pavel Kosina

___
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python