; Thanks,
> Chris Moller
>
> ___
> 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/amauryfa%40gmail.com
>
e3771 <http://bugs.python.org/issue3771>
>
>
> cf
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-
lso needed when x is a parameter of f(), for inspect.signature of
course,
but also because in python3 you can "del x".
--
Amaury Forgeot d'Arc
___
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; text
> ```
>
> but when I write
> ```
> (x,y=1)->x+y
> ```
> the parser doesn't go into vararglist.
>
This grammar is not LL(1) anymore (it's probably LALR now)
when seeing "x", it has the choice between testlist_comp and vararglist,
and the first
Amaury Forgeot d'Arc
___
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
hon has a sort of speedup mode that disallows the use of
> > _getframe, and I'd like to add this to Jython someday.
>
> This particular function is typically only called at module load time,
> so speeding it up isn't worth it.
It works fine on PyPy as well.
It probably also
.path_hook entry do the job.
Such a WheelImporter could even inherit from zipimporter, plus the magic
required for C extensions.
It avoids the mount/nomount methods, only the usual sys.path operations are
necessary from the user.
--
Amaury Forgeot d'Arc
__
you can install
this backport from PyPI: https://pypi.python.org/pypi/cdecimal/2.3
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/
ere is known workaround.
> Could anybody suggest a way how to find bugs on
> http://bugs.python.org related to some particular commit (plain
> search for 123f2dc0 didn’t find anything).
>
I strongly suspect an incorrect usage of the "is" operator:
https://github.com/mcepl
>> x == '', x is ''
(True, False)
...but this bug has been fixed in 3.3: PyUnicode_Resize() always returns
the unicode_empty singleton.
--
Amaury Forgeot d'Arc
___
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
ifferent empty string.
Really?
>>> x = u'\xe9'.encode('ascii', 'ignore')
>>> x == '', x is ''
(True, False)
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
h
2013/2/13 Lennart Regebro
> On Wed, Feb 13, 2013 at 3:27 PM, Amaury Forgeot d'Arc
> wrote:
> > Yes, it's jitted.
>
> Admittedly, I have no idea in which cases the JIT kicks in, and what I
> should do to make that happen to make sure I have the best possible
>
2013/2/13 Christian Tismer
> On 13.02.13 15:27, Amaury Forgeot d'Arc wrote:
>
>
> 2013/2/13 Lennart Regebro
>
>> On Wed, Feb 13, 2013 at 1:10 PM, Serhiy Storchaka
>> wrote:
>> > I prefer "x = '%s%s%s%s' % (a, b, c, d)" when string
eing slow both on CPython and PyPy. Although
> using .format() is even slower. :-)
Did you really try it?
PyPy is really fast with str.__mod__, when the format string is a constant.
Yes, it's jitted.
--
Amaury Forgeot d'Arc
___
Python-Dev
returns True,
> the two classes will either be identical, or the second will be in the MRO
> of the first. What have I missed?
>
Ah, the magic of ABCs...
KeysView overrides __instancecheck__, and can pretend to be any other class.
This is precisely set in Lib/collections/abc.py:
cessary to
follow the rules, even if they were written by a lawyer and we don't
understand all the reasons.
--
Amaury Forgeot d'Arc
___
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 the GIL.
>
> One reasonable heuristic is to check the man page: if the syscall can
> return EINTR, then the GIL should be released.
Should the call be retried in the EINTR case?
(After a PyErr_CheckSignals)
--
Amaury Forgeot d'Arc
___
2013/1/23 Antoine Pitrou
> On Wed, 23 Jan 2013 20:41:11 +0100
> "Amaury Forgeot d'Arc" wrote:
> > 2013/1/22 Antoine Pitrou
> >
> > > I've upgraded the Mercurial version on hg.python.org. If there any
> > > problems, don't hesitate t
link which causes the rest of the line to be shifted.
--
Amaury Forgeot d'Arc
___
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
t;group" command will not run
> forever. What can'i do
> Mybe this is my fase, please give me some advise.
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> http://mail.python.org/mailman/listinfo/python-de
is in the same line as
> WORD, DWORD etc. The way you look at memory contents in assembly.
In this case you should use ctypes.wintypes.BYTE
... which is unfortunately defined as c_byte!
This is the bug :-(
--
Amaury Forgeot d'Arc
___
Python-Dev ma
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/amauryfa%40gmail.com
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
P
cate a better presentation of
its content.
Could we have at least clear sections, with titles and descriptions?
And use the ^L page separator for Emacs users?
Code in posixmodule.c could also benefit of a better layout.
--
Amaury Forgeot d'Arc
___
ich at the time was 3.3.
But this does not prevent anyone from creating and maintaining such a
patch, outside of the official python.org repository.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.p
gt; import hashlib
>>> hashlib.new(1)
TypeError: name must be a string
But if the _hashlib extension module is not available, the python
version is used and ValueError is raised:
>>> import sys
>>> sys.modules['_hashlib'] = None
>>> import hashli
s that play tricky games with the API;
PyQt for example uses metaclasses with a custom tp_alloc slot, to have access
to the PyTypeObject structure during the construction of the type...
The Python C API is quite complete, but some use cases are still
poorly
oblem becomes more and more difficult each time
one thinks about it)
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/option
ng, psyco did exactly this.
--
Amaury Forgeot d'Arc
___
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
ail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/amauryfa%40gmail.com
>
--
Amaury Forgeot d'Arc
___
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
doesn't PyPy read and write .pyc files (
>> http://doc.pypy.org/en/latest/config/objspace.usepycfiles.html suggests
>> you do)? So I would assume you are not affected by this. Jython and
>> IronPython, though, would be (I think).
>>
>
>
Hi,
2012/4/16 Stefan Behnel
> > On the down side, we would depend on Cython for evolving .
>
> Right, although not as a strict dependency. The code would still work just
> fine in plain Python.
Not quite, we are talking of the imp module here...
--
Amaur
yPy to 3.3 will be more work ;-)
Fortunately the libmpdec directory should be reusable as is.
Nice work!
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
plete shambles we should go
> ahead and deprecate, then remove, that functionality.
Not that I disagree with the conclusion, but the obvious thing to do here
is to fix dir() and return only string attributes, i.e. those you can
access with getattr.
Cheers,
--
Amaury Forgeot d'Arc
the solution should still
> be
> built. (I'm not absolutely sure, as I use the full Visual Studio).
I confirm: you can safely ignore this warning message.
The "Solution folder" is a convenient place to group files not related to
rm is different from others
mostly because
a pointer (64bit) is larger than a long (32bit on all Windows flavors)
Is the 32-bit build safe to use on 64-bit Windows?
Yes, like many other 32-bit programs pypy for win32 works on Windows 64-bit.
It will be limited to 3Gb of
the behaviour of the "mbcs" codec
> under Windows. "locale" would be the moral (*) equivalent of that under
> Unix.
With the difference that mbcs cannot change during execution.
I don't even know if it is possible to change it
at the start of a block
- No designated initializers for structures
- Ascii-only identifiers:
http://msdn.microsoft.com/en-us/library/e7f8y25b.aspx
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailm
d code to do allocation of the str field even
> that is questionable (i don't think there are?).
There are. Unfortunately.
https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/scalarapi.c#L710
--
Amaury Forgeot d'Arc
__
ns of similar
constructs,
and works very well in debug mode.
If you can isolate a reproducible case, please file a ticket on
bugs.python.org,
with all details: code, versions of the compiler, etc.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing l
r particular question: keep in mind that PyObject_Call takes
arguments as a tuple;
if you want to pass one tuple, you need to build a 1-tuple around your
tuple]
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.p
g = self.detect_modules()
> File "./setup.py", line 1154, in detect_modules
>for arg in sysconfig.get_config_var("**CONFIG_ARGS").split()]
> AttributeError: 'NoneType' object has no attribute 'split'
> make: *** [sharedmods] Error 1
>
nly held by a local variable in listsort().
even gc.get_referrers() can return the empty list...
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.p
of the documentation:
http://docs.python.org/library/stdtypes.html#mutable-sequence-types
and only considers python 2.2 or older...
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsub
velopment headers so that they can build the new module.
>
And don't worry about Windows builbots, they will automatically download
the XZ prebuilt binaries from the usual place.
(svn export http://svn.python.org/projects/external/xz-5.0.3)
Next step: add support for tar.xz files (issue5
mple to me, but also the
pickle/copy modules which were modified because of subtle differences
around built-in methods (or was it the __builtins__ module?)
And oh, I almost forgot distutils, which needs to parse some Makefile which
of course does not exist in PyPy.
- Differences between C extensions and pure P
not a good idea to rely on
> it (and it's especially unwise to base benchmarks on it working :-))
>
Note that this string optimization hack is still present in Python 3,
but it now acts on *unicode* strings, not bytes.
--
Amaury Forgeot d'Arc
_
on of
dict specialized for string keys, and the 2.7 range() returns a list that
does not need to allocate its items, and can turn into a "real" list as
soon as you modify it), so I would not qualify this task as a big hurdle,
compared to other optimizations done in similar areas.
--
without any merge tool.
OTOH when PyPy changed minor versions (from 2.7.0 to 2.7.2 IIRC) most of
the work was to follow the various tiny fixes made to the built-in modules:
_io, _ssl and _multiprocessing.
--
Amaury Forgeot d'Arc
___
Python
Hi,
2011/11/22 Giampaolo Rodolà
> Sorry, thanks (fixed).
>
You also modified Lib/sched.py in the same commit.
Was it intended? If not, please revert it.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@pyth
t;
> The easiest solution is to do nothing in Python 3.3: the API changed, but
> it
> doesn't really matter. Developers just have to be careful on this
> particular
> issue (which is not well documented today).
>
+1. A note in the "Porting C
new non-movable buffer (since all memory allocated
by PyPy is movable). So cpyext could support the new API for sure, but
it's unlikely to give any performance benefit to an extension module.
--
Amaury Forgeot d'Arc
___
Python-Dev mailin
Hi,
2011/11/9 Barry Warsaw
> I think we should have an official pronouncement about Python 2.8, and PEPs
> are as official as it gets 'round here.
>
Do we need to designate a release manager?
--
Amaury Forgeot d'Arc
___
Pyth
stom alignments.
IMO a good thing would be a way to specify a function that computes sizes
and alignments, that one can override to implement specific compiler
features.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://
e development *of* python.
For development *with* python, please ask your question on the python-list
mailing list, or the comp.lang.python newsgroup.
There are many friendly people there ready to answer your questions.
Thank you!
--
Amaury Forgeot d'Arc
___
date");
>_Py_IdentifierAdd(&s_update);
> }
>
It should also check for errors; in this case the initialization is a bit
more verbose:
if (PY_IDENTIFIER_INIT(update) < 0)
;
--
Amaury Forgeot d'Arc
___
Python-Dev mailing lis
y key, I don't
remember which one though :-(
--
Amaury Forgeot d'Arc
___
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
low one of two ways to
indicate an error:
- functions that return PyObject* will return NULL
- functions that return an int will return -1
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
d prefer it was written :
if (PyUnicode_READY(*filename) < 0)
because "< 0" clearly indicates an error condition.
That's how all calls to PyType_Ready are written, for example.
Am I the only one to be distracted by this idiom?
--
Amaury Forgeot d'Arc
_
getting the sliding window algorithm):
> I'm not sure of what percentage of strings/buffers are concerned in a
> "typical" program.
Most usages of _PyBytes_Resize() are in compression libraries.
256K payloads are not rare in this area.
--
Amaury Forgeot d'Arc
__
gt; (it starts with an underscore), so how can it be a limited API function?
It's not a proposal of any kind; it's just the workaround I used to compile
and test.
OTOH, it seems that many modules already use this function. Is there
another method that d
ewhere else?
Cheers,
--
Amaury Forgeot d'Arc
___
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
not suitable to python-dev.
Please ask this on the python-list mailing list, or eventually
on python-ideas.
(where someone will probably suggest you to use a nested function)
Cheers,
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@pytho
arious programs. Nothing Python
can do about.
You could try to disable the -g option.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mail
gt;> 27 LOAD_CONST 0 (None)
30 RETURN_VALUE
It's probably not easy to do though.
Think of expressions where the variable appears several times,
or even where the variable is not the first object, like str(ord(x)).
--
Amaury Forgeot d'Arc
__
2011/5/18 "Martin v. Löwis" :
>> How do I know which version of Python a PEP lands in?
>
> You should look at the Python-Version header of the PEP.
But some PEPs don't have it: 341, 342, 343, 353...
--
Amaury Forgeot d'Arc
___
Hi,
2011/5/18 anatoly techtonik :
> That's great, but where is the list if changes?
All changes are always listed in the Misc/NEWS file.
A "Change log" link on every download page displays this file.
--
Amaury Forgeot d'Arc
___
it was released with Python 2.5.
Now, an "official" way to get this information would probably be better...
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
ow it would apply to macros.
What about additional tags in the .rst files?
--
Amaury
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.o
arguments. However, in fact it steals a
> # reference to the item argument!
Should we change this file then?
And only list functions that don't follow the usual conventions.
But I'm sure that there are external tools which already use refcounts.dat
in its present format.
--
Amau
Hi,
Le jeudi 5 mai 2011, Greg Ewing a écrit :
> Amaury Forgeot d'Arc wrote:
>
>
> It's in the file Doc/data/refcounts.dat
> in some custom format.
>
>
> However, it doesn't seem to quite convey the same information.
> It lists the "refcount effect&
k?
It's in the file Doc/data/refcounts.dat
in some custom format.
--
Amaury
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/m
ompatible
with previous versions of Python:
http://www.python.org/dev/peps/pep-0291/
makeopcodetargets.py is not mentioned there, though.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
-00023G-4C
> for rep...@bugs.python.org; Tue, 29 Mar 2011 22:10:55 +0200
> Date: Tue, 29 Mar 2011 22:10:55 +0200
> Message-Id:
> Content-Type: text/plain; charset="utf8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: base64
> From: python-dev@python.org
> To: rep...@bugs.python.org
>
hange the development process!
For the moment, we use svn and the issue tracker.
If every patch comes with its own workflow, no coordination is possible.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/ma
Hi,
2011/1/31 :
> Reviewers: ,
>
> Please review this at http://codereview.appspot.com/4080047/
[...]
It looks good, but did you create an item in the issue tracker?
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@p
understand: if you make the same change in two branches, but
> in different changesets, and then merge these branches, Mercurial will
> usually notice that and not trouble you with conflicts.
Actually I never passed the first step: make the same change to two branches.
--
Amaury Forgeot d
2010/12/29 David Cournapeau :
> On Wed, Dec 29, 2010 at 5:02 PM, Amaury Forgeot d'Arc
> wrote:
>> 2010/12/29 David Cournapeau
>>>
>>> The easiest way I found to emulate git cherry-pick (which does exactly
>>> what you want) with h
s needed.
>
> A change can of course also be transplanted after the fact. It requires
> another
> merge, but usually a trivial one.
No, it's not trivial with hg: this is the very subject of the thread!
--
Amaury Forgeot d'Arc
nt,
some tickets got reopened because a backport was needed.
--
Amaury Forgeot d'Arc
___
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
2010/12/29 Georg Brandl
>
> Am 29.12.2010 09:02, schrieb Amaury Forgeot d'Arc:
>
> > - even if there was one, there is the problem of changes specifically made
> > for 2.7
> > that make no sense in py3k. You'd have to perform a "dummy merge" to py
tw, now that I have "hg pull" another repo, how can I remove it? is my
clone broken forever?)
--
Amaury Forgeot d'Arc
___
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
in mind)
At the moment, I feel that mercurial just cannot work for core Python
development.
At the very least before the migration we need precise use cases like this
and recipes for common cases.
Thanks for your help,
--
Amaury Forgeot d'Arc
diff -r 2777ae4d10d9 Lib/test/test_contextlib.py
eer would have to step forward.
>
+1. Such a clause is already used to keep supporting the old VC6.0 compiler
(a.k.a VC98!)
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
d PEP384;
they change the paths and filenames used by python.
Either we modify distutils to comply with the new names,
or defer these PEPs until distutils2 is ready.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
create types, since PyStructSequence_InitType
is supposed to work on a unititialized static variable:
PyTypeObject *PyStructSequence_NewType(PyStructSequence_Desc *desc);
- PyStructSequence_SetItem(), similar to the
macro PyStructSequence_SET_ITEM; the PyStructSequence structure should be
hidden.
--
A
>
> Given the apparent difficulty of writing even basic text processing
> algorithms in presence of surrogate pairs, I wonder how wise it is to
> expose Python users to them.
This was already discussed two years ago:
http://mail.python.org/pipermail/python-dev/2008-July/080900.html
So yes,
ml
"""On Windows, in order to run a side-by-side assembly the specified
env *must* include a valid SystemRoot."""
Can you keep this variable and start again?
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-D
2010/9/29 Guido van Rossum :
> On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc
> wrote:
>> 2010/9/29 Guido van Rossum :
>>>> Can someone please explain why converting to a PyCapsule object is not
>>>> an option?
>>>> PyCObject_AsVoid
compiled in a separate .pyd or .so. But what does this change?
--
Amaury Forgeot d'Arc
___
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
2010/9/28 Nick Coghlan :
> Converting to a Py3k warning sounds like the best option.
Can someone please explain why converting to a PyCapsule object is not
an option?
PyCObject_AsVoidPtr() and PyCObject_Import() accept Capsules and will
work as before.
--
Amaury Forgeot d&
ould like comments.
Is compatibility really broken?
PyCObject_AsVoidPtr(), PyCObject_Import() accept Capsule objects as well.
Or are there other usages of the api pointer?
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http:/
2010/9/24 Antoine Pitrou :
>
> The getlogin test fails on many Unix buildbots, either with errno 2
> (ENOENT) or 22 (EINVAL) or "OSError: unable to determine login name":
Do these buildbots run in a Windows service, i.e. with no user logged in?
--
A
d probably are going to be quite confused by it,
>
> Agreed; this should be silent by default.
+1. I suggest to enable it only when Py_DEBUG (or Py_TRACE_REFS or
Py_REF_DEBUG?) is defined.
--
Amaury Forgeot d'Arc
___
Python-Dev ma
Just to be clear: does this mean that PyUnicode_FromUnicode() and
PyUnicode_AsUnicode() won't belong to the stable ABI?
PyUnicode_AsWideChar() is not as fast, because it needs to copy the data.
--
Amaury Forgeot d'Arc
___
Python-Dev
xtension to sphinx that reads this file and generates
the annotation in the documentation.
This file is not very well known, even by core developers...
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
hat FILE* functions are allowed in the API, but their
> use discouraged in the docs (with proper explanations from those who
> know how to word them).
IMO the warnings you'd write there would be similar to the motivations of
PEP 384.
--
Amaury Forgeot d'Arc
___
ist.
In any case, reading the documentation of both functions should answer
your question.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.py
taining the ABI tag, and refuse foo.so which is incompatible for sure.
But the installations could still be shared between Python implementations.
Cheers,
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.or
e issue by compiling extension modules with
pymalloc options turned on
(which it fortunately the default, so this applies to the supplied
proprietary .pyd),
and I added a (plain) definition for functions like _PyObject_DebugMalloc,
even when PYMALLOC_DEBUG is undefined.
Sinc
2010/6/1 :
>> Without further information, I cannot consider this as a problem in
>> Python.
>> I know other extension modules that manage memory in their own way, and
>> work.
>> It's more probably an issue in the code of your type.
>>
>> --
>
1 - 100 of 190 matches
Mail list logo