Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...code that is not up to the newest language features and could be rewritten in a more concise, modern Python. PyChecker should run cleanly over the library. With a carefully tuned configuration file, PyLint should also emit as few warnings as possible. As long as these changes don't change the module's interface and behavior, no documentation updates are necessary. Enhancement of test and documentation coverage Code coverage by unit tests varies greatly between modules. Each test suite should...
...code coverage tools, enabling them to measure expression-level coverage instead of just line-level coverage. For instance, given the following line: x = foo() if bar() else baz() coverage, profile or state analysis tools will highlight the full line in both branches, making it impossible to differentiate what branch was taken. This is a known problem in pycoverage. Similar efforts to this PEP have taken place in other languages such as Java in the form of JEP358. NullPointerExceptions in Java ...
...code must act as a drop-in replacement as close to the pure Python implementation as reasonable. Technical details of the VM providing the accelerated code are allowed to differ as necessary, e.g., a class being a type when implemented in C. To verify that the Python and equivalent C code operate as similarly as possible, both code bases must be tested using the same tests which apply to the pure Python code (tests specific to the C code or any VM do not follow under this requirement). The test ...
...Coverage M.A Lemburg: "Who will be continuing Andrew [Kuchling's] effort?" Hettinger: "I am continuing the effort." Holden: "...It is important work." This discussion was deferred to email in order for members to pursue the remaining coverage of the Python code base which is nearly at 100%. 12 PSF Community Service Award Nominations for 2010 - 2nd Quarter The Board decided that the award candidate pool should first be broaden to include more can...
...code: CodeType, instruction_offset: int) C_CALL and C_RETURN: func(code: CodeType, instruction_offset: int, callable: object) RAISE and EXCEPTION_HANDLED: func(code: CodeType, instruction_offset: int, exception: BaseException) LINE: func(code: CodeType, line_number: int) JUMP and BRANCH: func(code: CodeType, instruction_offset: int, destination_offset: int) Note that the destination_offset is where the code will next execute. For an untaken branch this will be the offset of the inst...
...Codeship (https://codeship.com/) [35]coverage.py (https://pypi.python.org/pypi/coverage) [36]Coveralls (https://coveralls.io/) [37]Codecov (https://codecov.io/) [38]Pypatcher (https://github.com/kushaldas/pypatcher) [39]Heroku (https://www.heroku.com/) [40]GitHub status checks (https://developer.github.com/v3/repos/statuses/) [41]The Knights Who Say Ni project (https://github.com/python/the-knights-who-say-ni) Copyright This document has been placed in the ...
...Code Speed Web RESOLVED, that the PSF fund the Code Speed Web rewrite of the current codebase to gain better extensibility, test coverage and a better UI in the amount of $10,000 USD. Deferred until later time. Martin will contact Maciej. F. to receive more needed details. 7 Other Business 7.1 CTM Application The board was updated on the CTM application status, evidence (250 pieces) regarding the application, and donations that were coming in for the issue (...
...code, since braces and type declarations are not used. Second, the standard library and third-party modules available for Python are breathtaking in their coverage. Almost every time a problem was encountered, a Python library that helped speed the solution process was found. These libraries, both standard and third-party, were high-quality and tended to have helpful communities of users. Finally, the ease with which code can be read and comprehended quickly, even months after being written, has...
...Code Speed Web Codebase Rewrite RESOLVED, that the Python Software Foundation grant $10,000 to Information Logistics and Maciej Fijałkowski to rewrite the current codebase for Code Speed Web to gain better extensibility, test coverage and a better UI based on the revised grant sent April 5, 2013 Approved, 8-1-1. 10 Other Business Discuss implementing a formal procedures for members to present motions for Board consideration. This was brought up and decided that the new boar...
...coverage-6.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl" requires-python = ">=3.6" requires = ["tomli"] [[package."coveragepy[toml]"."6.2.0"]] filename = "coverage-6.2-cp310-cp310-musllinux_1_1_x86_64.whl " hashes.sha256 = "276651978c94a8c5672ea60a2656e95a3cce2a3f31e9fb2d5ebd4c215d095840" url = "https://files.pythonhosted.org/packages/17/d6/a29f2cccacf2315150c31d8685b4842a6e7609279939a478725219794355/coverage-6.2-cp310-cp310-musllinux_1_...
...code. In ForecastWatch.com, Python was used for prototyping as well, and those prototypes were able to evolve cleanly into the production code without requiring a complete rewrite or switching toolsets. This saved substantial effort and made the development process more flexible and effective. Because of the clean design of the language, refactoring the Python code was also much easier than in other languages; moving code around simply requires less effort. Python's interpreted nature was also a...
...code to 3.0 syntax. Do not manually edit the output! Test the converted source code under 3.0. If problems are found, make corrections to the 2.6 version of the source code and go back to step 3. When it's time to release, release separate 2.6 and 3.0 tarballs (or whatever archive form you use for releases). It is recommended not to edit the 3.0 source code until you are ready to reduce 2.6 support to pure maintenance (i.e. the moment when you would normally move the 2.6 code to a maintenance b...
...code and 300 days (almost as much) on 44K of C, C++, or other code. From our experience with code conversions, we believe it is roughly correct for most types of performance-critical code to equate one line of Python with ten lines of C or C++ code. This means that about 5-10% of our application functionality is in C or C++ and the rest is in Python. Even considering that the C/C++ code is somewhat more complex than most of the Python code, these results confirm without any doubt that working in...
...coverage' we have in contributor agreements and if there are any high-profile contributors who haven't signed agreements. Go after people to improve our coverage. (Transferred from #13, Dec 2006 §4.) Status: pending. 5 New Memory for PSF Computer RESOLVED, that Martin von Löwis be authorized to spend up to Euros 1,000 to replace memory on a PSF computer. Approved, 8-0-0. [58] M. von Löwis will purchase new memory to replace faulty memory on a PSF computer. 6 &...
...coverage>=5.0.3', 'pytest', 'pytest-benchmark[histogram]>=3.2.1', ] Example This is a real-world example port of what docker-compose defines. [project] dependencies = [ 'cached-property >= 1.2.0, < 2', 'distro >= 1.5.0, < 2', 'docker[ssh] >= 4.2.2, < 5', 'dockerpty >= 0.4.1, < 1', 'docopt >= 0.6.1, < 1', 'jsonschema >= 2.5.1, < 4', 'PyYAML >= 3.10, < 6', 'python-dotenv >= 0.13.0, < 1', 'requests >= 2.20.0, < 3...
...Code by Raymond Hettinger. sets - a new module implementing two flexible set data types. Code by a cast of thousands, including Greg V. Wilson, Alex Martelli, Tim Peters, and Raymond Hettinger. (PEP 218) socket - sockets now support an optional timeout on all operations. Code by Michael Gilfix and Bernard Yue, based on Tim O'Malley's timeoutsocket.py. Some bugs in this feature were fixed in 2.3b1; as a result, all platforms now use a Python wrapper class for socket objects. Also new in 2....
...code to cause the regression test to fail. If a checkin causes a failure, it must be fixed within 24 hours or it will be backed out. All contributed C code must be ANSI C. If possible check it with two different compilers, e.g. gcc and MSVC. All contributed Python code must follow Guido's Python style guide. http://www.python.org/doc/essays/styleguide.html It is understood that any code contributed will be released under an Open Source license. Do not contribute code if it can't be released t...
...code of their own. This is done by displaying the code that is generated from cell expressions in a pane of the GUI. The user is free to insert any Python of their own devising, to be executed before, during or after the evaluation of the spreadsheet cell values. Figure 3. The code pane within the Resolver One application. Zoom in So the spreadsheet, with all its data, expressions and user-customised functions and algorithms, becomes a single, executable Python script. The GUI and the code ar...
...codeError, vs. the proposed PEP 8-compliant TOMLDecodeError. A significant fraction of toml users rely on this, based on occurrences of "TomlDecodeError". toml.load[s] accepts a _dict argument Discussed at Controlling the type of mappings returned by tomllib.load[s]. As mentioned there, almost all usage consists of _dict=OrderedDict, which is not necessary in Python 3.7 and later. toml.load[s] support an undocumented decoder argument It seems the intended use case is for an implementation of c...
...Code, a blog about Bug Weekend, and a blog about John Pinner's 2010 - 2nd Quarter Community Service Award has been posted by the newly recruited Mike Driscoll. Paulo Nuin is another recruited volunteer who has written a blog about Michael Foord, the recipient of the 2010 - 3rd Quarter Community Service Award. Foundation News can be found here: http://pyfound.blogspot.com/. Board Discussion: Peters: "Mike Driscoll is a blogging machine." 5.2 Core Development Tasks B...