Python-List (http://mail.python.org/mailman/listinfo/python-list) is the
better place for this kind of question; Python-Dev is for the development
of Python itself, not for development using Python.
When you built E1, it should have also built a .lib file in addition to
the .pyd. It's the .lib
On Fri, May 25, 2012 at 5:06 AM, mar...@v.loewis.de wrote:
It is better documented here, and seems something to start thinking about:
http://arstechnica.com/**information-technology/2012/**
On Wed, May 2, 2012 at 6:56 AM, Stefan Behnel stefan...@behnel.de wrote:
I'm not sure if MSVC and MSVC++ are the same thing, but I surely remember
reports by MSVC users only a few years ago that Cython generated C code
contained a declaration after an executed code at some point, and that
On Sun, Mar 20, 2011 at 6:27 PM, Martin v. Löwis mar...@v.loewis.de wrote:
I'm primarily bothered about the failure to implement TerminateProcess
correctly. I don't actually know what use cases would be affected, other
then saying that anything launching py.exe could be affect, in
particular
issues.
I would turn off JIT debugging. On an unattended machine, it's more
annoying than useful.
http://msdn.microsoft.com/en-us/library/5hs4b7a6(VS.80).aspx
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http
.
There are multiple representations of NaN in the IEEE encoding; that's
actually part of the problem with saying that NaN = NaN or NaN != NaN. If
you want to ignore the payload in the NaN, then you're not just comparing
bits any more.
--
Curt Hagenlocher
c...@hagenlocher.org
the FPU and the C
libraries I tested will preserve the payload. I imagine Python just
inherits their behavior.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
too similar to from __future__ import
Futures is a common term for this, and implemented named this in other
languages. I don't think we should be adopting things that are common,
and found elsewhere and then renaming them.
Another common term for this is a promise.
--
Curt Hagenlocher
On Sun, Jan 31, 2010 at 11:16 AM, Terry Reedy tjre...@udel.edu wrote:
'pycache' would be pretty clear.
Heh -- without the underscores, I read this as pyc ache. Seems
appropriate.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
On Sun, Nov 1, 2009 at 8:22 PM, Sturla Molden stu...@molden.no wrote:
Why does this happen?
type(2**31-1)
type 'long'
Does that not happen on non-Windows platforms? 2**31 can't be
represented as a 32-bit signed integer, so it's automatically promoted
to a long.
--
Curt Hagenlocher
c
-- this seems very broken to me, and I think it should be
changed.
Of course, there are no doubt people relying on the broken behavior...
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
what you can get without it.
Disclaimer: I work for Microsoft, but eh, I'm just guessing.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
. The 64-bit
compilers should be in the Windows SDK, but it wouldn't surprise me if
they were not included in Express.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
might think for a lot of programs...
The OS has to provide a mechanism to enable execution for a particular
region of memory. Under Windows, this is done by the VirtualProtect
function.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
On Mon, Jul 13, 2009 at 2:55 PM, Antoine Pitrou solip...@pitrou.net wrote:
Curt Hagenlocher curt at hagenlocher.org writes:
The OS has to provide a mechanism to enable execution for a particular
region of memory. Under Windows, this is done by the VirtualProtect
function.
More surprising
, a
critical section should be a big win because it won't need to switch
into the kernel. I suspect that contention will be frequent for the
GIL
A good description of pre-Vista Windows critical sections can be found here:
http://msdn.microsoft.com/en-us/magazine/cc164040.aspx
--
Curt Hagenlocher
c
as UTF-16 and all of the
managed APIs for things like file names and environmental variables
operate on UTF-16 strings -- there simply are no byte string APIs.
I assume that Mono does the same but I don't have any Mono experience.
--
Curt Hagenlocher
c...@hagenlocher.org
CrtSetReportMode would address the issue.
--
Curt Hagenlocher
c...@hagenlocher.org
___
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
subsequent
updates -- particularly when you're dealing with many clients.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
. But the dialog can be disabled in
debug mode by using the _set_error_mode function.
(http://msdn.microsoft.com/en-us/library/sas1dkb2(VS.71).aspx)
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
box. For that matter,
you could use CrtSetReportFile to redirect them to any given file and
then assert at the end of the test run that the file is empty.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http
On Fri, Feb 6, 2009 at 4:04 PM, Guido van Rossum gu...@python.org wrote:
On Fri, Feb 6, 2009 at 2:44 PM, Curt Hagenlocher c...@hagenlocher.org wrote:
...because they're not quite :). Should I file this as a bug report?
No, this is just how it works. I hope they aren't documented as immuable
for more information.
class x(object):
... @property
... def foo(self): return 1
...
inst = x()
inst.foo
1
x.foo.__init__(lambda self: 2)
inst.foo
2
^Z
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev
PyAPI_DATA(RTYPE) extern __declspec(dllimport) RTYPE
--
Curt Hagenlocher
c...@hagenlocher.org
___
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
be able to point you in a particular
direction.
--
Curt Hagenlocher
c...@hagenlocher.org
___
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.
--
Curt Hagenlocher
c...@hagenlocher.org
___
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
to use a platform that you hate so
much, but I respectfully suggest that this person is not on any of
these mailing lists.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
On Fri, Dec 12, 2008 at 5:06 AM, Antoine Pitrou solip...@pitrou.net wrote:
Curt Hagenlocher curt at hagenlocher.org writes:
There's this other obscure platform called Java... ;)
Does it have a filesystem?
No, but it also has to interact with filesystems of possibly invalid
or indeterminate
On Fri, Dec 12, 2008 at 6:19 AM, Antoine Pitrou solip...@pitrou.net wrote:
Curt Hagenlocher curt at hagenlocher.org writes:
No, but it also has to interact with filesystems of possibly invalid
or indeterminate encodings. What does java.io do?
My point was that Python doesn't have
multiplication) that are
parallelizable but not particularly good candidates for an IPC-based
multiprocessing paradigm.
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
that are not distributed to third parties. I am not sure if using of
PyBSDDB in commercial applications is considered using of Berkeley DB
in open source projects;
Wow, I hadn't realized that it was such a restrictive license. When I
see Berkeley I think BSD license.
--
Curt Hagenlocher
[EMAIL PROTECTED
other reason not to mess with the PATH -- at least by default --
is that the user may have multiple copies of Python installed. I know
I have at least one machine with 2.4.5, 2.5.2, 2.6b2 and 3.0b2
installed -- and I don't want *any* of them in my path.
--
Curt Hagenlocher
[EMAIL PROTECTED
the documentation for CreateProcess
(http://msdn.microsoft.com/en-us/library/ms682425.aspx) to be pretty
reliable. And the mention of a .com in the docs suggests that the
description has been around for a while...
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
Python-Dev
for this is that _tkinter.pyd has a static
dependency that can't be loaded. If, for instance, the TCL and TK
DLLs themselves are neither in PCbuild nor elsewhere in the path, then
you wouldn't be able to load _tkinter.
--
Curt Hagenlocher
[EMAIL PROTECTED
.
Links:
http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=14353
http://devhawk.net/2008/08/06/Including+The+Batteries+In+IronPython.aspx
(IronPython 2.0 targets compatibility with Python 2.5.)
--
Curt Hagenlocher
[EMAIL PROTECTED
people. That's why
there's room in the world for more than one.
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options
of creating
fluent interfaces. I fail to see much value in being able to write
code that says 7.seconds.ago.
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
-- or
perhaps it happens to be 1970 even on Windows when using MS's C
runtime.
On Mon, Jun 16, 2008 at 4:08 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
The documentation for the time module says that the epoch is the point
where the time starts. On January 1st of that year, at 0 hours
rather not resort to #3, if possible.
On Tue, Jun 17, 2008 at 10:03 AM, Guido van Rossum [EMAIL PROTECTED] wrote:
Can you explain why you are so anxious to get this resolved (apart
from the beer :-) ?
On Tue, Jun 17, 2008 at 9:26 AM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
Any chance
On Tue, Jun 17, 2008 at 10:56 AM, Guido van Rossum [EMAIL PROTECTED] wrote:
On Tue, Jun 17, 2008 at 10:40 AM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
There's no real urgency. The reason this came up is because I just
implemented zlib, which automatically enabled the gzip unit tests
of implementing IronPython, I'd prefer that the answer
is 1 or 2 -- but mainly I just want to be as compatible with the spec as
possible, while respecting CLR-specific norms for functionality which is
left up to individual implementations.
--
Curt Hagenlocher
[EMAIL PROTECTED
.
On Mon, Jun 16, 2008 at 4:38 PM, Guido van Rossum [EMAIL PROTECTED] wrote:
ISTR that we force the epoch to be 1970 on all major platforms -- or
perhaps it happens to be 1970 even on Windows when using MS's C
runtime.
On Mon, Jun 16, 2008 at 4:08 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote
On Thu, Jun 12, 2008 at 8:06 PM, Frank Wierzbicki [EMAIL PROTECTED] wrote:
On Wed, Jun 11, 2008 at 5:27 PM, Curt Hagenlocher [EMAIL PROTECTED] wrote:
If I recall correctly, Jython handles this by appending a trailing
underscore to the imported name and there's no reason why we couldn't
do
are lower-case. It's likely to be a
much bigger issue with Jython, given the Java convention of having
lower-cased method names.
If I recall correctly, Jython handles this by appending a trailing
underscore to the imported name and there's no reason why we couldn't
do something similar.
--
Curt
: assignment to None
setattr(c, 'None', 'foo')
c.None
'foo'
So, it's okay to setattr the attribute name None but not okay to set
it directly? Is this deliberate or is it an unintentional side effect
of parser changes to prevent assignment to None?
--
Curt Hagenlocher
[EMAIL PROTECTED
? The next couple of elements is a dangerous thing to use
unless you don't mind them disappearing.
Not only that, but you'd have no idea what the performance
consequences of accessing the next object might be.
--
Curt Hagenlocher
[EMAIL PROTECTED
a flaw earlier in the same method.
_rbufsize == 1 represents a request to buffer by line, which is
clearly irrelevant in this context. A request to read n bytes should
just use the default buffer size if buffering by line. Sample patch
is attached.
--
Curt Hagenlocher
[EMAIL PROTECTED
On Mon, Apr 14, 2008 at 12:17 PM, A.M. Kuchling [EMAIL PROTECTED] wrote:
On Mon, Apr 14, 2008 at 11:10:12AM -0700, Curt Hagenlocher wrote:
while True:
left = size - buf_len
! recv_size = max(self._rbufsize, left)
data
.
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
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
. This would work.
--
Curt Hagenlocher
[EMAIL PROTECTED]
___
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
50 matches
Mail list logo