[issue19433] Define PY_UINT64_T on Windows 32bit

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2015-02-12 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2015-02-12 Thread Mark Lawrence

Mark Lawrence added the comment:

Is there any more work needed on this or can it be closed?  Please note the 
reference to #17884 in msg201654.

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Christian Heimes

New submission from Christian Heimes:

For PEP 456 it would be useful to have PY_UINT64_T on 32bit Windows. Does 
anybody see a problem with Victor's idea? I like it.

Victor wrote in http://bugs.python.org/issue19183#msg201629:

To support Windows 32 bit, the following code in PC/pyconfig.h can be modified 
to use __int64 or _W64: see ssize_t definition below in the same file.

#ifndef PY_UINT64_T
#if SIZEOF_LONG_LONG == 8
#define HAVE_UINT64_T 1
#define PY_UINT64_T unsigned PY_LONG_LONG
#endif
#endif

--
components: Interpreter Core, Windows
messages: 201635
nosy: brian.curtin, christian.heimes, haypo, loewis, ncoghlan, tim.golden
priority: normal
severity: normal
stage: needs patch
status: open
title: Define PY_UINT64_T on Windows 32bit
type: enhancement
versions: Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Martin v . Löwis

Martin v. Löwis added the comment:

LGTM

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Tim Golden

Tim Golden added the comment:

Fine by me

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread STINNER Victor

STINNER Victor added the comment:

This issue has no patch.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Christian Heimes

Christian Heimes added the comment:

It seems no patch is needed to get PY_UINT64_T on 32bit Windows:

 import sys
 sys.version
'3.4.0a4+ (pep-456:f0a7e606c2d0, Oct 29 2013, 19:24:12) [MSC v.1600 32 bit 
(Intel)]'
 sys.maxsize
2147483647
 sys.hash_info
sys.hash_info(width=32, modulus=2147483647, inf=314159, nan=0, imag=103, 
algorithm='siphash24', hash_bits=64, seed_bits=128)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Tim Peters

Tim Peters added the comment:

Yes, it should be taken care of already, because of this in PC/pyconfig.h:

#ifdef MS_WIN32
...
#define SIZEOF_LONG_LONG 8

That defines the symbol triggering the PY_UINT64_T define shown in the original 
message in this issue.

--
nosy: +tim.peters

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset daa1ab27b5c2 by Victor Stinner in branch 'default':
Issue #19433: test_capi: add tests on the size of some C types
http://hg.python.org/cpython/rev/daa1ab27b5c2

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread STINNER Victor

STINNER Victor added the comment:

See also issue #17884: Try to reuse stdint.h types like int32_t.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19433] Define PY_UINT64_T on Windows 32bit

2013-10-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5bf96a96f31d by Victor Stinner in branch 'default':
Issue #19433: test_capi: check signness of some C types
http://hg.python.org/cpython/rev/5bf96a96f31d

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19433
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com