-list -
python.org
mail.python.org
Apologies for the confusion!
Regards from cloudy London,
Pablo Galindo Salgado
Pablo Galindo Salgado
On 18 Feb 2023, at 11:14, אורי wrote:
Hi,
I was surprised that Python 3.11.2 and 3.10.10 have been released
without a
hon
Software Foundation.
https://www.python.org/psf/
If you have any questions, please reach out to me or another member of the
release team :)
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Gali
ure you find important is
missing from this list, [let Pablo know](mailto:pablog...@python.org
).)
The next release will be the final release of Python 3.11.0, which is
currently scheduled for Monday, 2022-10-24.
# More resources
* [Online Documentation](https://docs.python.org/3.11/)
* [PEP
dev/peps/pep-0655/) -- Marking
individual TypedDict items as required or potentially-missing
* [PEP 681](https://www.python.org/dev/peps/pep-0681/) -- Data Class
Transforms
(Hey, **fellow core developer,** if a feature you find important is
missing from this list, [let Pablo know](mailto:pab
ganization contributions to the Python
Software Foundation.
https://www.python.org/psf/
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.python.org/u/pablogsal
st, [let Pablo know](mailto:pablog...@python.org
).)
The next pre-release of Python 3.11 will be 3.11.0rc1, currently scheduled
for Monday, 2022-08-01.
# More resources
* [Online Documentation](https://docs.python.org/3.11/)
* [PEP 664](https://www.python.org/dev/peps/pep-0664/), 3.11 Release
BSD-style checksum format hashes for the release artefacts:
SHA256 (python-3.11.0b4-embed-arm64.zip) =
272c6bb4948c597f6578f64c2b15a70466c5dfb49f9b84dba57a84e59e7bd4ef
SHA256 (python-3.11.0b4-amd64.exe) =
a3514b0401e6a85416f3e080586c86ccd9e2e62c8a54b9119d9e6415e3cadb62
SHA256 (python-3.11.0b4-maco
loper,** if a feature you find important is
missing from this list, [let Pablo know](mailto:pablog...@python.org
).)
The next pre-release of Python 3.11 will be 3.11.0b5, currently scheduled
for Thursday, 2022-07-25.
# More resources
* [Online Documentation](https://docs.python.org/3.11/)
* [P
through organization contributions to the Python
Software Foundation.
https://www.python.org/psf/
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.python.org/u
hon.org/psf/
If you have any questions, please reach out to me or another member of the
release team :)
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.py
standard
benchmark suite. See [Faster CPython](
https://docs.python.org/3.11/whatsnew/3.11.html#faster-cpython) for details.
* (Hey, **fellow core developer,** if a feature you find important
is missing from this list, [let Pablo know](mailto:pablog...@python.org
).)
The next pre-release of Python 3
not possible to transmit such a large amount of
data?
Thank you.
Best regards,
*Pablo Martinez Ulloa*
PhD Candidate,
School of Electrical and Electronic Engineering, R324A
University College Dublin, Belfield, Dublin 4, Ireland
--
https://mail.python.org/mailman/listinfo/python-list
e new releases!
Thanks to all of the many volunteers who help make Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
https://www.python.org/psf/
Regards from chilly London,
undation.
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https://mail.python.org/mailman/listinfo/python-list
,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https://mail.python.org/mailman/listinfo/python-list
organization contributions to the Python
Software Foundation.
https://www.python.org/psf/
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.python.org/u/pablogsal
eloper, if a feature you find important is
missing from this list, let Pablo know .)
The next pre-release of Python 3.11 will be 3.11.0a2, currently scheduled
for 2021-11-02.
*And now for something completely different*
Zero-point energy is the lowest possible energy that a quantum mechanical
sys
community https://www.python.org/psf/donations/.
Your friendly release team,
Ned Deily @nad https://discuss.python.org/u/nad
Steve Dower @steve.dower https://discuss.python.org/u/steve.dower
Pablo Galindo Salgado @pablogsal https://discuss.python.org/u/pablogsal
--
https://mail.python.org/mailman/listinfo/python-list
supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from a plane going to Malaga,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https://mail.python.org/mailman/listinfo/python-list
cted this for future
releases.
If you had any problem building docs with the previous release artifacts
for 3.10.0rc1, please try again.
Regards from cloudy London,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
On Tue, 3 Aug 2021 at 17:31, Pablo Ga
Regards from cloudy London,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https://mail.python.org/mailman/listinfo/python-list
Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from very cloudy London,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from very cloudy London,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https
g yourself or through organization contributions to the Python
Software Foundation.
Regards from very sunny London,
Your friendly release team,
Pablo Galindo @pablogsal
Ned Deily @nad
Steve Dower @steve.dower
--
https://mail.python.org/mailman/listinfo/python-list
quire OpenSSL 1.1.1 or newer
PEP 624 – Remove Py_UNICODE encoder APIs
PEP 597 – Add optional EncodingWarning
(Hey, fellow core developer, if a feature you find important is missing
from this list, let Pablo know.)
The next pre-release of Python 3.10 will be 3.10.0b1 ( the first beta
release and feature f
ionale
* [PEP 636 ](https://www.python.org/dev/peps/pep-0636/) -- Structural
Pattern Matching: Tutorial
* (Hey, **fellow core developer,** if a feature you find important
is missing from this list, [let Pablo know](mailto:pablog...@python.org
).)
The next pre-release of Python 3.10 will be 3.10
find important
is missing from this list, [let Pablo know](mailto:pablog...@python.org
).)
The next pre-release of Python 3.10 will be 3.10.0a7 ( last alpha release),
currently scheduled for Monday, 2021-04-05.
# More resources
* [Online Documentation](https://docs.python.org/3.10/)
* [PEP 619](h
2>: Parenthesized context
managers are now officially allowed.
- (Hey, fellow core developer, if a feature you find important is
missing from this list, let Pablo know .)
The next pre-release of Python 3.10 will be 3.10.0a6, currently scheduled
for 2021-03-01.
And now for something comp
isingly, the movement of a test particle in such spacetime is not
only a very chaotic system but also has some fractals
<https://arxiv.org/abs/gr-qc/9502014> hiding the complexity of its movement.
Regards from cold London,
Pablo Galindo Salgado
--
https://mail.python.org/mailman/listinfo/python-list
Dower, Pablo Galindo, Łukasz Langa
--
https://mail.python.org/mailman/listinfo/python-list
:
PEP 623 -- Remove wstr from Unicode
PEP 604 -- Allow writing union types as X | Y
PEP 612 -- Parameter Specification Variables
PEP 626 -- Precise line numbers for debugging and other tools.
(Hey, fellow core developer, if a feature you find important is missing
from this list, let Pablo know.)
The
or another Python user community). python-ideas is
> primarily intended for new feature proposals/suggestions. Although if
> you've tried other resources and haven't found an answer, it's
> perfectly fine to ask a question as part of the suggestion post.
>
>
>
Origi
lly 4.9 or higher for all the newer and stable
features. No dependencies, its baked into the kernel. You will need clang
support to compile stuff, if you want to build modules on your own.
*Pablo Lucena*
On Sat, Mar 30, 2019 at 8:30 PM Paulo da Silva <
p_s_d_a_s_i_l_v_a...@netcabo.pt>
terpreter
> > available to all windows based different machines? Am i missing something
> > else? What are the steps the python windows installer performs in order?
>
> I have no idea what the Python.org installer is doing here, but you
> could try one of the other Python distributions (e.g. miniconda)...
> MAYBE you'll have more luck with that (Or ActivePython, or WinPython, or
> whatever).
>
>
> -- Thomas
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
*Pablo Lucena*
--
https://mail.python.org/mailman/listinfo/python-list
Good day,
I would like to unsubscribe this e-mail to the Python e-mail list.
Kind regards
--
https://mail.python.org/mailman/listinfo/python-list
Good day,
I installed the Spyder 3.6 IDE from the Anaconda package and at the start k to
the IDE I get the Spyder Update saying Spyder 3.1.3 is available. Did it
incorrectly install Anaconda? As far as I know Spyder 3.1.3 is rather old and
the latest is 3.6
Regards
Pablo
--
https
as you have
# the iterator produced by iter() here stops as soon as sentinel value
# is encountered
In [91]: list(iter(grab_until, 0))
Out[91]: [1, 9, 8, 11, 22, 4]
Hope this helps
Pablo
On Sat, Jan 7, 2017 at 8:38 AM, Jussi Piitulainen <
jussi.piitulai...@helsinki.fi> wrote:
> Rustom Mo
2016-08-28 0:04 GMT-07:00 Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info>:
> On Sunday 28 August 2016 15:56, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> [...]
> >> Now it is true that speaking in full
2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> On Sun, 28 Aug 2016 12:31 pm, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> >
> >> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
> >>
> >>
2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> On Sun, 28 Aug 2016 12:31 pm, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> >
> >> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
> >>
> >>
2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
>
> > I've been trying to find (without success so far) an example of a
> > situation where the dynamic features of a language like Python provides a
> > c
2016-08-12 1:10 GMT-07:00 Lawrence D’Oliveiro :
> On Thursday, August 11, 2016 at 8:33:41 AM UTC+12, Juan Pablo Romero
> Méndez wrote:
>
> > I've been trying to find (without success so far) an example of a
> situation
> > where the dynamic features of a language
atures of some language are a better solution than static typing. This is
of course more useful in languages that support both paradigms.
Juan Pablo
2016-08-10 13:50 GMT-07:00 Michael Selik :
>
>
> On Wed, Aug 10, 2016, 4:34 PM Juan Pablo Romero Méndez <
> jpablo.rom...@gmail.com>
2016-08-09 18:28 GMT-07:00 Steven D'Aprano :
> On Wed, 10 Aug 2016 04:29 am, Juan Pablo Romero Méndez wrote:
>
> > Hello,
> >
> > In online forums sometimes people complain that they end up having to
> test
> > constantly for None,
>
> Then don'
2016-08-09 23:16 GMT-07:00 Gregory Ewing :
> Juan Pablo Romero Méndez wrote:
>
> This is interesting. You are Ok having runtime errors?
>>
>
> You're going to have runtime errors in any case, whether
> they come from code you've put there yourself to check
>
2016-08-09 23:47 GMT-07:00 Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info>:
> On Wednesday 10 August 2016 15:20, Juan Pablo Romero Méndez wrote:
>
> > Ok, so you suggested 1) catching exceptions at the point where you care,
> 2)
> > preemptively check f
2016-08-09 18:28 GMT-07:00 Steven D'Aprano :
> On Wed, 10 Aug 2016 04:29 am, Juan Pablo Romero Méndez wrote:
>
> > Hello,
> >
> > In online forums sometimes people complain that they end up having to
> test
> > constantly for None,
>
> Then don'
2016-08-09 14:01 GMT-07:00 Michael Selik :
> On Tue, Aug 9, 2016 at 3:22 PM Juan Pablo Romero Méndez <
> jpablo.rom...@gmail.com> wrote:
>
>> I'm actually looking for ways to minimize run time errors, so that would
>> include TypeError and AttributeError.
>>
2016-08-09 13:18 GMT-07:00 Rob Gaddi :
> Juan Pablo Romero Méndez wrote:
>
> > 2016-08-09 12:06 GMT-07:00 Paul Rubin :
> >
> >> Juan Pablo Romero Méndez writes:
> >> > In online forums sometimes people complain that they end up having to
> >> >
What static checking can actually guarantee varies depending on the
specific type system at hand (C# vs Haskell vs Idris for example). But most
of them can guarantee simple stuff like: "I'm I allowed to invoke this
function at this point?"
If you don't have that, well you can rely on tests to show
2016-08-09 12:06 GMT-07:00 Paul Rubin :
> Juan Pablo Romero Méndez writes:
> > In online forums sometimes people complain that they end up having to
> > test constantly for None
>
> That's something of a style issue. You can code in a way that avoids a
> lot of
s you like that addresses the following issue:
What is the best way to use the dynamic features of Python to avoid having
to write a poor's man type system?
Thanks!
Juan Pablo
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I am trying to accomplish the following:
Say I have a group of 4 lists as follows:
l1 = ['a1', 'a2', 'a3', 'a4']
l2 = ['b1', 'b2', 'b3', 'b4']
l3 = ['c1', 'c2', 'c3', 'c4']
l4 = ['d1', 'd2', 'd3', 'd4']
I would like to cycle through these lists "diagonally" in groups of
len(list) (in thi
Hello, recently I downloaded python, but when I try to execute one file
with the command 'print' it shows me a error. The error is:
Missing parentheses in call to 'print'
Please help mThank you.
--
https://mail.python.org/mailman/listinfo/python-list
Is anyone else getting 503 errors when accessing the downloads page of
python.org?
--
*Pablo Lucena*
--
https://mail.python.org/mailman/listinfo/python-list
o hold state is the most
"obvious" way that comes to mind, but overall should I be looking into
another way of keeping the session open across function calls?
Thanks
--
*Pablo Lucena*
--
https://mail.python.org/mailman/listinfo/python-list
#x27;)
> if condition:
> l.acquire()
> s.expect('Enter username:')
> s.sendline ('user')
> s.expect('Enter password:*')
> s.sendline('pass')
>
PPermissions:tcp(22-22) source: [10.0.20.100/32]
>
> SecurityGroup:launch-wizard-2 sg-932255f6 inbound:
> IPPermissions:tcp(443-443) source: [0.0.0.0/0]
>
> >>>
>
>
> Here is the output i am looking for
>
>
> rule1 = [{
>
> 'cidr': '67.184.225.222/32',
>
> 'proto': 'tcp',
>
> 'port': 80
>
> },{
>
> 'cidr': '67.184.225.222/32',
>
> 'proto': 'tcp',
>
> 'port': 5500
>
> }]
>
>
> rule2 = [{
>
> 'cidr': '[0.0.0.0/0',
>
> 'proto': 'tcp',
>
> 'port': 80
>
> }]
>
>
> rule3 = [{
>
> 'cidr': '0.0.0.0/0',
>
> 'proto': 'tcp',
>
> 'port': 22
>
> },{
>
> 'cidr': '0.0.0.0/0',
>
> 'proto': 'tcp',
>
> 'port': 80
>
> }]
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>
--
*Pablo Lucena*
--
https://mail.python.org/mailman/listinfo/python-list
ur and contrivance of their kind?
>
> From /Mesopotamia/ by Rudyard Kipling
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
*Pablo Lucena*
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 2013-11-18 at 21:12 -0500, Gene Heskett wrote:
[...]
> > Invalid in what way? It looks fine to me. Or is it that you don't
> > trust its signer?
> >
> > ChrisA
>
> Firefox barked at me. So I backed away. And now it works. Phase of moon
> sensitive? Chew in wrong side of mouth? Or y
On Mon, 2013-11-18 at 16:04 -0500, Gene Heskett wrote:
> On Monday 18 November 2013 16:04:14 Juan Pablo Ugarte did opine:
>
> > Hello everybody!
> >
> > We (Glade Developers) are conducting a user survey which will help us
> > take informed decisions to improve th
Pablo, on behalf of the Glade team
What is Glade?
Glade is a RAD tool to enable quick & easy development of user
interfaces for the GTK+ [1] toolkit and the GNOME [2] desktop
environment.
The user interfaces designed in Glade are saved as XML, and by using the
GtkBuilder [3] GTK+ object t
Hello,
What do you guys think about adding a method "to_json" to dictionaries
and sequence types? Perhaps through a module import?
Regards,
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm looking for developing a bluetooth application in python, and I'm
looking for the most suitable python library for it. Googling some
time I found pyBluez (http://code.google.com/p/pybluez/), however, the
library seems to be stopped since end 2009 (latest update Nov 2009)
and not to man
> > Hi I'm tryin to create a game but I have a question in how to save
> > (saveasfile) the value of a global variable.. and then load the same value
> > with openfile.
> > Also for example you have a main label and a botton on the left so when
> > you click the left bottom the label will chan
'm missing?
Regards,
[1]
http://docs.python.org/distutils/setupscript.html#installing-package-data
[2]
http://docs.python.org/install/#alternate-installation-unix-the-prefix-scheme
--
Pablo Recio Quijano
Desarrollador Django
Yaco Sistemas - http://www.yaco.es/
--
http://mail.python.org/mailman/listinfo/python-list
ny suggestions / pointers to something useful,
>
> thanks,
>
> Matt.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Pablo Recio Quijano
Estudiante de Ingeniería Informática (UCA)
Alumno colaborador del Departamento de Lenguajes y Sistemas Informáticos
Par
ib',
> 'C:\\WINDOWS\\system32\\python26.zip', 'c:\\Python26\\DLLs',
> 'c:\\Python26\\lib', 'c:\\Python26\\lib\\plat-win',
> 'c:\\Python26\\lib\\lib-tk', 'c:\\Python26',
> 'c:\\Python26\\lib\\site-packages',
>
Thanks!
Pylint was what i was loking for
2010/2/7 Gerald Britton
> pylint and pychecker are good options
>
> On Sun, Feb 7, 2010 at 1:36 PM, Pablo Recio Quijano
> wrote:
> > Hi!
> > I'm finishing a project writen in Python, and I realize about the
> document
&
oding standars [2] and it's very usefull to clean the code.
Thanks in advance!
[1] http://www.python.org/dev/peps/pep-0008/
[2] http://drupal.org/coding-standards
--
Pablo Recio Quijano
Estudiante de Ingeniería Informática (UCA)
Alumno colaborador del Departamento de Lenguajes y Sistemas In
Hi there,
I hope this is the rigth place, if not please, tell me which is the
right dicussion place. I apologize in such case.
Ok, I am trying to do a very quick application (is "home based" so is
not a big deal...). My intention is to transfer files from one
computer to another.
I am using seve
27;foo.attr2' and even 'end'. The same happens
for the rest of the breakpoints, so I end up with them set but not
their commands.
What would be the correct way to do this? Is it even possible?
Thanks a lot,
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 24, 5:51 am, Iain King wrote:
> On Sep 23, 7:36 pm, David C Ullrich wrote:
>
>
>
> > On Tue, 22 Sep 2009 02:34:53 +, Steven D'Aprano wrote:
> > > On Mon, 21 Sep 2009 13:50:23 -0500, David C Ullrich wrote:
>
> > >> But you actually want to return twice the value. I don't see how to do
>
g.
> 00101101 instead of 45) ?
(Python 3)
>>> bin(45)
'0b101101'
>>> int(_, 2)
45
--
Pablo Martí
http://www.linkedin.com/in/pmarti || http://www.warp.es
python -c "print '706d6172746940776172702e6573'.decode('hex')"
--
http://mail.python.org/mailman/listinfo/python-list
turn False
> ...
>> Any ideas how to make that function look nicer? :)
>
> Change the names. Reverse the order of the arguments. Add a docstring.
>
Why reverse the order of the arguments? Is there a design principle there?
I always make a mess out of the order of my arguments
g-Yun "Xavier" Ho, Technical Artist
>
> Contact Information
> Mobile: (+61) 04 3335 4748
> Skype ID: SpaXe85
> Email: cont...@xavierho.com
> Website: http://xavierho.com/
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
te assembly *with* python.
> Or how to translate python to assembly.
>
> As it turns out, CPython translates Python to byte code and has a dis
> (assembly) module that produces very nice assembly code ;-)
> So that is one answer to his question.
>
>> You'll need to tell
nd what you mean
by 'page'. Could you tell us about the structure of these
dictionaries?
> Any way to do that with list comprehension? Any other good way to do
> it besides iterating over the list?
>
> Thanks
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
I use OpenInventor (Coin3d) which have a python binding called "pivy".
It works great.
http://pivy.coin3d.org/
Juan Pablo
2009/7/8 Helvin :
> Hi experts!
>
> I'm developing a GUI for a software using PyQT, and need 3D
> visualization. Should I use PyOpenGL or VTK?
&
> nacim
Give this one a try too: http://www.mikeash.com/getting_answers.html
It doesn't talk down to you...as much :P
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
tion errors and moving your comments above the
line they reference will attract more help from others in this list
;-)
Also, I'd recommend limiting your line length to 80 chars, since lines
are wrapped anyway.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
I agree that it would be a good idea to make it an
> error, or a warning - "this might not do what you
> think it does", or an "are you sure?" exception.
>
> :-)
>
> - Hendrik
That would be even harder than adding a line to the docs. Besides,
the problem th
reading this file? I mean which function is the
>> first?
>
> I don't really understand the question: what do you mean by 'first'?
> It might help if you tell us what your aims are.
I think he means the entry point, problem is that libraries have many.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
t save your student's sanity and stick to good old
conditionals :-)
As for your initial question, I think, thirty four emails after, that yes, your
function is a bit too clever and you should sacrifice some generality in order
to make it more readable.
--
Pablo Torres N.
--
http://mail.p
nd would
> like to understand the reasoning behind it.
>
> kj
> --
> http://mail.python.org/mailman/listinfo/python-list
>
But...if no code is generated for assertions on some occasions, then the
parameters would go unchecked, potentially breaking your code in said
occasions.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
ware development tool that connects programs written in C
and C++ with a variety of high-level programming languages. SWIG is used
with different types of languages including common scripting languages
such as Perl, PHP, Python, Tcl and Ruby. "
---
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
the last one.
In fact, I'd let them to realize that a function is convenient, and
base some of the grading in whether they wrote it or not. Just a
thought.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
icial, so it can be
judged objectively.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
filter are faster than iterating with the for statement (and also
faster than list comprehensions). So here is a rewrite:
def split(seq, func=bool):
t = filter(func, seq)
f = filter(lambda x: not func(x), seq)
return list(t), list(f)
The lambda thing is kinda ugly, but I can't think of anything else.
Also, is it ok to return lists? Py3k saw a lot of APIs changed to
return iterables instead of lists, so maybe my function should have
'return t, f' as it's last statement.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 2, 9:56 pm, schickb wrote:
> I have fairly often found the need to split a sequence into two groups
> based on a function result. Much like the existing filter function,
> but returning a tuple of true, false sequences. In Python, something
> like:
>
> def split(seq, func=None):
> if fu
ds like it belongs to the python-ideas list. I suggest
posting there for better feedback, since the core developers check
that list more often than this one.
--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
list from a while ago:
http://mail.python.org/pipermail/python-list/2004-December/296269.html
I have followed it and it worked.
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list
PyQt: http://www.riverbankcomputing.co.uk/software/pyqt/intro
All the benefits of Qt: multiplataform, excellent documentation, great
API, visual widget designer, etc, etc.
For the coding itself, I use netbeans + python plugin.
Regards,
Juan Pablo
2009/6/21 Chris Rebert :
> On Sat, Jun
t;", line 1, in
File "", line 4, in
TypeError: arg 5 (closure) must be tuple
>>>
Strange...
2008/12/17 Peter Otten <__pete...@web.de>:
> Juan Pablo Romero Méndez wrote:
>
>> Suppose this function is given:
>>
>> def f(x,y):
>
* x**2 - v * y**2 ) )
...
and have the code automatically figure out that w and v are free
variables and generate the right code.
Right now I can catch w and v (using NameError), but can't figure out
how to get python to assign values to w and v (other than declaring
them globals).
My code nee
f g(k):
return f
g(1)(1,1) ==> 3
Regards,
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
Finally installed Python 2.6, which is compiled with visual C++ 2008,
and all my problems went away.
Thanks to all,
Juan Pablo
2008/12/10 "Martin v. Löwis" <[EMAIL PROTECTED]>:
>> -
>> ...
>> error: P
In R:
norm = function(v) v/sqrt(sum(v^2))
:)
Juan Pablo
2008/12/10 Arnaud Delobelle <[EMAIL PROTECTED]>:
> "Dotan Cohen" <[EMAIL PROTECTED]> writes:
>
>> 2008/12/10 <[EMAIL PROTECTED]>:
>>> On Dec 5, 9:51 am, Xah Lee <[EMAIL PROTECTE
I've been compiling everything needed by pivy (Coin, Qt,
SoQt, PyQt) with visual c++ 8, I decided to recompile python itself.
Juan Pablo
2008/12/9 Gabriel Genellina <[EMAIL PROTECTED]>:
> En Tue, 09 Dec 2008 11:32:46 -0200, Juan Pablo Romero Méndez
> <[EMAIL PROTECTED]&
s?
Regards,
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 153 matches
Mail list logo