- 11 Mar, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 18 Agu, 2017 1 kayıt (commit)
-
-
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.
-
- 11 Haz, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
The depth argument limits recursion.
-
- 19 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
instruction offsets. Add tests for widths of opcode names.
-
- 05 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
This hides unwanted implementation details from tracebacks.
-
- 08 Eki, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 11 Eyl, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with single tuple or dict. * Restored more informative error messages for incorrect var-positional and var-keyword arguments. * Removed code duplications in _PyEval_EvalCodeWithName(). * Removed redundant runtime checks and parameters in _PyStack_AsDict(). * Added a workaround and enabled previously disabled test in test_traceback. * Removed dead code from the dis module.
-
- 09 Eyl, 2016 2 kayıt (commit)
-
-
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.
-
Yury Selivanov yazdı
-
- 26 May, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
-
- 24 May, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Demur Rumed.
-
- 08 May, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Xiang Zhang.
-
- 20 Ock, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26107: The format of the co_lnotab attribute of code objects changes to support negative line number delta. Changes: * assemble_lnotab(): if line number delta is less than -128 or greater than 127, emit multiple (offset_delta, lineno_delta) in co_lnotab * update functions decoding co_lnotab to use signed 8-bit integers - dis.findlinestarts() - PyCode_Addr2Line() - _PyCode_CheckLineNumber() - frame_setlineno() * update lnotab_notes.txt * increase importlib MAGIC_NUMBER to 3361 * document the change in What's New in Python 3.6 * cleanup also PyCode_Optimize() to use better variable names
-
- 18 Agu, 2015 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 12 May, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 25 Tem, 2014 1 kayıt (commit)
-
-
Nick Coghlan yazdı
Patch by Clement Rouault.
-
- 22 Kas, 2013 1 kayıt (commit)
-
-
Nick Coghlan yazdı
- Bytecode.from_traceback() alternate constructor - current_offset parameter and attribute Patch by Claudiu Popa
-
- 06 Kas, 2013 1 kayıt (commit)
-
-
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.
-
- 24 Agu, 2013 1 kayıt (commit)
-
-
Nick Coghlan yazdı
Patch by Michele Orrù.
-
- 23 Agu, 2013 1 kayıt (commit)
-
-
Ezio Melotti yazdı
#18796: improve documentation of the file argument of dis.show_code. Initial patch by Vajrasky Kok.
-
- 06 May, 2013 1 kayıt (commit)
-
-
Nick Coghlan yazdı
* get_instructions generator * ability to redirect output to a file * Bytecode and Instruction abstractions Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
-
- 07 Haz, 2012 1 kayıt (commit)
-
-
Alexander Belopolsky yazdı
-
- 10 Eyl, 2010 3 kayıt (commit)
-
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
- 17 Agu, 2010 2 kayıt (commit)
-
-
Nick Coghlan yazdı
Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py compiler flag values before resorting to defining its own
-
Nick Coghlan yazdı
-
- 03 Tem, 2010 1 kayıt (commit)
-
-
Nick Coghlan yazdı
-
- 04 Nis, 2010 3 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79769 | benjamin.peterson | 2010-04-04 18:23:22 -0500 (Sun, 04 Apr 2010) | 1 line fix dis on new style classes #8310 ........
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 10 May, 2009 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 01 Ock, 2009 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68116 | georg.brandl | 2009-01-01 05:46:51 -0600 (Thu, 01 Jan 2009) | 2 lines #4100: note that element children are not necessarily present on "start" events. ........ r68117 | georg.brandl | 2009-01-01 05:53:55 -0600 (Thu, 01 Jan 2009) | 2 lines #4156: make clear that "protocol" is to be replaced with the protocol name. ........ r68118 | georg.brandl | 2009-01-01 06:00:19 -0600 (Thu, 01 Jan 2009) | 2 lines #4185: clarify escape behavior of replacement strings. ........ r68119 | georg.brandl | 2009-01-01 06:09:40 -0600 (Thu, 01 Jan 2009) | 3 lines #4222: document dis.findlabels() and dis.findlinestarts() and put them into dis.__all__. ........ r68121 | georg.brandl | 2009-01-01 06:43:33 -0600 (Thu, 01 Jan 2009) | 2 lines Point to types module in new module deprecation notice. ........ r68123 | georg.brandl | 2009-01-01 06:52:29 -0600 (Thu, 01 Jan 2009) | 2 lines #4784: ... on three counts ... ........ r68124 | georg.brandl | 2009-01-01 06:53:19 -0600 (Thu, 01 Jan 2009) | 2 lines #4782: Fix markup error that hid load() and loads(). ........ r68125 | georg.brandl | 2009-01-01 07:02:09 -0600 (Thu, 01 Jan 2009) | 2 lines #4776: add data_files and package_dir arguments. ........ r68126 | georg.brandl | 2009-01-01 07:05:13 -0600 (Thu, 01 Jan 2009) | 2 lines Handlers are in the `logging.handlers` module. ........ r68127 | georg.brandl | 2009-01-01 07:14:49 -0600 (Thu, 01 Jan 2009) | 2 lines #4767: Use correct submodules for all MIME classes. ........
-
Georg Brandl yazdı
put them into dis.__all__.
-
- 04 Haz, 2008 1 kayıt (commit)
-
-
Alexandre Vassalotti yazdı
-
- 27 Kas, 2007 1 kayıt (commit)
-
-
Christian Heimes yazdı
Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). Also removed im_class and renamed im_self to __self__ and im_func to __func__. im_class can be substituted with method.__self__.__class__. I've also updated some parts of the documenation.
-
- 19 Eki, 2007 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Make PyString's indexing and iteration return integers. (I changed a few of Alexandre's decisions -- GvR.)
-
- 30 Agu, 2007 1 kayıt (commit)
-
-
Collin Winter yazdı
-
- 07 Haz, 2007 1 kayıt (commit)
-
-
Guido van Rossum yazdı
svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55797 | neal.norwitz | 2007-06-07 00:00:57 -0700 (Thu, 07 Jun 2007) | 3 lines Get rid of some remnants of classic classes. types.ClassType == type. Also get rid of almost all uses of the types module and use the builtin name. ........ r55798 | neal.norwitz | 2007-06-07 00:12:36 -0700 (Thu, 07 Jun 2007) | 1 line Remove a use of types, verify commit hook works ........ r55809 | guido.van.rossum | 2007-06-07 11:11:29 -0700 (Thu, 07 Jun 2007) | 2 lines Fix syntax error introduced by Neal in last checkin. ........
-