New submission from Xiang Zhang:

In struct there are several places using code like:

  p[--i] = (char)x;

to extract the least significant byte from a long. Although this behaviour 
seems to apply to common implementations but it does not conform to C standard.

----------
components: Library (Lib)
messages: 292836
nosy: mark.dickinson, meador.inge, serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: resolve undefined behaviour in struct
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to