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


Groups > comp.lang.python > #105594

Re: Bug in python34 package struct

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: Bug in python34 package struct
Date 2016-03-24 11:05 +0200
Organization A noiseless patient Spider
Message-ID <87bn64nt40.fsf@elektro.pacujo.net> (permalink)
References <mailman.83.1458810158.2244.python-list@python.org>

Show all headers | View raw


Rudi Lopez Lopez <rlopezsr@gmail.com>:

> from struct import pack
>
> print(hex(126))
> print(pack('>H',126))

I can't see any bug. The tilde (~) has an ASCII code 126.


Marko

Back to comp.lang.python | Previous | NextPrevious 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