Is it true that Pypy can't import a `.pyc` file?
Ram.
___
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev
On Tue, May 10, 2011 at 3:53 AM, Antonio Cuni wrote:
> On 10/05/11 00:36, cool-RR wrote:
> > Is it true that Pypy can't import a `.pyc` file?
>
> yes, by default pyc files which don't have the corresponding py file are
> ignored.
>
> You can change the behavi
Hello,
On the IRC channel arigato showed me how to set the size of Pypy's nursery
for testing. But I forgot and I couldn't find it on Google. Is there a page
containing all the Pypy constants? If not, what's the constant for Pypy's
nursery size?
Thanks,
Ram.
_
Hey,
It seems that in CPython a function gets a `.__module__` attribute according
to the current value of `__name__` when the function is being defined. In
Pypy this seems not to be working, since I changed `__name__` in globals (as
part of a test) but it still didn't change the function's `.__mod
Thanks!
Ram.
On Tue, May 10, 2011 at 5:07 AM, Amaury Forgeot d'Arc wrote:
> Hi,
>
> Le mardi 10 mai 2011, cool-RR a écrit :
> > Hello,
> > On the IRC channel arigato showed me how to set the size of Pypy's
> nursery for testing. But I forgot and I couldn'
On Tue, May 10, 2011 at 2:18 PM, Antonio Cuni wrote:
> On 10/05/11 18:50, cool-RR wrote:
> > Hey,
> >
> > It seems that in CPython a function gets a `.__module__` attribute
> according
> > to the current value of `__name__` when the function is being defined. In
&
On Tue, May 10, 2011 at 2:41 PM, Antonio Cuni wrote:
> On 10/05/11 20:39, cool-RR wrote:
> > Ah, then my problem is easily solved by accessing
> `my_function.__module__`
> > before I change `__name__` back to its original value. I tested and it
> works.
>
> by the w
Hey,
Here's something I thought about that might be a compatibility problem, not
sure if it's a problem in production. When you take a method of a builtin in
Pypy, for example `str.join`, it seems to create a new object which is
weakreffable, where in CPython it's not. I was just looking at Django
On Fri, May 13, 2011 at 8:28 PM, Amaury Forgeot d'Arc wrote:
> Hi,
>
> 2011/5/13 cool-RR :
> > Hey,
> > Here's something I thought about that might be a compatibility problem,
> not
> > sure if it's a problem in production. When you take a method of a