; 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
>
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
>> 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
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
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/
.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
__
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
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
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
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-
2 supports time stamps past 2038; we currently don't */
*time_out = Py_SAFE_DOWNCAST((in / 1000) - secs_between_epochs,
__int64, int);
the test (btw, it's in test_os.py) is trying
os.stat(r"c:\pagefile.sys")
Can you please check the three time stamps of this file (
there's a way to handle them correctly.
>
> Use 64-bit time values (which is highly unlikely to ever be the case for
> CPython on a 32-bit OS).
64bit time_t is the default since VS2005.
See the patch at http://bugs.python.org/issue4379
--
Amaury Forgeot d'Arc
_
at?
>
> (not being a Windows user, it's a bit hard for me to investigate what's wrong)
Let me guess: it a RuntimeError, "Invalid format directive", when
calling strftime.
CRT assertions where enabled a few weeks ago (issue4804)
It may be a bad merge from trunk
On Tue, Mar 3, 2009 at 00:47, Antoine Pitrou wrote:
>
> Hi Amaury,
>
> Le mardi 03 mars 2009 à 00:39 +0100, Amaury Forgeot d'Arc a écrit :
>> >
>> > I'm trying the current py3k under a Windows virtual machine (with VS
>> > Express
>> &
as
caught by the presence of the "bz2.lib" file,
which pypy found there, just because the linker lists c:\python25\LIBs
before other directories.
Of course the real bz2.lib, which defines the compression routines,
was installed somewhere else, and compilation failed.
--
Amaury Forgeot d&
NOENT, py.error.EACCES... to
implement some kind of FilePath object:
http://codespeak.net/svn/py/dist/py/path/local/local.py
But I'm not sure I would like this kind of code in core python. Too
much magic...
--
Amaury Forgeot d'Arc
___
Python
its hash,
but not with the value, and you cannot know whether you are reading or
setting the dict.
It is easy to add an argument and call ma_lookup with the value (or
NULL, or -1 depending
on the action: set, get or del), but this may have a slight impact
(benchmark needed!)
even
ot;)
>
> This is something I need from time to time and this also seems to solve
> your problem.
def first(iter, cb):
return itertools.ifilter(cb, iter).next()
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
e it will help.
Files opened in binary mode have a readinto() method, which fills the
given bytearray.
Is this what you are looking for?
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
should be a function
or a method, like you would do for features like last_day_of_month(d),
or following_weekday(d, 'monday').
date(2008, 1, 30).add_months(1) == date(2008, 2, 29)
--
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
) and string.atoi() allow whitespace. Maybe I'm
> thinking of trailing non-numeric, non-whitespace characters.
You are maybe referring to the Decimal constructor:
decimal.Decimal(" 123")
fails with 2.5, but works with 2.6. (issue 1780)
--
Amaury Forgeot d'Arc
__
esearch?q=Connection_SetOCIAttr+trunk
--
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
ject) or inspect.getfile(object)
was replaced with
file = inspect.getsourcefile(object)
--
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
particular bug deserves to be a blocker, I don't know. It
> is
> certainly annoying, however.
FYI, I just submitted a patch. It is simple enough to be considered
for inclusion for rc2.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing li
amp;JObjectMetaType;
JObjectType.tp_name = "metaclass.JObject";
JObjectType.tp_basicsize= sizeof(JObject);
JObjectType.tp_flags= Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE;
JObjectType.tp_doc = "JObject objects";
JObjectType.tp_init = JObject_init;
Hi,
2009/7/13 Erik Groeneveld :
> Amaury,
>
> Thank you very much for your detailed explanation. It helps to
> understand it better, and it mostly works now. There is one thing
> however:
>
> On Wed, Jul 8, 2009 at 17:35, Amaury Forgeot d'Arc wrote:
>> - Don
his thread discovered the line endings weren't the
> problem after all).
Well, I was caught several times by this line ending problem.
And the first time, I did not even understand what was going on...
--
Amaury Forgeot d'Arc
___
Python-Dev ma
> running the code, please update your PYTHONPATH variable so that my
> subprocess.py will be imported.
These questions should be redirected to comp.lang.python.
But as a quick response, the subprocess stdout is likely to be opened
in text mode.
So reading \r\n is not a surprise to me.
--
Amau
module should require it.
OTOH ctypes is the perfect tool for rapid development with the win32
api, specially when the compiler is far away.
> Can ctypes release the GIL for a function call?
Yes, see http://docs.python.org/library/ctypes.html#ctypes.CFUNCTYPE
--
Amaury Forgeot d'
sions as well (the C API with runtime-dependent structures
> like FILE, etc...). So mingw is not the only to blame :)
In this case, the OP tries to use an API that is explicitly documented
as dangerous for extension modules.
The recommended function is not sensitive to compiler differences.
--
Am
2009/8/3 Dirkjan Ochtman :
> So PEP 385 proposes to clean up the old branches we still have lying
> around in SVN.
>
> io-c: keep-clone?
strip - it was merged into py3k some months ago.
--
Amaury Forgeot d'Arc
___
Python-Dev mailin
dows installation of Python 3 to hand at the moment)
When running pythonw, fileno(stdout) is negative, so sys.stdout is set to None,
and print() silently returns.
But the situation is not perfect, see http://bugs.python.org/issue6501
where Apache provides a stdout, but python cannot determine the
enc
to implement these methods for any module. Maybe
one should start at least for static PyObject* that contain references
to modules.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/p
ode is the standard chosen by some Linux distributions,
it would make sense to have at least one buildbot running with
--with-wide-unicode (3.x) or --enable-unicode=ucs4 (2.x).
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@
thing that worries me a bit is the "x.attr" returning the Descr
object. Descriptors should remain at the class level, and instance
should only see values. I'd prefer an AttributeError in this case.
--
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 more inclined to make #7173 a
> release blocker if it had a more specific test than "run cython and
> maybe it'll crash".
>
I just updated #7173 with a short crasher.
In short, I think that next() in an exception handler messes with
the exception state.
This doesn't pl
C-runtime for the "real" handles to STDIN and STDOUT. I dont ever
> see the Python runtime "ask the system" where his handles to STDIN and
> STDOUT are.
>
Are you using the same compiler as the one used to compile Python? It's
important that your program an
le law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# und
the unicode standard removed these values.
--
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
at the end,
and would cause crashes if the memory was read afterwards.
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
___
Python-Dev mail
2010/6/1 :
>> 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
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.
>>
>> --
>
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
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
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
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
___
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
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
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
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
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/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&
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/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
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
>
> 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,
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
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
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
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
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
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
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
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
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
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
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
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
-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
>
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
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
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&
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
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
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
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
___
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
___
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
__
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
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
file.
It seems like the delegation pattern does not mix well with context managers...
Is there another solution?
Or did I miss something obvious?
--
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
can set the PYTHON variable
to the path of an alternative interpreter executable.)
"""
--
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
bs.
And of course I can help on other subjects if there is some interest.
I am very excited to take part in this great project. So please
forgive me if I do something wrong or too quickly. And your (kind)
remarks will always be welcome.
--
Amaury For
inheritance first, and call
__instancecheck__ only when the previous is false? It would speed-up
the common cases.
Or is there really a use case for a derived class to appear as NOT
being a subclass of its base class?
--
Amaury Forgeot d'Arc
___
P
ge the libraries. And when I want to distribute my apps with bbfreeze
> (similar to py2exe), I also need to handle that import hackery. This is
> what I call ugly :) (at least in comparison to linux).
You can also modify site.py and put the hack there.
--
Amaury Forgeot d'Arc
___
ride __eq__ or
__hash__.
I could not find any other way to execute python code in this area.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.py
are easy optimizations in
PyEval_EvalCodeEx, somewhere around the "XXX slow" comment (!)
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://ma
e both extensions to the original shift jis.
Please continue this discussion on comp.lang.python; or fill a bug request.
Cheers quand même,
--
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
clever way to prevent these problems globally, for example
by delaying finalizers "just a little"?
--
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
s" member of the
exception.
class S:
def __del__(self):
print e.args
e = BaseException(1, S())
e.__init__("hello") # segfault
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/
ed".
It may incite occasional contributors to work on some of these tasks,
confident that their work will not be thrown away in two seconds.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/l
an 78 wrap, and the output
is more difficult to read.
--
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
then replaced with the inner class name.
But a Py_XDECREF(c->u->u_private) is missing here...
I will submit the correction in a few hours.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
int 3; }
(with gdb I think you may signal SIGUSR1)
- carefully inspect the code each time the debugger stops.
Fortunately, many functions can be skipped: PyDict_SetItem and other
bullet-proof parts of the code.
The 20th break was the good one: a lack of symmetry between
ange(10):
> main()
> print(gc.collect())
> print(sys.gettotalrefcount())
The problem is that the MyFileIO class is registered in
io.RawIOBase._abc_cache, and never freed.
This is a problem with ABCs: _abc_cache should be changed to a
WeakSet, like py
al.c, which contains
the interpreter loop.
More precisely, the function maybe_call_line_trace() is responsible to call
sys.settrace. I think you will have to change the logic there.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
led? Is it disabled? Is there a sound card? Is it enabled or disabled?
> Pah!
>
> +1 to removing audio out of -uall, if only for the sake of cats, erroneously
> red buildbots, and poor ServerCentral NOC engineers.
And I would not mind removing this module altogether, and provide a
c
... I prefer the linker errors.
Please do this only for buildbot builds!
Or maybe have it controlled by an enviroment variable.
--
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
ve:
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.messaging/2007-04/msg00036.html
which describes the same problem (and a solution)
Otherwise you are welcome ;-)
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@p
1 - 100 of 190 matches
Mail list logo