Skip to content
Snippets Groups Projects
  1. Jul 14, 2016
  2. Jul 13, 2016
    • Paul Sokolovsky's avatar
      py/stream: Implement 2- and 3-arg write() method as an extension to CPython. · ad9b9c76
      Paul Sokolovsky authored
      3-arg form:
      
      stream.write(data, offset, length)
      
      2-arg form:
      
      stream.write(data, length)
      
      These allow efficient buffer writing without incurring extra memory
      allocation for slicing or creating memoryview() object, what is
      important for low-memory ports.
      
      All arguments must be positional. It might be not so bad idea to standardize
      on 3-arg form, but 2-arg case would need check and raising an exception
      anyway then, so instead it was just made to work.
      ad9b9c76
  3. Jul 12, 2016
  4. Jul 11, 2016
  5. Jul 10, 2016
  6. Jul 09, 2016
  7. Jul 08, 2016
  8. Jul 06, 2016
  9. Jul 05, 2016
  10. Jul 04, 2016
  11. Jul 02, 2016
  12. Jun 30, 2016
Loading