Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105592

Bug in python34 package struct

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Rudi Lopez Lopez <rlopezsr@gmail.com>
Newsgroups comp.lang.python
Subject Bug in python34 package struct
Date Thu, 24 Mar 2016 03:17:58 -0500
Lines 7
Message-ID <mailman.83.1458810158.2244.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 6oZrPs7AjcygtexRyIsPmAOi5zI9zh4MZPC5xQjrfdeQ==
Return-Path <rlopezsr@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.086
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'received:io': 0.16; 'received:psf.io': 0.16; 'struct': 0.22; 'import': 0.24; 'message- id:@mail.gmail.com': 0.27; 'received:google.com': 0.35; 'received:74.125.82': 0.35; 'to:addr:python-list': 0.36; 'skip:p 20': 0.38; 'to:addr:python.org': 0.40
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=WlNESc6OlSPLh1Br26nCdq/zBZOLwXIVjMDjy2YiV+Y=; b=brUHWMPmIFM1bK2rvGeGIovTUuNrBtTVfjyTKUpqi6Q8h/2HWYyOhIP+shu9FOUrQ3 h0BMA9i3cOfTuiPztvkbA++2WIKC7pNN3C9iRd2aSIivHfjAaf4Y2/yTH5tmTNQWONsU irpokNzLFrPiNQj27Tt1ghXcyKyf04Q7mJ7cmBQ0epnpLRkeHlBbmAU/OBzg4hP2x13u cJl6u23Z6xd6LHU4q+bAiiV1jIPR0ytjJfp1uqq9B4SMSJEw/jDzNdvBIVMZz5cptnvl fMNwfkg87mE6PGVdDpcTQUxwVJmSCI99H7rmPKWc29T+5L8ja2eCc99xHyfro3IpEnlO RoVg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=WlNESc6OlSPLh1Br26nCdq/zBZOLwXIVjMDjy2YiV+Y=; b=TGTQ261KRDHdObcpGna2Fa+zgLO00tY6IPwmQdYHm+rD00ZNQjvhekGJvRY/z4IEJh CW+p0yJBB4yjS2sibb1Y+1TsVNqAhtUXvKpGtka3w/RRbkb246JSlj5FsGGYUG1qzMo2 CNkPfqXWtkv0Nwrtun71ELc1eFPZHF7gW0v9FQinVZIHEhYRtmIvhTM0ImqflLU7Z6zr 567c5k2K8Dr19U48GZWrENdiunlcX1SdSDqo3VerdNZ4tVD3FT5rT6HtSF8zteItu2/E 704ijGN4+v4Yt1jtpb9v2G0jEgG1GqXVlOR+lXE/TZ2fx+hRXppeasYsJnd9wNvK98kL 2kUw==
X-Gm-Message-State AD7BkJJm/ZlwpkTL0S/f8ZDxvyrKvk/xVPaq1chMstMxKiyGhJwHBPlGE4OPSUhblaEAkrsDexIdrEoDJSg/9g==
X-Received by 10.28.172.132 with SMTP id v126mr9001911wme.28.1458807478561; Thu, 24 Mar 2016 01:17:58 -0700 (PDT)
X-Mailman-Approved-At Thu, 24 Mar 2016 05:02:37 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:105592

Show key headers only | View raw


from struct import pack

print(hex(126))
print(pack('>H',126))


Rudi G. Lopez

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug in python34 package struct Rudi Lopez Lopez <rlopezsr@gmail.com> - 2016-03-24 03:17 -0500
  Re: Bug in python34 package struct Marko Rauhamaa <marko@pacujo.net> - 2016-03-24 11:05 +0200

csiph-web