Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Rudi Lopez Lopez Newsgroups: comp.lang.python Subject: Bug in python34 package struct Date: Thu, 24 Mar 2016 03:17:58 -0500 Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 6oZrPs7AjcygtexRyIsPmAOi5zI9zh4MZPC5xQjrfdeQ== Return-Path: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105592 from struct import pack print(hex(126)) print(pack('>H',126)) Rudi G. Lopez