There’s now (as of a couple days ago) a python mobile-sig
(https://mail.python.org/mailman/listinfo/mobile-sig). While that group is
much smaller than python-dev and probably not as knowledgeable about the
Cpython source base, that’s where you’re going to find folks who have a vested
interest
Android's dlopen() works slightly differently than the normal Unix dlopen() in
at least two different ways. I haven't seen your particular problem, but
that's probably because I'm cross-building CPython (building everything I need
on a Linux machine, and then copying the install directory to th
This email is about my experience getting CPython (3.4.1) to
cross-compile and run on x86 Android (4.4.2 with sdk 19 and ndk-r9).
I know that Android is not a supported architecture (and I won't
regale you with stories about the complete locale and mbstowcs support
I had to borrow from FreeBSD to g
b ram.
H_dypmRNWgOxiaaG
A_ceO8B4Q2eKfabi
S_kpgdB3tUFJiaae
H_dypmRNWgOxiaaG
D_FYzdys3H8qbaba
0_pOwRq15h8vbabO
S_kpgdB3tUFJiaae
__mdKp1GvI_fcaaM
6_U3_B0pJT1UsaaW
4_1GnK9BmLj9naa5
__X7hMeAOpACdaaw
B_7pm.T62SiLlaai
I_HSdl0axd8tmaae
T_Dv3LwayACpdaaO
4-bit hash-collisions.
But I managed to do so and created strings with
a length of 16 (6-bit)-characters (a-z, A-Z, 0-9, _, .). Even
14 characters would have been enough.
You need less than twice as many characters for the same effect as in
the 32bit-world.
?
That's no problem, because the dict doesn't really free a slot, it
replaces the values with a dummy-values.
These places are later reused for new values or the whole dict is
recreated and
resized.
Frank
___
Python-Dev mailing list
key)] < HERE
22th try: slot[i= i * 5 + 1 + (perturb >>= 5)]
This is also why there is no conversion needed. It's a
per-key/per-lookup rule.
Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
already_done_and_return_seed(&prefix,
&suffix);
. (and don't cache in this case) .
It's ugly, but if I understand this correctly, the GIL will
protect us against race-conditions, right?
Hello, internals experts: Would this work or is there a better way to do
this w
ly difficult to
write software to create 32bit-collisions.
Frank
___
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
nds on
my pc.
What to do now?
I think it's not smart to reduce the number of allowed collisions
dramatically
AND count all slot-collisions at the same time.
Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/l
No, that's not true.
Whenever a collision happens, other bits are mixed in very fast.
Frank
Am 20.01.2012 13:08, schrieb Victor Stinner:
I'm surprised we haven't seen bug reports about it from users
of 64-bit Pythons long ago
A Python dictionary only uses the lower bits of a
.
Frank
___
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
n't know an effective way to get the prefix either, (if the
application doesn't leak full hash(X) values).
Frank
___
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
sure it's possible
to make this less than a second.
In fact, since hash(X) == hash(Y) is independent of the suffix [ hash(X)
^ suffix == hash(Y) ^ suffix ], a lot of precomputation (from the tail)
is possible.
So the question is: How difficult is it to guess t
May the Pythonistas defeat the
Pythoneers! May the Pythoneers vanquish the Pythonistas!
Long live the Cheeseshop!
it's-very-runny-actual-ly y'rs,
-frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
of this is to make distutils bail out in more reasonable
> manner than a compilation error in case this module is not going to
> work on anything but CPython.
FWIW this would be helpful for Jython too.
-Frank
___
Python-Dev mailing list
Py
On Mon, Feb 22, 2010 at 6:12 PM, Guido van Rossum wrote:
> In that case congrats on beating us to the punch!
>
> Let us know how it goes.
Will, do, thanks!
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
On Mon, Feb 22, 2010 at 5:45 PM, Frank Wierzbicki wrote:
> An advantage of being at PyCon :)
>
> We *may* be able to get on mercurial very fast -- since all of the
> interested parties are here. I'm going to get an svndump now -- the
> downside to this is whatever anyone chec
I'll let you know how it goes.
-Frank
___
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
idn't digg on how Jython organizes things yet, any hint would be
> appreciated)
Jython does not yet support user site-packages, but I think the above
looks like a fine structure for us when we get to implementing it.
-Frank
___
Python-Dev mailing
re is a property on
java.lang.System called "java.compiler" it is often empty.
-Frank
___
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
(but won't hold my breath) that Python becomes more associated
with the abstract language in time.
-Frank
___
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
trunk:6849M, Oct 9 2009, 14:19:04) \n[Java HotSpot(TM)
Client VM (Apple Inc.)]'
-Frank
___
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
.g. import nt,
> a general problem w/ our tests from the days before we always ran tests w/
> the CPython std lib present).
>
> If you run into any problems let me know and I'd be happy to fix it to make
> them more compatible.
Great, thanks! I'll
d by all implementations, potentially
living apart from CPython. I have volunteered to put together a PEP
on the subject, with Jessie Noller and Brett Canon are helping me out.
When I have something worth showing, I'll start the real PEP process.
-Frank
__
omparisons w/ logging.
We've talked about this before, but now I'm reminded again -- do you
happen to have a pointer to these tests just in case someone might
want to grab them :) ?
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://m
On Wed, Aug 26, 2009 at 3:29 PM, Joe Amenta wrote:
> Hello all,
>
> I have released the first alpha version of 3to2 after finishing it for my
> Google Summer of Code 2009(tm) project.
Wow, congratulations!
-Frank
___
Python-Dev mailing lis
t; the corresponding checks when converting to the internal AST.
Great, I may give it a try, but changing the AST impl for Jython 2.6
will probably be my short term answer.
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/m
O
> (you can't simultaneously create all nodes in the tree and glue
> them together, so you have to create the tree in steps - which means
> that it will be intermittently incorrect).
That is quite reasonable, I'll withdraw gripe #1
attempt to implement these things in
CPython if there is support :)
-Frank
___
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
On Sun, Aug 16, 2009 at 11:45 AM, Benjamin Peterson wrote:
> 2009/8/16 Frank Wierzbicki :
> Usually, unless the test is for a bug we are backporting, new tests
> only go in the trunk and py3k.
Thanks! I'll do that from now on.
-Frank
I plan on updating the Python unit tests with tests from Jython that
turn out to be generic Python tests. Should I be putting these tests
into trunk and 3k or should I also put them into the 2.6 and 3.1
maintenance branches as well?
Regards,
-Frank
ok with the change being 2.7/3.2 only.
-Frank
___
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
On Fri, Aug 14, 2009 at 3:41 PM, Frank Wierzbicki wrote:
>> It's at the bottom of the test file. :) You can add a handwritten test
>> above that, though.
> Heh -- how did I miss that :) ? -- I'll resubmit the patch with tests.
Resubmitted http://bugs.python.org/issu
On Fri, Aug 14, 2009 at 3:11 PM, Benjamin Peterson wrote:
> 2009/8/14 Frank Wierzbicki :
>> On Fri, Aug 14, 2009 at 12:16 PM, Benjamin Peterson
>> wrote:
>>
>>>> I have a local patch that changes the CPython col_offset to match
>>>> Jython's, but
ssue6704
BTW - I would have added a test to test_ast.py, but above the test
data it notes: EVERYTHING BELOW IS GENERATED # and I couldn't
find the tool used for the generation. Does anyone know where that
is?
-Frank
___
Python-Dev mai
hon's results to match (one way or another, things will be
much easier for me to test if they match).
Also, would this be a change that would be considered a backwards
incompatibility? In other words, would patches like this be allowed
in 2.6/3.1 or only in 2.7/3.2.
Regards,
-Frank
___
e that Martin should decide
based on what is best for him).
-Frank
___
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
ories, separate "forests", something else?
Also, Martin suggested we migrate to Python's svn and then go along
for the svn->hg ride. Does that still make sense now that some
planning has been done?
-Frank
___
Python-Dev mailin
g to worry about. =) I'd be
> happy to do that session.
Sounds good, and I'm still happy to do the other session even with all
of the heckling :)
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/lis
On Thu, Dec 4, 2008 at 3:16 PM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 4, 2008 at 12:05, Frank Wierzbicki <[EMAIL PROTECTED]> wrote:
>> On Wed, Dec 3, 2008 at 10:31 AM, A.M. Kuchling <[EMAIL PROTECTED]> wrote:
>>> 14:00 - 15:30
>>> ==
lans for 3.0?
>
> Champion needed.
I would like to champion this one.
-Frank
___
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
e non-string keys in these dictionaries.
-Frank
___
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
ging this
behavior would hurt backwards compatibility too much. Maybe I'll
rethink it in our 3.0 timeframe. If a convention like a trailing
underscore is adopted we might move to that in the move to 3.0.
-Frank
___
Python-Dev mailing list
Python-De
ove
> unsupported modules and add Jython-specific ones.
Speaking for Jython, this would be extremely helpful for us. Once we
get caught up, better docs will become one of our most important
priorities I think.
-Frank
___
Python-Dev mailing list
Python
;t be a huge problem for us when the time comes.
-Frank
___
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
both* -X and -J, is that okay
with the other devs?
-Frank
___
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
eryone likes this I will
change the patch for CPython accordingly. How is
-X is reserved for non-standard arguments
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mai
served for Jython".
> >
>
> Do we want it to be Jython-specific, or should it be available to any
> alternative VM? I don't know if the IronPython folks need anything for
> .NET, but maybe they would like one?
-X was suggested on Jython
Patch is here: http://bugs.python.org/issue2617
-Frank
___
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
x27;d love to dust off my C skills and upload a patch, I doubt I
would cause harm in this area of Python :)
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
future Python).
So what do guys say? Can we hava -J? I don't think it is being used yet...
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/o
On 3/7/07, James Tauber <[EMAIL PROTECTED]> wrote:
> I would *strongly* encourage the submission of some Jython projects
> under the PSF umbrella.
Great! I'll do my best to get some submitted.
-Frank
___
Python-Dev mailing list
Pyth
> particularly encourage python-devers to participate.
Just to be sure -- Jython is under the umbrella of the PSF for the
purposes of the SoC, right?
Thanks,
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/list
On Dec 2, 2006, at 8:02 AM, Georg Brandl wrote:
> Surely it is. The PSU once used the time machine to travel to Ancient
> Greece and gave the Delphi priestess her name, along with a schoolbook
> about ancient histo
The PSU does not, nor ever has existed. Any statement implying
otherwise is fal
On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Frank> That said, I still regard Samuele Pedroni as the ultimate
> Frank> authority on Jython and give him pretty much full veto power. He
> Frank> fortunately continues to watch the checkins and
On 7/5/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> Hi Frank,
>
> Have you and/or the Jython community made up your mind about this? The
> thread seems to have disappeared after you posted (or perhaps it
> continued only on jython-dev, which I don't read?).
The
subclassable "type", and figure out how
to put a release together, which will be "real soon now" -- but
really.
Thanks,
-Frank
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsub
should be excluded from
Jython, but mainly to understand the future implementation of Python
for which the tests provide the only real spec. Which of the current
tests is closest to an "ideal" test, so I can use it as a model?
Thanks,
-Frank
ting the top level packages is enough to get a similar
> > effect.
> >
> > This is unlikely to change for backward compatibility reasons, at least
> > from my POV.
>
> IMO it should do this only if the imported module is really a Java
> package. If it's a Python pack
on release. I'm quite sure that we can work something
out so that Jython-specific portability code can reside in Jython
only. Though whenever it is cleanly do-able, I'd like to be able to
use the python libraries unchanged. It sounds like this is a case
where it is
hi,
test mail list :)
致
礼!
Frank
[EMAIL PROTECTED]
2005-11-25
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
On 10/20/05, Neal Norwitz <[EMAIL PROTECTED]> wrote:
The Grammar is (was at one point at least) shared between Jython andwould allow more tools to be able to share infrastructure. The ideais to eventually be able to have [JP]ython output the same AST totools.
Hello Python-dev,
My name is
63 matches
Mail list logo