Re: [Python-Dev] (ctypes example) libffi embedded in CPython

2015-03-14 Thread francis
face"? - Is there an easy way to convert the current code using ctypes to cffi? Thanks in advance! francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.o

Re: [Python-Dev] Request for comments: [issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-14 Thread francis
Hi, > I, too, was thinking /24. I think that overflowing the host portion > should raise OverflowError. > Just curiosity, why not a modulo calculation on the subnet instead of raising the error? Thanks in advance! francis ___ Python-Dev mai

Re: [Python-Dev] Encoding of PyFrameObject members

2015-02-08 Thread Francis Giraldeau
om/giraldeau/python-profile-ust This is of course very experimental, requires a special setup, an I don't even know if it's going to produce good results. I'll report the results in the coming weeks. Cheers, Francis Giraldeau ___ Python-Dev

Re: [Python-Dev] Encoding of PyFrameObject members

2015-02-06 Thread Francis Giraldeau
er will use the thread local frame pointer instead of calling PyEval_GetFrame(). Does that sounds good? Thanks again for your feedback! Francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Encoding of PyFrameObject members

2015-02-05 Thread Francis Giraldeau
to make sure this assumption is valid. Thanks! Francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Workflow improvement PEPs 474 & 462 updated

2015-02-01 Thread francis
t can be customised to meet the needs of the CPython core development team """ I like the PEP. PS: Should this be forwarded to python-workflow or is that other list to be considered obsolete? Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] LTTng-UST support for CPython

2014-12-01 Thread Francis Giraldeau
rible and silly function show_type() to run every Py*_Check() to determine the type of a PyObject *. What would be the sane way to do that? Your comments are very valuable. Thanks! Francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.pyt

Re: [Python-Dev] Support for Linux perf

2014-11-23 Thread Francis Giraldeau
2014-11-22 7:44 GMT-05:00 Julian Taylor : > On 17.11.2014 23:09, Francis Giraldeau wrote: > > Hi, > > ... > > The PEP-418 is about performance counters, but there is no mention o > > Anyway, I think we must change CPython to support tools such as perf. > > Any

[Python-Dev] Support for Linux perf

2014-11-17 Thread Francis Giraldeau
Anyway, I think we must change CPython to support tools such as perf. Any thoughts? Cheers, Francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/op

Re: [Python-Dev] Static checker for common Python programming errors

2014-11-17 Thread Francis Giraldeau
/~amoeller/papers/tajs/ Good luck! Francis 2014-11-17 9:49 GMT-05:00 Stefan Bucur : > I'm developing a Python static analysis tool that flags common programming > errors in Python programs. The tool is meant to complement other tools like > Pylint (which perform checks at lexical and s

Re: [Python-Dev] Sad status of Python 3.x buildbots

2014-09-03 Thread francis
starts a build an sends per e-mail the results to some address. Thanks in advance! francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python

Re: [Python-Dev] PEP 4000 to explicitly declare we won't be doing a Py3k style compatibility break again?

2014-08-17 Thread francis
On 08/17/2014 03:28 AM, Nick Coghlan wrote: I've seen a few people on python-ideas express the assumption that there will be another Py3k style compatibility break for Python 4.0. I've also had people express the concern that "you broke compatibility in a major way once, how do we know you won't

Re: [Python-Dev] Tracker Stats

2014-07-07 Thread francis
On 06/23/2014 10:12 PM, R. David Murray wrote: The stats graphs are based on the data generated for the weekly issue report. I have a patched version of that report that adds the bug/enhancement info. I'll try to dig it up this week; someone ping me if I forget :) It think the patch will need

Re: [Python-Dev] Tracker Stats

2014-06-24 Thread francis
committers :) more patch writers: yes, more patch reviewers: yes, more committers: ?? automate!! :-) Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https

Re: [Python-Dev] Tracker Stats

2014-06-23 Thread francis
ssues with patch”, means that the ones not listed there are in “needs patch” or “new” status? Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.o

Re: [Python-Dev] [issue6839] zipfile can't extract file

2014-04-30 Thread francis
Hi Nathaniel, their fault for not having a sense of humor. Trying to further defend this position is just going to dig you in deeper, so let's drop the discussion here. You're right, the formulation wasn't correct. My excuses. I just better do the review. Thanks. R

Re: [Python-Dev] [issue6839] zipfile can't extract file

2014-04-30 Thread francis
searching for the "Gentlemen" word?). Just a joke ;-) Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 465: A dedicated infix operator for matrix multiplication

2014-04-07 Thread francis
yObject? Thanks in advance! francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Summary of Python tracker Issues

2014-02-08 Thread francis
On 02/07/2014 06:07 PM, Python tracker wrote: Open issues with patches: 2045 Has somebody done a graphic of that data againsttime? Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python

Re: [Python-Dev] lambda (x, y):

2014-01-26 Thread francis
hange was that it simplified the compiler a bit, not that it was broken or not useful. I'm not sure if that's applicable or other issues arise with: def fn(*p): px,py,qx,qy = p; return ((px - qx) ** 2 + (py - qy) ** 2) ** 0.5 Thanks in a

Re: [Python-Dev] Fwd: Python 2.x and 3.x usage survey

2013-12-31 Thread francis
) Regards, francis ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Accepting PEP 3154 for 3.4?

2013-11-19 Thread francis
Food for thought: maybe we should have variable-encoding lengths for all opcodes, rather than the current cumbersome scheme? Funny, it sounds like UTF-8 :-) ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/p

Re: [Python-Dev] Semantics of __int__(), __index__()

2013-04-03 Thread francis
On 03/31/2013 09:13 PM, francis wrote: why is printing new ? read twice before you write :-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Semantics of __int__(), __index__()

2013-03-31 Thread francis
and two instances i1 = Int1() i2 = Int2() we get the following behaviour: >>> type(int(i1)) I would have expected 'Int1' >>> type(float(i1)) >>> type(float(i2)) >>> isinstance(int(i1), int) True >>> isinstance(int(i2), int) new True >>> isinstance(float(i1), float) True >>> isinstanc

Re: [Python-Dev] IDLE in the stdlib

2013-03-22 Thread francis
You can use idle from the command line almost as easily as the CP interpreter: 'python -m idlelib' instead of just 'python' (I just tried it to verify). Unlike bare 'python', IDLE includes a grep. Right click on any 'hit' and it opens the file at the specified line. Unlike bare 'python', you

Re: [Python-Dev] question about packaging

2013-01-01 Thread francis
hanks and Happy 2013! francis ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Summary of Python tracker Issues

2012-08-25 Thread francis
ge. Thank you! Is there a easy way to automate this?: - Get a list the "waiting for review" issues - Get the last patch - Try to apply that patch to the version(s) to check if that patch already applies? Regards, francis ___

Re: [Python-Dev] Summary of Python tracker Issues

2012-08-25 Thread francis
Most recent 15 issues waiting for review (15) = Just curious: How is a issue considered "waiting for review"? Thanks! francis ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] Requesting pronouncement on PEP 0424

2012-07-29 Thread francis
Hi Alex, just a small info (view pep-0424.txt @ 4491:7838a83c3ad1): - Section Proposal: [...] than the actual size >>> ofthe <<< container. [...] - Section Rationale: The first line is really long (seems to need a newline before ``__length_hint__``)

Re: [Python-Dev] A new dictionary implementation

2012-02-09 Thread francis
(from it's doc: “This project is intended to be an authoritative source of benchmarks for all Python implementations.”) Thanks in advance ! francis ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] A new dictionary implementation

2012-02-08 Thread francis
n ‘dict_popitem’: Objects/dictobject.c:2208:5: error: ‘PyDictKeyEntry’ has no member named ‘me_value’ make: *** [Objects/dictobject.o] Error 1 make: *** Waiting for unfinished jobs Cheers francis ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] A new dictionary implementation

2012-02-08 Thread francis
Just more info: changeset is: 74843:20702d1acf17 Cheers, francis ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] cpython (3.2): remove unused import

2012-02-06 Thread francis
Hi Brett, If that's the case I might as well add it as part of my mnfy project's verification run I do over the stdlib if someone doesn't beat me to it. Is that devinabox ? Thanks in advance ! francis ___ Python-Dev mailing

Re: [Python-Dev] A new dictionary implementation

2012-01-29 Thread francis
I still have gdb 6.somthing, would you mail me the full output please, so I can see what the problem is. It's done, let me know if you need more output. Cheers, francis ___ Python-Dev mailing list Python-Dev@python.org http://mail.pytho

Re: [Python-Dev] A new dictionary implementation

2012-01-29 Thread francis
On 01/29/2012 11:31 AM, Mark Shannon wrote: It passes all the tests. (I had to change a couple that relied on dict repr() ordering) Hi Mark, I've cloned the repo, build it the I've tried with ./python -m test. I got some errors: First in general: 340 tests OK. 2 tests failed: test_dis te

Re: [Python-Dev] Code reviews

2012-01-02 Thread francis
ting where part of the process itself do you thing that that would be an issue anymore? PS: I know that there’s a pep8 checker so it could be transformed into a reformatter but I don't know if theres a pep7 checker (reformater) Best regards! francis ___

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread francis
.. (I thing that 'go' has some autoformater or a standard way of formatting). -- francis ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com