1. 04 Eyl, 2017 16 kayıt (commit)
  2. 03 Eyl, 2017 4 kayıt (commit)
  3. 01 Eyl, 2017 6 kayıt (commit)
  4. 30 Agu, 2017 7 kayıt (commit)
  5. 29 Agu, 2017 5 kayıt (commit)
  6. 28 Agu, 2017 2 kayıt (commit)
    • Gregory P. Smith's avatar
      Fix a typo in the Programming FAQ. (#3230) · e9d978fd
      Gregory P. Smith yazdı
      subobjects, not subobjecs.
      e9d978fd
    • Pauli Virtanen's avatar
      bpo-10746: Fix ctypes PEP 3118 type codes for c_long, c_bool, c_int (#31) · 07f1658a
      Pauli Virtanen yazdı
      Ctypes currently produces wrong pep3118 type codes for several types.
      E.g. memoryview(ctypes.c_long()).format gives "<l" on 64-bit platforms,
      but it should be "<q" instead for sizeof(c_long) == 8
      
      The problem is that the '<>' endian specification in the struct syntax
      also turns on the "standard size" mode, which makes type characters have
      a platform-independent meaning, which does not match with the codes used
      internally in ctypes.  The struct module format syntax also does not
      allow specifying native-size non-native-endian items.
      
      This commit adds a converter function that maps the internal ctypes
      codes to appropriate struct module standard-size codes in the pep3118
      format strings. The tests are modified to check for this.
      07f1658a