Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/amauryfa%40gmail.com
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
https
@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
Python-Dev@python.org
http://mail.python.org
the choice between testlist_comp and vararglist,
and the first one is picked.
Python's parser generator only supports LL(1) grammars.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python
in enums?
--
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
.
--
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
features anymore, but 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
a sys.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
search for 123f2dc0 didn’t find anything).
I strongly suspect an incorrect usage of the is operator:
https://github.com/mcepl/html2text/blob/master/html2text.py#L95
Identity of strings is not guaranteed...
Does it change something if you use == instead?
--
Amaury Forgeot d'Arc
'.encode('ascii', 'ignore')
x == '', x is ''
(True, False)
--
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
a bug.
The example above is obviously from python2.7; there is a similar example
with python3.2:
x = b'\xe9\xe9'.decode('ascii', 'ignore')
x == '', x is ''
(True, False)
...but this bug has been fixed in 3.3: PyUnicode_Resize() always returns
the unicode_empty singleton.
--
Amaury Forgeot
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 mailing list
Python-Dev@python.org
http
2013/2/13 Christian Tismer tis...@stackless.com
On 13.02.13 15:27, Amaury Forgeot d'Arc wrote:
2013/2/13 Lennart Regebro rege...@gmail.com
On Wed, Feb 13, 2013 at 1:10 PM, Serhiy Storchaka storch...@gmail.com
wrote:
I prefer x = '%s%s%s%s' % (a, b, c, d) when string's number is more
2013/2/13 Lennart Regebro rege...@gmail.com
On Wed, Feb 13, 2013 at 3:27 PM, Amaury Forgeot d'Arc
amaur...@gmail.com 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
real
)
--
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
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
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
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
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
2013/1/23 Antoine Pitrou solip...@pitrou.net
On Wed, 23 Jan 2013 20:41:11 +0100
Amaury Forgeot d'Arc amaur...@gmail.com wrote:
2013/1/22 Antoine Pitrou solip...@pitrou.net
I've upgraded the Mercurial version on hg.python.org. If there any
problems, don't hesitate to post here
advise.
___
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
, and it 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
://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
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
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
___
Python-Dev
.
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.python.org/mailman/listinfo/python-dev
Unsubscribe
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 hashlib
hashlib.new(1)
ValueError: unsupported hash type 1
--
Amaury Forgeot
, 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
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/options/python-dev
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 supported.
--
Amaury Forgeot d'Arc
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
, would be (I think).
This is a compile time option, not a runtime option. However, it looks
like I lied, someone did implement it correctly, so we have the same
behavior as CPython.
Yes, PyPy seems to respect sys.dontwritebytecode.
--
Amaury Forgeot d'Arc
Hi,
2012/4/16 Stefan Behnel stefan...@behnel.de
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...
--
Amaury Forgeot d'Arc
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:
http
, 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
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
, 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 a
sub-project, like the readme.txt file. It has no effect on the build.
--
Amaury Forgeot d'Arc
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 memory, of course.
--
Amaury Forgeot d'Arc
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 all, except by
reinstalling Windows.
--
Amaury Forgeot d'Arc
be 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/mailman/listinfo
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 list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
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
___
Python-Dev mailing
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.python.org/mailman
showed a similar error on AIX with no clear
resolution.
Is it in the part that configures the dbm module?
This paragraph is already protected by a if platform not in ['cygwin']:,
I suggest to exclude 'os2emx' as well.
--
Amaury Forgeot d'Arc
___
Python
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
Unsubscribe
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.python.org/mailman/options
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
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
___
Python-Dev mailing list
Python-Dev
and pure Python modules are sometimes
considered undefined behaviour and are rejected. See issue13274, this one
has an happy ending, but I remember that the _pyio.py module chose to not
fix some obscure reentrancy issues (which I completely agree with)
--
Amaury Forgeot d'Arc
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 code section of whatsnew/3.3 should be enough.
--
Amaury Forgeot d'Arc
Hi,
2011/11/22 Giampaolo Rodolà g.rod...@gmail.com
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@python.org
http
.
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-Dev mailing list
Python-Dev@python.org
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.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing
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 mailing list
Python-Dev@python.org
http
Hi,
2011/11/9 Barry Warsaw ba...@python.org
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
___
Python-Dev
.
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://mail.python.org
.
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
___
Python-Dev mailing list
:-(
--
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
check for errors; in this case the initialization is a bit
more verbose:
if (PY_IDENTIFIER_INIT(update) 0)
return NULL or return -1 or goto error;
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
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
___
Python-Dev
:
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
___
Python-Dev mailing
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/python-dev
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
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 does not need to copy data?
--
Amaury Forgeot d'Arc
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@python.org
http://mail.python.org/mailman/listinfo
this issue on various 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
, 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
Unsubscribe:
http://mail.python.org/mailman/options/python-dev
Hi,
2011/5/18 anatoly techtonik techto...@gmail.com:
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
___
Python
2011/5/18 Martin v. Löwis mar...@v.loewis.de:
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
___
Python-Dev
,
or even where the variable is not the first object, like str(ord(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
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.org/mailman
Hi,
Le jeudi 5 mai 2011, Greg Ewing greg.ew...@canterbury.ac.nz 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 on each parameter
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.
--
Amaury Forgeot d'Arc
___
Python-Dev
?
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/mailman/options
://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/python-dev
Unsubscribe:
http://mail.python.org/mailman
=
___
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
to
change 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
Hi,
2011/1/31 techto...@gmail.com:
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
this dummy merge.
- in any case, the actual repositories in http://code.python.org/hg/ are not
clones
of each other, so hg merge won't work and hg pull will clone the whole
remote repository.
(btw, now that I have hg pull another repo, how can I remove it? is my
clone broken forever?)
--
Amaury Forgeot
2010/12/29 Georg Brandl g.bra...@gmx.net
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 py3k
which has the disadvantage
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
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
___
Python-Dev mailing list
Python-Dev@python.org
http
2010/12/29 David Cournapeau courn...@gmail.com:
On Wed, Dec 29, 2010 at 5:02 PM, Amaury Forgeot d'Arc
amaur...@gmail.com wrote:
2010/12/29 David Cournapeau courn...@gmail.com
The easiest way I found to emulate git cherry-pick (which does exactly
what you want) with hg is to use import/export
, 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'Arc
___
Python-Dev
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
--- a/Lib/test/test_contextlib.py Tue Dec 28 22:14:34 2010 +0100
+++ b/Lib/test/test_contextlib.py Wed Dec 29 00:08:18 2010
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/python-dev
Unsubscribe:
http
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.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev
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.
--
Amaury Forgeot d'Arc
, 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-Dev@python.org
http://mail.python.org/mailman/listinfo
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, wrap() and center() should be fixed.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev
?
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://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
2010/9/28 Nick Coghlan ncogh...@gmail.com:
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'Arc
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/29 Guido van Rossum gu...@python.org:
On Tue, Sep 28, 2010 at 4:02 PM, Amaury Forgeot d'Arc
amaur...@gmail.com wrote:
2010/9/29 Guido van Rossum gu...@python.org:
Can someone please explain why converting to a PyCapsule object is not
an option?
PyCObject_AsVoidPtr
2010/9/24 Antoine Pitrou solip...@pitrou.net:
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?
--
Amaury Forgeot d'Arc
it and 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 mailing list
Python-Dev
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 mailing list
Python-Dev@python.org
http
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/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev
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
___
Python-Dev mailing list
Python
, or
the python-list mailing list.
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
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.org/mailman/listinfo
to the supplied
proprietary .pyd),
and I added a (plain) definition for functions like _PyObject_DebugMalloc,
even when PYMALLOC_DEBUG is undefined.
Since the python_d.dll is a custom build anyway, adding the code is
not too much pain.
--
Amaury Forgeot d'Arc
, there may be a bug somewhere, but what do you want us to look at?
Do you have a case that we could reproduce and investigate?
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
2010/6/1 sm...@gmx.net:
This said, there may be a bug somewhere, but what do you want us to look
at?
Do you have a case that we could reproduce and investigate?
--
Amaury Forgeot d'Arc
Thank you, I'm not a C-Developer,
but still I have one more detail:
I call py_decRef( pyObj) of dll
1 - 100 of 180 matches
Mail list logo