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
Hello,
Purify is not so difficult to use: just run and learn to read the output ;-)
My config: Win2k using VC6sp5, and only 512Mb RAM.
I downloaded the snapshot dated 2005/11/21 05:01,
commented out #define WITH_PYMALLOC,
built in debug mode,
modified the rt.bat file to use purify,
and ran "rt -d"
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@
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
> >>> fp = open('raro.txt')
> >>> mail = email.message_from_file(fp)
> never return
When you think you found a problem with python, please submit an issue
in the python issue tracker:
http://bugs.python.o
s
not listed in the run_unittest() call :-(.
I found the cause of the problem: in io.py, TextIOWrapper.tell() calls
decode() with a bytearray, without any reason it seems.
I will take care of this tonight, if bugs.python.org is available.
--
Amaury Forgeot d'Arc
_
}
Of course, if you call sock.dup() or sock.makefile(),
there is another reference to the underlying _sock, and you must
close() all these objects.
--
Amaury Forgeot d'Arc
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailm
-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
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
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
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
__
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
_
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
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
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
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
___
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://
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
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
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
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
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
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.
--
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
_
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
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
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
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
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
>
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
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
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
__
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
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
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
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
1 - 100 of 190 matches
Mail list logo