1. 18 Agu, 2017 1 kayıt (commit)
    • syncosmic's avatar
      bpo-31183: `dis` now handles coroutines & async generators (GH-3077) · fe2b56ab
      syncosmic yazdı
      Coroutines and async generators use a distinct attribute name for their
      code objects, so this updates the `dis` module to correctly disassemble
      objects with those attributes.
      
      Due to the increase in the test module length, it also fixes some latent
      defects in the tests related to how the displayed source line numbers
      are extracted.
      
      https://bugs.python.org/issue31230 is a follow-up issue suggesting we
      may want to solve this a different way, by instead giving all these object
      types a common `__code__` attribute, avoiding the need for special
      casing in the `dis` module.
      fe2b56ab
  2. 11 Haz, 2017 1 kayıt (commit)
  3. 19 Nis, 2017 1 kayıt (commit)
  4. 16 Ara, 2016 1 kayıt (commit)
  5. 08 Eki, 2016 1 kayıt (commit)
  6. 09 Eyl, 2016 3 kayıt (commit)
    • Victor Stinner's avatar
      Rework CALL_FUNCTION* opcodes · f9b760f4
      Victor Stinner yazdı
      Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more
      efficient bytecode:
      
      * CALL_FUNCTION now only accepts position arguments
      * CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys
        of keyword arguments are packed into a constant tuple.
      * CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for
        positional and keyword arguments.
      
      CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed.
      
      2 tests of test_traceback are currently broken: skip test, the issue #28050 was
      created to track the issue.
      
      Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka
      and Victor Stinner.
      f9b760f4
    • Yury Selivanov's avatar
    • Yury Selivanov's avatar
      Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. · f8cb8a16
      Yury Selivanov yazdı
      Patch by Ivan Levkivskyi.
      f8cb8a16
  7. 12 Haz, 2016 1 kayıt (commit)
  8. 24 May, 2016 1 kayıt (commit)
  9. 23 Nis, 2016 1 kayıt (commit)
  10. 12 Nis, 2016 1 kayıt (commit)
  11. 12 May, 2015 1 kayıt (commit)
  12. 13 Nis, 2015 1 kayıt (commit)
  13. 13 Ara, 2014 1 kayıt (commit)
  14. 18 Eyl, 2014 1 kayıt (commit)
  15. 25 Tem, 2014 1 kayıt (commit)
  16. 26 Ara, 2013 1 kayıt (commit)
  17. 08 Ara, 2013 2 kayıt (commit)
  18. 22 Kas, 2013 1 kayıt (commit)
  19. 06 Kas, 2013 2 kayıt (commit)
    • Nick Coghlan's avatar
      Remove incorrect comment from dis tests · 95887b7e
      Nick Coghlan yazdı
      95887b7e
    • Nick Coghlan's avatar
      Close #19378: address flaws in the new dis module APIs · 90b8e7d2
      Nick Coghlan yazdı
      - confusing line_offset parameter -> first_line parameter
      - systematically test and fix new file parameter
      - remove redundant Bytecode.show_info() API
      - rename Bytecode.display_code() to Bytecode.dis() and have it
        return the multi-line string rather than printing it directly
      - eliminated some not-so-helpful helpers from the bytecode_helper
        test support module
      
      Also fixed a longstanding defect (worked around in the test suite)
      where lines emitted by the dis module could include trailing white
      space. That no longer happens, allowing the formatting tests to be
      simplified to use plain string comparisons.
      90b8e7d2
  20. 29 Eyl, 2013 1 kayıt (commit)
  21. 06 May, 2013 1 kayıt (commit)
  22. 07 Haz, 2012 1 kayıt (commit)
  23. 20 Şub, 2012 2 kayıt (commit)
  24. 25 Kas, 2011 1 kayıt (commit)
  25. 27 Eki, 2011 1 kayıt (commit)
  26. 18 Tem, 2011 1 kayıt (commit)
  27. 15 Mar, 2011 3 kayıt (commit)
  28. 01 Ara, 2010 1 kayıt (commit)
  29. 14 Eki, 2010 1 kayıt (commit)
  30. 17 Agu, 2010 3 kayıt (commit)
  31. 03 Tem, 2010 1 kayıt (commit)