[Python-Dev] Re: Packing a long list of numbers into memory

2021-10-11 Thread Facundo Batista
El lun, 11 de oct. de 2021 a la(s) 06:50, Simon Cross (hodgestar+python...@gmail.com) escribió: > Multiprocessing sort of added support for this via multiprocessing.Array -- > see >

[Python-Dev] Re: Packing a long list of numbers into memory

2021-10-11 Thread Facundo Batista
El dom, 10 de oct. de 2021 a la(s) 15:20, Gregory P. Smith (g...@krypto.org) escribió: >> Is that because my particular case is very uncommon? Or maybe we *do* >> want this but we don't have it yet? Or do we already have a better way >> of doing this? >> >> Thanks! >> >> [0]

[Python-Dev] Re: Packing a long list of numbers into memory

2021-10-10 Thread Facundo Batista
El dom, 10 de oct. de 2021 a la(s) 11:50, Serhiy Storchaka (storch...@gmail.com) escribió: > > 10.10.21 17:19, Facundo Batista пише: > > I have a long list of nums (several millions), ended up doing the following: > > > > struct.pack_into(f'{len(nums)}Q', buf, 0, *num

[Python-Dev] Packing a long list of numbers into memory

2021-10-10 Thread Facundo Batista
Hello everyone! I need to pack a long list of numbers into shared memory, so I thought about using `struct.pack_into`. Its signature is struct.pack_into(format, buffer, offset, v1, v2, ...) I have a long list of nums (several millions), ended up doing the following:

[Python-Dev] Re: Buildbot migrated to a new server

2020-09-04 Thread Facundo Batista
Thanks Victor and the rest of the Night’s Watch for all the work in our buildbots! El jue., 3 de sep. de 2020 a la(s) 12:08, Victor Stinner (vstin...@python.org) escribió: > > Hi, > > tl; dr Buildbots were unstable for 3 weeks but the issue is mostly resolved. > > > Since last January, the disk

[Python-Dev] Re: PR stuck in Travis

2020-08-22 Thread Facundo Batista
El vie., 21 de ago. de 2020 a la(s) 15:54, Guido van Rossum (gu...@python.org) escribió: > > Does closing and reopening the PR work? > Yeap, it worked, thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org.ar/ Twitter: @facundobatista

[Python-Dev] PR stuck in Travis

2020-08-21 Thread Facundo Batista
Hello! I want to land this PR: https://github.com/python/cpython/pull/21466 It's doc only, so it only run the docs part in GH actions. All fine, except Travis, which is "required", but didn't finish. I'm not finding a way to restart that job. - from Github: I don't find any restart/resend

[Python-Dev] Re: Procedure for trivial PRs

2020-08-13 Thread Facundo Batista
El jue., 13 de ago. de 2020 a la(s) 18:42, Terry Reedy (tjre...@udel.edu) escribió: > The backport bot occasionally fails, sometimes for external reasons. If > you hit a problem, you can ask me for help as I have probably hit all > the failure modes by now. Thanks! One of the backport failed so

[Python-Dev] Re: Procedure for trivial PRs

2020-08-13 Thread Facundo Batista
El jue., 13 de ago. de 2020 a la(s) 17:41, Facundo Batista (facundobati...@gmail.com) escribió: > > El jue., 13 de ago. de 2020 a la(s) 17:32, Facundo Batista > (facundobati...@gmail.com) escribió: > > > >> > > > > > > As a core dev you can still

[Python-Dev] Re: Procedure for trivial PRs

2020-08-13 Thread Facundo Batista
El jue., 13 de ago. de 2020 a la(s) 17:32, Facundo Batista (facundobati...@gmail.com) escribió: > >> > > > > As a core dev you can still merge it yourself without needing to wait for > > review, even when it has the "awaiting core review" label. > > Awe

[Python-Dev] Re: Procedure for trivial PRs

2020-08-13 Thread Facundo Batista
El jue., 13 de ago. de 2020 a la(s) 16:55, Mariatta (maria...@python.org) escribió: > > > On Thu, Aug 13, 2020 at 12:51 PM Facundo Batista > wrote: >> >> It's waiting for a "core review", which is a good thing (and by all >> means welcomed). But as

[Python-Dev] Procedure for trivial PRs

2020-08-13 Thread Facundo Batista
Hello! I just proposed a PR with a small fix to the docs. I'd like to know the procedure to land it. https://github.com/python/cpython/pull/21851 It's super small, so no bug is opened for it, and IMO no mention is needed in the NEWS for the fix. It's waiting for a "core review", which is a

[Python-Dev] Re: About "python-porting" mail list

2020-01-20 Thread Facundo Batista
El mar., 14 de ene. de 2020 a la(s) 16:36, Mark Sapiro (m...@msapiro.net) escribió: > > The list has been removed. The archives are still available at > . > Thank you!! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

[Python-Dev] Re: About "python-porting" mail list

2020-01-14 Thread Facundo Batista
El dom., 23 de dic. de 2018 a la(s) 14:20, Barry Warsaw (ba...@python.org) escribió: > > On Dec 23, 2018, at 07:29, Facundo Batista wrote: > > > > This list (which I co-admin, with Georg) is getting less and less > > traffic as months pass by. See: > > > >

[Python-Dev] Re: 3.10 or 4.0?

2019-11-28 Thread Facundo Batista
El jue., 28 de nov. de 2019 a la(s) 12:35, Facundo Batista (facundobati...@gmail.com) escribió: > Did we take a decision of what comes after 3.9? > > Do we have a PEP for that decision? (couldn't find it) Thanks everybody for the responses. So 3.10 it is, not a hard made

[Python-Dev] 3.10 or 4.0?

2019-11-28 Thread Facundo Batista
Hello! Did we take a decision of what comes after 3.9? Do we have a PEP for that decision? (couldn't find it) (not arguing in favor of one or another, just want to know the rationale behind it) Thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org.ar/

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-05 Thread Facundo Batista
El lun., 5 de ago. de 2019 a la(s) 01:25, escribió: > > We should revisit what we want to do (if anything) about invalid escape > sequences. > > For Python 3.8, the DeprecationWarning was converted to a SyntaxWarning which > is visible by default. The intention is to make it a SyntaxError in

Re: [Python-Dev] About "python-porting" mail list

2018-12-24 Thread Facundo Batista
El dom., 23 de dic. de 2018 a la(s) 14:20, Barry Warsaw (ba...@python.org) escribió: > > Can we kill this list? > > Is it a maintenance burden? If not, then maybe we should wait until 2.7 is > EOL’d? There might be an uptick in traffic as reality sets in for more > people. > It's a good idea

[Python-Dev] About "python-porting" mail list

2018-12-23 Thread Facundo Batista
Hello! This list (which I co-admin, with Georg) is getting less and less traffic as months pass by. See: https://mail.python.org/pipermail/python-porting/ The interwebs has been collecting ton of resources about porting py2 to 3 during these years. Any not-yet-answered question surely can be

Re: [Python-Dev] Servicing pypi.python.org

2018-10-20 Thread Facundo Batista
El jue., 18 de oct. de 2018 a la(s) 00:07, Donald Stufft (don...@stufft.io) escribió: > tl;dr: can we have a (semi)permanent redirect from pypi.python.org to > pypi.org? > > > > This already exists: Indeed, it works! I was in a place with a very crappy internet, but I never suspected the issue

[Python-Dev] Servicing pypi.python.org

2018-10-17 Thread Facundo Batista
Hola! tl;dr: can we have a (semi)permanent redirect from pypi.python.org to pypi.org? I own/maintain a project called `fades`, which is an automatic virtualenv creator/manager [0]. While it relies on `pip` itself for the heavy work on the virtualenv itself, `fades` checks if all required

Re: [Python-Dev] Process to remove a Python feature

2018-05-03 Thread Facundo Batista
2018-05-02 14:24 GMT-03:00 Brett Cannon : >> Maybe we should create a tool to list features scheduled for removal, >> and open a discussion to check each removal? > > I don't know if a tool is necessary. We could have a meta issue or text file > somewhere to track what's to be

Re: [Python-Dev] Impact of Namedtuple on startup time

2017-07-17 Thread Facundo Batista
On Mon, Jul 17, 2017 at 9:43 AM, Antoine Pitrou wrote: > As for 2), startup time is actually a very important consideration > nowadays, both for small scripts *and* for interactive use with the > now very wide-spread use of Jupyter Notebooks. A 1 ms. cost when > importing a

Re: [Python-Dev] Translated Python documentation

2017-02-22 Thread Facundo Batista
On Wed, Feb 22, 2017 at 3:04 PM, Serhiy Storchaka wrote: > My largest apprehension is that the documentation can be outdated and > quickly become degraded if main contributors left it. This is why we focus in the Tutorial only, but also: a) The tutorial is mostly the

Re: [Python-Dev] Translated Python documentation

2017-02-22 Thread Facundo Batista
On Wed, Feb 22, 2017 at 9:10 AM, Victor Stinner wrote: > There are a least 3 groups of people who are translating the Python > documentation in their mother language (french, japanese, spanish). We translated (and even printed/published) the Tutorial (we're currently

Re: [Python-Dev] Why does PEP 7/8 explicitly suggest 2 spaces after a period?

2016-05-20 Thread Facundo Batista
On Fri, May 20, 2016 at 1:27 PM, Brett Cannon wrote: > Is there a specific reason for calling out two spaces in comments after a > period(I realize it's probably for consistency, but I sure don't ever think > about this when I write comment)? Otherwise who actually still writes

Re: [Python-Dev] Problemas con modulos

2016-04-29 Thread Facundo Batista
2016-04-29 13:52 GMT-03:00 Guido van Rossum : > Thank you Facundo, and thanks for following up here! (I wonder if it > wouldn't have been just as efficient if you had just BCC'ed the list to your > original response? Or perhaps with a brief English note at the top?) Probably

Re: [Python-Dev] Problemas con modulos

2016-04-29 Thread Facundo Batista
Just to mention that I already answered this (in Spanish, in private), redirecting to proper lists. Regards, 2016-04-29 5:04 GMT-03:00 Felipe Ruiz via Python-Dev : > Hola, > > Estoy intentando conectarme a twitter para recibir tweets, sin embargo > algunos códigos que he

[Python-Dev] Counting references to Py_None

2016-03-20 Thread Facundo Batista
Hello! I'm seeing that our code increases the reference counting to Py_None, and I find this a little strange: isn't Py_None eternal and will never die? What's the point of counting its references? Thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] Web redirect to PyAr

2016-03-07 Thread Facundo Batista
On Mon, Mar 7, 2016 at 4:08 PM, Berker Peksağ wrote: >> At some point in the past we had a redirect from python.org/ar (note >> the slash, not a point) to a PyAr site. >> >> Now it's not working, it 404s. >> >> It should be redirected to python.org.ar (note the point). >

[Python-Dev] Web redirect to PyAr

2016-03-06 Thread Facundo Batista
Hello! Sending mail here because I really don't know where this is handled :) At some point in the past we had a redirect from python.org/ar (note the slash, not a point) to a PyAr site. Now it's not working, it 404s. It should be redirected to python.org.ar (note the point). Thanks! -- .

Re: [Python-Dev] PEP 257 and __init__

2016-01-04 Thread Facundo Batista
On Mon, Jan 4, 2016 at 4:49 AM, Nick Coghlan wrote: > When some of the default settings for the pep8 utility became a > problem, I was able to talk to the developers and persuade them to > tune their defaults to be more in line with the actual PEP text, and > keep their

[Python-Dev] PEP 257 and __init__

2015-12-29 Thread Facundo Batista
Hola! (I was doubting in sending this mail to this list or to the normal one, but as it affects a "style recommendation" we propose for the whole community, I finally sent it here) I was reading PEP 257 and it says that all public methods from a class (including __init__) should have a

Re: [Python-Dev] PEP 257 and __init__

2015-12-29 Thread Facundo Batista
On Tue, Dec 29, 2015 at 4:38 PM, Andrew Barnert wrote: > Isn't the same thing true for every special method? There are lots of classes > where __add___ just says "a.__add__(b) = a + b" or (better following the PEP) > "Return self + value." But, in the rare case where the

Re: [Python-Dev] Committing into which branches?

2015-04-22 Thread Facundo Batista
On Wed, Apr 22, 2015 at 6:46 PM, Brett Cannon br...@python.org wrote: The default branch is going to become 3.5, so you're fine. Thanks!! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter: @facundobatista

[Python-Dev] Committing into which branches?

2015-04-22 Thread Facundo Batista
Hola! I just commited a simple improvement to HTTPError repr, and checking in the source code page [0], I see that my commit has a small default besides it; and other commits don't have that, but have 2.7, or 3.4, etc... So, question: Did I commit in the correct branch? Should I have done

[Python-Dev] Not being able to compile: make: *** [Programs/_freeze_importlib] Error 1

2015-04-16 Thread Facundo Batista
Hello! It's been a while since I compiled python and run the test suite. Now that I'm starting to work in a patch, wanted to do that as a sanity check, and even ./configure finishing ok, make fails :/ (I'm on Ubuntu Trusty, all packages updated, all dependencies theorically installed). Full

[Python-Dev] How to behave regarding commiting

2015-04-16 Thread Facundo Batista
Hola! I'm asking this because quite some time passed since I was active in the development of our beloved language. I'm trying to not break any new rule not known by me. I opened a bug recently [0], somebody else proposed a patch that I like. However, that patch has no test. I will do a test

Re: [Python-Dev] Not being able to compile: make: *** [Programs/_freeze_importlib] Error 1

2015-04-16 Thread Facundo Batista
On Thu, Apr 16, 2015 at 6:34 PM, R. David Murray rdmur...@bitdance.com wrote: Most likely you just need to run 'make touch' so that it doesn't try to rebuild stuff it doesn't need to (because we check in those particular build artifacts, like the frozen importlib). make touch didn't fix it,

Re: [Python-Dev] str.lstrip bug?

2015-03-10 Thread Facundo Batista
On Tue, Mar 10, 2015 at 2:27 PM, lou xiao lox.x...@gmail.com wrote: tiny➜ ~ python Python 2.7.5+ (default, Feb 27 2014, 19:37:08) [GCC 4.8.1] on linux2 Type help, copyright, credits or license for more information. a='device_info' a.lstrip('device') '_info' a.lstrip('device_') 'nfo' On

[Python-Dev] Enum is really serializable using json?

2015-02-21 Thread Facundo Batista
We have this issue closed as resolved: http://bugs.python.org/issue18264 It's called enum.IntEnum is not compatible with JSON serialisation, and it looks that after a long conversation they added proper support for it in Py3.4. However, this is still failing: Python 3.4.2 (default, Oct 8

Re: [Python-Dev] Enum is really serializable using json?

2015-02-21 Thread Facundo Batista
On Sat, Feb 21, 2015 at 3:50 PM, Benjamin Peterson benja...@python.org wrote: Am I failing to understand the bug tracker saying the patch was applied for Py3.4? As the issue title suggests, IntEnum but not Enum supports JSON serialization. Arghhh.. stupid of me. Sorry for the noise, and

[Python-Dev] Redirection of ar.pycon.org

2014-12-18 Thread Facundo Batista
Hi! Don't remember where to ask for changing the redirection of that domain name. Somebody knows? I need for the redirection to be to pycon.python.org.ar (and we'll take care of proper year-by-year redirection from there). Thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/

Re: [Python-Dev] Add transform() and untranform() methods

2013-11-15 Thread Facundo Batista
On Thu, Nov 14, 2013 at 7:32 PM, Victor Stinner victor.stin...@gmail.com wrote: I would prefer to split the registry of codecs to have 3 registries: - encoding (a better name can found): encode str=bytes, decode bytes=str - bytes: encode bytes=bytes, decode bytes=bytes - str: encode

Re: [Python-Dev] The pysandbox project is broken

2013-11-13 Thread Facundo Batista
On Wed, Nov 13, 2013 at 4:37 AM, Maciej Fijalkowski fij...@gmail.com wrote: Do you think it would be productive to create an independent Python compiler, designed with sandboxing in mind from the beginning? PyPy sandbox does work FYI It might not do exactly what you want, but it both

[Python-Dev] Making submodules available when importing top one

2013-10-16 Thread Facundo Batista
(all this using Python 3.4.0a3+) In the stdlib, I see that (as an example): import os os.path.abspath function abspath at 0xb7123734 os.path module 'posixpath' from '/.../python/trunk/Lib/posixpath.py' However, for other (newer) modules: import urllib urllib.requests.urlopen Traceback

[Python-Dev] PEP 8 misnaming

2012-03-14 Thread Facundo Batista
Hello! In the Maximum Line Length section of PEP 8 it says: The preferred place to break around a binary operator is *after* the operator, not before it. And after that is an example (trimmed here): if (width == 0 and height == 0 and color == 'red' and emphasis

[Python-Dev] Strange message error in socket.sendto() exception

2011-08-20 Thread Facundo Batista
Python 3.2 (r32:88445, Mar 25 2011, 19:28:28) [GCC 4.5.2] on linux2 import socket s = socket.socket() print(s.sendto.__doc__) sendto(data[, flags], address) - count ... s.sendto(b'data', ('localhost', 3)) Traceback (most recent call last): File stdin, line 1, in module socket.error: [Errno

[Python-Dev] Decisions about workflow

2011-03-26 Thread Facundo Batista
I know there's a big ideas exchange in this list about how to use Mercurial in the Python project. I know that still there is not wide and firm consensus about the whole workflow to follow. But maybe some small decisions are already taken, some suggestions about the best way to do this or that,

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-16 Thread Facundo Batista
On Wed, Mar 16, 2011 at 7:00 PM, Raymond Hettinger raymond.hettin...@gmail.com wrote: I don't think the more complex workflow if worth it.  Mercurial is very user friendly right out of the box will simple commands.  But as soon as you require the branches to be inter-linked, you've made it

Re: [Python-Dev] [Preview] Comments and change proposals on documentation

2010-11-26 Thread Facundo Batista
On Wed, Nov 24, 2010 at 5:24 PM, Georg Brandl g.bra...@gmx.net wrote: at http://dpo.gbrandl.de/contents, you can look at a version of the 3.2 docs that has the upcoming commenting feature.  JavaScript is mandatory. This is awesome!! Thanks for this work, remember to buy you a beer next PyCon!

Re: [Python-Dev] MemoryError... how much memory?

2010-10-28 Thread Facundo Batista
On Wed, Oct 27, 2010 at 8:27 PM, Nick Coghlan ncogh...@gmail.com wrote: If you see MemoryError (5 bytes), the things you go looking for are very different from those you look for when you see MemoryError(1 gajillion bytes). (i.e. for the former, you look for a memory or other resource leak,

[Python-Dev] MemoryError... how much memory?

2010-10-27 Thread Facundo Batista
There are a lot of places where Python or modules do something like: self-buf = (char *)malloc(size); if (!self-buf) { PyErr_SetString(PyExc_MemoryError, out of memory); At job, we're having some MemoryErrors, and one thing that we would love to know, if how much memory it

Re: [Python-Dev] MemoryError... how much memory?

2010-10-27 Thread Facundo Batista
On Wed, Oct 27, 2010 at 12:05 PM, Benjamin Peterson benja...@python.org wrote: Isn't this usually when you do something like [None]*2**300? In that case, wouldn't you know how much memory you're requesting? It could happen on any malloc. It depends on how much you have free. Don't think on

Re: [Python-Dev] Future of 2.x.

2010-06-09 Thread Facundo Batista
On Wed, Jun 9, 2010 at 8:58 AM, Paul Moore p.f.mo...@gmail.com wrote: On that basis I'm +1 on Alexandre's proposal. A 3rd party planning on working on a 2.8 release (not that I think such a party currently exists) can step up and extract the relevant tickets for their later reference if they

Re: [Python-Dev] Incorrect length of collections.Counter objects / Multiplicity function

2010-05-20 Thread Facundo Batista
On Thu, May 20, 2010 at 5:59 PM, Gustavo Narea m...@gustavonarea.net wrote: Anyone? The best place to post a bug is the bug tracker [0]: you'll surely receive proper attention there. Regards, [0] http://bugs.python.org/ -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] Mixing float and Decimal -- thread reboot

2010-03-19 Thread Facundo Batista
On Fri, Mar 19, 2010 at 5:50 PM, Guido van Rossum gu...@python.org wrote: As a downside, there is the worry that inadvertent mixing of Decimal and float can compromise the correctness of programs in a way that is hard to detect. But the anomalies above indicate that not fixing the Decimal

Re: [Python-Dev] Decimal - float comparisons in py3k.

2010-03-16 Thread Facundo Batista
On Tue, Mar 16, 2010 at 9:41 AM, Mark Dickinson dicki...@gmail.com wrote: On the one hand there's something to be said for maintaining a clean separation between the float and Decimal types, allowing only explicit conversions from one to the other;  mixed-type arithmetic between floats and

Re: [Python-Dev] Improved Traceback Module

2010-01-28 Thread Facundo Batista
On Thu, Jan 28, 2010 at 10:33 AM, Benjamin Schweizer we...@benjamin-schweizer.de wrote: I've updated the traceback.py module; my improved version dumps all local variabes from the stack trace, which helps in debugging rare problems. You can find details in my latest blog post here: This is

Re: [Python-Dev] bug triage

2010-01-06 Thread Facundo Batista
On Wed, Jan 6, 2010 at 8:19 AM, Chris Withers ch...@simplistix.co.uk wrote: Is there a high volume of incoming bugs to the Python tracker? If so, I'd like to help with triaging. I think I have all the necessary access, what I'm missing is the knowledge of how to set myself up to get

Re: [Python-Dev] PEP 3003 - Python Language Moratorium

2009-11-03 Thread Facundo Batista
On Tue, Nov 3, 2009 at 2:35 PM, Guido van Rossum gu...@python.org wrote: fierce discussion here on python-dev. It's important to me that if if this is accepted it is a rough consensus decision (working code we +1 to the PEP. -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] surprised to ++ and --

2009-09-25 Thread Facundo Batista
2009/9/23 Wee Binn weeb...@gmail.com: I know that there is no ++ or -- operator in python, but if var++ or something like that in my code(you know, most of C/C++ coders may like this),there is nothing wrong reported and program goes on just like expected!! This is obscure, maybe a

Re: [Python-Dev] Avoiding file descriptors leakage in subprocess.Popen()

2009-06-18 Thread Facundo Batista
On Sat, Jun 13, 2009 at 9:40 AM, Facundo Batistafacundobati...@gmail.com wrote: How about a nice 'n shiny context wrapper for the pipe: I'll do this! Thank you for the suggestion! Boo, I can not take this approach, neither the previous one. The reason is very specific for subprocess.py...

Re: [Python-Dev] Avoiding file descriptors leakage in subprocess.Popen()

2009-06-13 Thread Facundo Batista
On Fri, Jun 12, 2009 at 9:06 PM, Christian Heimesli...@cheimes.de wrote: How about a nice 'n shiny context wrapper for the pipe: I'll do this! Thank you for the suggestion! BTW, as this is a good way of avoiding the FD leakage, should this context wrapper for pipe() be in the stdlib?

[Python-Dev] Avoiding file descriptors leakage in subprocess.Popen()

2009-06-12 Thread Facundo Batista
In a long lived process at work, we started leaking file descriptors. The problem were that subprocess.Popen._execute_child() method creates two files descriptors through a call to os.pipe(), and after some work it closes them. But an os.read() on the descriptor was interrupted (EINTR), so an

Re: [Python-Dev] Regexp 2.7

2009-03-09 Thread Facundo Batista
2009/3/7 Antoine Pitrou solip...@pitrou.net: Matthew Barnett has been doing a lot of work on the regular expressions engine (it seems he hasn't finished yet) under http://bugs.python.org/issue2636. However, the patches are really huge and touch all of the sre internals. I wonder what the

Re: [Python-Dev] Tracker archeology

2009-02-10 Thread Facundo Batista
2009/2/10 Daniel (ajax) Diniz aja...@gmail.com: If anyone is interested in being added as nosy for any category of bugs, let me know and I'll do that as I scan the tracker. Anything related to Decimal, add me. Thanks! -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] Examples in Py2 or Py3

2009-01-29 Thread Facundo Batista
2009/1/29 Senthil Kumaran orsent...@gmail.com: And for blocks of code # this for python 3.0 # this is for python 2.6 Too much work, ;) Seriously, most probably people will forgot to add that after the third example... -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] PEP 3142: Add a while clause to generator expressions

2009-01-19 Thread Facundo Batista
2009/1/19 Gerald Britton gerald.brit...@gmail.com: Could you please expand on your thoughts about possible confusion? That is, how do you see a programmer becoming confused if this option were added to the syntax. My main concern about confusion is that you're adding a while that actually

Re: [Python-Dev] another Python Bug Day?

2009-01-06 Thread Facundo Batista
2009/1/6 Simon Cross hodgestar+python...@gmail.com: It'd also be nice if there could be some committers around on IRC to All those who are working in the bug day, should be in #python-dev during the work... -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

[Python-Dev] Roundup version numbers

2009-01-05 Thread Facundo Batista
Hi! To craete this issue compilation [0] I use roundup through its web interface. For example, to know which version names corresponds to each number, I consulted them through: http://bugs.python.org/version But since two weeks ago, this list was trimmed down. I think that it was to not be

Re: [Python-Dev] Roundup version numbers

2009-01-05 Thread Facundo Batista
2009/1/5 Martin v. Löwis mar...@v.loewis.de: All existing associations between versions and issues stay as they are. I don't quite understand what the problem is. Yes, the versions were retired (in roundup speak), and yes, issues that were originally associated with the retired versions stay

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-04 Thread Facundo Batista
2008/12/4 A.M. Kuchling [EMAIL PROTECTED]: * that there will be a Python 2.7 that will incorporate what we learn from people trying to port, * that 3.1 will rearrange the standard library in mostly-known ways, and * that we expect people to use 3.0 mostly for compatibility testing, not

Re: [Python-Dev] [Python-3000] 2.6.1 and 3.0

2008-11-19 Thread Facundo Batista
2008/11/18 Martin v. Löwis [EMAIL PROTECTED]: While I'm happy that Barry has automated his part to a high degree, my part is, unfortunately, much less automated. I could personally automate the build process a bit more, but part of it is also testing of the installers, which is manual.

Re: [Python-Dev] [Python-3000] 2.6.1 and 3.0

2008-11-18 Thread Facundo Batista
2008/11/17 Barry Warsaw [EMAIL PROTECTED]: Martin suggests, and I agree, that we should release Python 3.0 final and 2.6.1 at the same time. Makes sense to me. That would mean that Python 2.6.1 should be ready on 03-Dec (well, if Python 3.0 is ready then!). 2.6.1 only two months after 2.6?

[Python-Dev] A statistic for Python tickets

2008-11-11 Thread Facundo Batista
Hi all! I generated this info for other list, thought that it could be valuable to share it here... I've been collecting some statistics since January, as I'm concerned about the issue of tickets quantity just getting higher. I've been saving twice a day (everytime I generate this [0] info), the

Re: [Python-Dev] [Python-3000] Proposed Python 3.0 schedule

2008-10-07 Thread Facundo Batista
2008/10/6 Raymond Hettinger [EMAIL PROTECTED]: 15-Oct-2008 3.0 beta 4 05-Nov-2008 3.0 rc 2 19-Nov-2008 3.0 rc 3 03-Dec-2008 3.0 final Given what still needs to be done, is this a reasonable schedule? Do we need two more betas? Yes to both questions. I agree with you here. I'm

Re: [Python-Dev] 3.1 focus (was Re: for __future__ import planning)

2008-10-06 Thread Facundo Batista
2008/10/5 Martin v. Löwis [EMAIL PROTECTED]: foobar-1.0-py2.6.tar.gz foobar-1.0-py3.0.tar.gz More likely, in this way: foobar-1.0-py2.tar.gz foobar-1.0-py3.tar.gz How do you implement this in distutils? People probably won't rename the files from how sdist names them. So it's more

Re: [Python-Dev] 3.1 focus (was Re: for __future__ import planning)

2008-10-05 Thread Facundo Batista
2008/10/5 Kevin Teague [EMAIL PROTECTED]: on Python 3 after running it through 2to3. The source code is different so that to me suggests different version numbers - but the API will be the same, so maybe the same version number should be used? That is should there be?

Re: [Python-Dev] 3.1 focus (was Re: for __future__ import planning)

2008-10-04 Thread Facundo Batista
2008/10/4 Brett Cannon [EMAIL PROTECTED]: So the mailing list is a good idea. Perhaps it should just be python-porting so that it can also be used for people who have problems with minor releases? +1. I'd try to help on that list, also. -- .Facundo Blog:

Re: [Python-Dev] [Python-3000] Not releasing rc1 tonight

2008-09-04 Thread Facundo Batista
2008/9/4 Raymond Hettinger [EMAIL PROTECTED]: Can I go ahead with some bug fixes and doc improvements or should I wait until after Friday? Doc improvements: go ahead. Bug fixes: the patchs should be revised by other developer. (I'll be hanging around in #python-dev today and tomorrow, btw,

Re: [Python-Dev] Stable / unstable buildbots

2008-08-28 Thread Facundo Batista
2008/8/28 Barry Warsaw [EMAIL PROTECTED]: bots we should trust to judge the health of the trees. I don't think the current list needs to be set in stone, and in fact several of the stable bots have had simple svn or other non-tree related problems for a while. Maybe a good requisite to move

Re: [Python-Dev] Stable / unstable buildbots

2008-08-28 Thread Facundo Batista
2008/8/28 Antoine Pitrou [EMAIL PROTECTED]: By that metric, I fear that the only remaining buildbots would be the Linux/Windows x86/x64 ones. I'm not sure anyone here, for example, cares really Note that I meant to move from unstable to stable, starting from the actual state, not to decide

Re: [Python-Dev] Unicode 5.1.0

2008-08-22 Thread Facundo Batista
2008/8/21 Guido van Rossum [EMAIL PROTECTED]: The two, quite separate, questions, then, are (a) how much work would it be to upgrade to version 5.1.0 of the database; and (b) would it be acceptable to do this post-beta3 (but before rc1). If the answer to (b) is positive, Google can help with

[Python-Dev] Memory tests in Unicode

2008-08-16 Thread Facundo Batista
The test_raiseMemError() in test_unicode.py is complicating me the regression tests: tries to use all the memory in my system, which starts to swap as crazy, and almost freezes everything. When the test finishes (always pass ok), I have all the memory flushed so it take a few seconds to go back to

[Python-Dev] parse_qs and parse_qsl functions

2008-08-16 Thread Facundo Batista
Hi! The issue 600362 has two patches (one for 2.6 and the other for 3.0) that are ready to commit (with a small change in the docs). This patches relocates the parse_qs and parse_qsl functions into the urlparse module (urllib.parse in 3k), bringing them from the cgi one. For backward

Re: [Python-Dev] Memory tests in Unicode

2008-08-16 Thread Facundo Batista
2008/8/16 Antoine Pitrou [EMAIL PROTECTED]: If the test does allocate the very large string, it means MemoryError isn't raised, which defeats the purpose of the test. I do *not* want to remove the test. I just want to execute it *only* when I run -u all or -u memory, not everytime I run the

Re: [Python-Dev] Memory tests in Unicode

2008-08-16 Thread Facundo Batista
2008/8/16 Martin v. Löwis [EMAIL PROTECTED]: See bug http://bugs.python.org/issue3556 If no solution is forthcoming quickly, I recommend to remove/disable the test. The Antoine patch works ok for me, and solves the whole issue. I'm on linux, if somebody can give it a try in another

[Python-Dev] [OT] Commit number

2008-08-05 Thread Facundo Batista
Congratulations to Andrew Kuchling for doing the commit # 2**16 Lover-of-round-numbers--ly yours, -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] urllib.quote and unquote - Unicode issues

2008-07-30 Thread Facundo Batista
2008/7/30 Matt Giuca [EMAIL PROTECTED]: 2. Default to UTF-8. In favour: Matt Giuca, Brett Cannon, Jeroen Ruigrok van der Werven Pros: Fully working and tested solution is implemented; recommended by RFC 3986 for all future schemes; recommended by W3C for use with HTML; UTF-8 used by all

[Python-Dev] us.pycon.org down?

2008-07-03 Thread Facundo Batista
(sorry for the crossposting) Do you know what happened with http://us.pycon.org/;? Thank you! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] [PyCon-Organizers] us.pycon.org down?

2008-07-03 Thread Facundo Batista
2008/7/3 David Goodger [EMAIL PROTECTED]: Jeff fixed it. URL rewriting was off by mistake. Thanks! :) -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Last bug weekend

2008-06-25 Thread Facundo Batista
Hi all! In Python Argentina we get together in two places, Buenos Aires and Santa Fe, and worked out around 10-12 bugs, which is around the half of the total for both days, so I'm very happy, :) We even had a Python logo shaped cake, see, see [1]. Did you participate? What do you think it's the

Re: [Python-Dev] Disable tests in unittest (issue3202)

2008-06-25 Thread Facundo Batista
2008/6/25 Justin Mazzola Paluska [EMAIL PROTECTED]: The idea behind the patch is that it's sometimes useful to disable tests without removing them from the TestCase. For example, a co-worker and I have a module with a few tests that will fail for the forseeable future because we haven't had

Re: [Python-Dev] Issue 2722

2008-06-22 Thread Facundo Batista
2008/6/21 Neil Muller [EMAIL PROTECTED]: Could some one have a look at the suggested fix for issue 2722? While not a particularly common problem, it can be an annoyance, and the patch looks reasonable. I'm on it... Python Bug Day! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr:

Re: [Python-Dev] [Python-3000] First betas (perhaps) on June 18

2008-06-13 Thread Facundo Batista
2008/6/13 Barry Warsaw [EMAIL PROTECTED]: My proposal is this: I will spin another release this coming Wednesday, June 18. If we can get both the 2.6 and 3.0 buildbots green by then, and close out all remaining release critical bugs, then Wednesday's release will be beta 1. In that case, I

Re: [Python-Dev] PEP 8 and optional underscores

2008-06-12 Thread Facundo Batista
2008/6/12 Barry Warsaw [EMAIL PROTECTED]: function:: active_count() method:: Thread.get_name() method:: Thread.is_alive() method:: Thread.is_daemon() method:: Thread.set_daemon(daemonic) +1 on opting for properties in the specific cases here where it makes sense. I'm +1 too... but

Re: [Python-Dev] bugs.python.org down

2008-06-12 Thread Facundo Batista
2008/6/12 anton [EMAIL PROTECTED]: ping works but http://bugs.python.org giges after a timeout: I can enter into it. Also note that my issues showing system [1] was updated 6.5 hours ago, so it was up at that time (my system goes and get some info twice a day, you have the last updated info

Re: [Python-Dev] New Developer

2008-06-06 Thread Facundo Batista
2008/6/6 James Thomas [EMAIL PROTECTED]: Hi All, I'm a new developer with Python. I have a solid knowledge of both Python and C. Are there any tasks that would be suitable for a beginner to the Python codebase? I haven't been able to find a list of such tasks on python.org or

Re: [Python-Dev] on Python's tests (and making them better)

2008-06-06 Thread Facundo Batista
2008/6/6 Benjamin Peterson [EMAIL PROTECTED]: I always find it hard to find a test I'm looking for in a directory with 365 different tests in it. Also grouping tests by function will hopefully help reduce duplication and it more intuitive. Intuitive to who taking into account which grouping?

  1   2   3   4   >