$2a$11$70w6J.UbVsGwuTMIvSTq5Oh97csRvkT9bz2BuWASdYI1W4MhnMDU2
from turtle import * | |
WIDTH = 1280 | |
HEIGHT = 800 | |
RADIUS = 50 | |
def init(): | |
setup(WIDTH, HEIGHT) | |
setworldcoordinates(0, 0, WIDTH, HEIGHT) |
""" | |
Runs PBTs on `bytes.count` and `bytes.find`. Also confirms results match Python 3.9. | |
How to use: | |
- build CPython 3.11 from source | |
- run ./python.exe -m ensurepip | |
- run ./python.exe -m pip install hypothesis | |
- run ./python.exe run_hypo.py # this file | |
Note: `MAX` value below generates tests that on my machine execute between |
This has been a very busy day for releases and on behalf of the Python development community we're happy to announce the availability of three new Python releases.
Python 3.10 is still in development. 3.10.0b1 is the first of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.
We strongly encourage maintainers of third-party Python projects to test with 3.10 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Monday, 2021-08-02). Our goal is have no ABI changes after beta 4 and as few code
import base64 | |
import bz2 | |
from dataclasses import dataclass | |
from pathlib import Path | |
import pickle | |
from typing import Iterable, Iterator | |
try: | |
from rich.color import Color | |
from rich.console import Console, ConsoleOptions, RenderResult |
Sus2 027 | |
Sus2 #5 028 | |
DimTriad 036 | |
Min 037 | |
Maj 047 | |
AugTriad 048 | |
Sus4 057 | |
Stack4 05A | |
Open4 05C | |
Sus #4 067 |
#!/usr/bin/env python3 | |
# for Disquiet 0456: https://llllllll.co/t/disquiet-junto-project-0456-line-up/36613/ | |
""" | |
martin - converts an image with horizontal lines into JSON with a list of lists of numbers | |
Usage: | |
martin <file> | |
martin --help |
<?php | |
final class PythonFormatLinter extends ArcanistFutureLinter { | |
public function getLinterName() { | |
return 'BLACK'; | |
} | |
protected function getFuturesLimit() { | |
return 8; | |
} |
--- Lib/tokenize.py 2018-04-22 17:33:48.000000000 -0700 | |
+++ Lib/lib2to3/pgen2/tokenize.py 2018-04-22 17:32:55.000000000 -0700 | |
@@ -31,14 +31,15 @@ | |
import itertools as _itertools | |
import re | |
import sys | |
-from token import * | |
+from .token import * | |
cookie_re = re.compile(r'^[ \t\f]*#.*?coding[:=][ \t]*([-\w.]+)', re.ASCII) |
'.gfm.source': | |
'editor': | |
'softWrap': true | |
'tabLength': 4 | |
'preferredLineLength': 72 |