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.
...interface with the Python website. Board Discussion: S. Holden: "We really need to treat this as important, since it will generate additional revenues to spend on sprints and the like." K. Kaiser: "We are setting up a new processor, FirstData. So between them and "classic" PayPal (money by email) we should be able to handle the payments. 5.4 Marketing Material MAL provides a brief introduction into his marketing project: "The project is lead by M...
...declarations. Rather than having a Dynamic field, add a special value that indicates that a field is "not yet defined". Again, this is logically equivalent to the current proposal. It makes "being dynamic" an explicit choice, but requires a special value. As some fields can contain arbitrary text, choosing a such a value is somewhat awkward (although likely not a problem in practice). There does not seem to be enough benefit to this approach to make it worth using instead of the proposed mecha...
...interface with the Python website. Andrew Kuchling of MatrixMaxx is currently onboard to tackle membership subscriptions & fee payments for-the-most-part. In other words, we are working on many technical aspects of the project at this point. Board Discussion: Mertz: "Any word on when this is likely to be pinned down?" Campbell: "We are currently looking at the financial side of things." K. Kaiser: "I have offered payment options, but the problem is: How is the w...
Towards a Standard Parser Generator Towards a Standard Parser Generator Martin v. Löwis Humboldt-Universität zu Berlin Institut für Informatik loewis@informatik.hu-berlin.de Abstract Developing parsers for "little" languages is a common task for many software developers. People have frequently requested inclusion of a specific parser generator framework into the Python library. In this paper, we compare several Python parser generators, using the XPath langua...
...declarations similar to C structs. This could be useful, for example, for future ctypes releases as well as ORMs that define database tables as classes, like the one the Django framework ships. Django currently uses an ugly hack to restore the ordering of members in database models. The RawConfigParser class accepts a dict_type argument that allows an application to set the type of dictionary used internally. The motivation for this addition was expressly to allow users to provide an ordered d...
...interface to our existing PayFlow account." 5 Progress Report The following board reports were submitted to the board mailing list one week prior to this month's meeting. Please see a summary of each board report listed below and a possible board discussion to follow: 5.1 Communication Status D. Hellmann, Communication Officer, reported continued activities from last month, by saying: Paulo Nuin is working on a post about the PyPI mirroring project. Eng...
...interface. This connection is not visible on any external interface and no data is sent to or received from the Internet. So, if you get such a dialog when opening IDLE, asking whether to let pythonw.exe talk to address 127.0.0.1, say yes, and rest assured no communication external to your machine is taking place. If you don't allow it, IDLE won't be able to start. What's New in Python 2.3 release candidate 2? Release date: 24-Jul-2003 Core and builtins It is now possible to import from...
...Interface PEP:444 Title:Python Web3 Interface Author:Chris McDonough <chrism at plope.com>, Armin Ronacher <armin.ronacher at active-4.com> Discussions-To:web-sig at python.org Status:Deferred Type:Informational Created:19-Jul-2010 Contents Abstract PEP Deferral Rationale and Goals Differences from WSGI Specification Overview The Application/Framework Side The Server/Gateway Side Middleware: Components that Play Both Sides Specification Details environ Variables I...
...interface and back end publishing and content creation system. The document will be put together by Jesse Noller (current PSF board member) and the acceptance and publishing of the document will be contingent on board approval. Approved, 8-0-3. 9 Read the Docs Grant Funding RESOLVED, That the PSF provide funding for the Read the Docs website (http://readthedocs.org/) hosting costs for a period of 12 months at the rate of $70 for a total amount of $840 for the next year. Appro...
...declarations The double colon Other forms of new syntax Other backwards compatible conventions PEP Development Process Acknowledgements References Copyright Abstract PEP 3107 introduced syntax for function annotations, but the semantics were deliberately left undefined. There has now been enough 3rd party usage for static type analysis that the community would benefit from a standard vocabulary and baseline tools within the standard library. This PEP introduces a provisional module to prov...
...interface and HR activity related to the organizational turn-over. PyCon payment activity appears to have wrapped up, and we are very close to being able to recognize the income from a very strong PyCon 2012. Concerning the Associate Member Program (AM), he said: Associate Member program: The website is available to accept Associate Member registrations. Andrew Kuchling has offered to work on improving the site content and the attractiveness of the Associate Membership offering. We still need...
...interface nicer. Add "import thread" to the top of test modules that import the threading module (test_asynchat and test_threadedtempfile). This prevents test failures caused by a broken threading module resulting from a previously caught failed import. Changed test_asynchat.py to set the SO_REUSEADDR option; this was needed on some platforms (e.g. Solaris 8) when the tests are run twice in succession. Skip rather than fail test_sunaudiodev if no audio device is found. What's New i...
...interfaces. This is a good approach for cases where network encoding interoperability is a more important concern than local encoding interoperability. However, it comes at the cost of making CPython's encoding assumptions diverge from those of other locale-aware components in the same process, as well as those of components running in subprocesses that share the same environment. This can cause interoperability problems with some extension modules (such as GNU readline's command line history ed...
...interface checked by the guard. For example: if isinstance(x, tuple) and len(x) == 2: host, port = x mode = "http" elif isinstance(x, tuple) and len(x) == 3: host, port, mode = x # Etc. Code like this is more elegantly rendered using match: match x: case host, port: mode = "http" case host, port, mode: pass # Etc. AST traversal code often looks for nodes matching a given pattern, for example the code to detect a node of the shape "A + B * C" might lo...
...interface A pytz-like ([18]) interface was proposed in PEP 431, but was ultimately withdrawn / rejected for lack of ambiguous datetime support. PEP 495 added the fold attribute to address this problem, but fold obviates the need for pytz's non-standard tzinfo classes, and so a pytz-like interface is no longer necessary. [2] The zoneinfo approach is more closely based on dateutil.tz, which implemented support for fold (including a backport to older versions) just before the release of Python 3.6....
...interface. In these cases, a corresponding Python-Requires entry should be added to the project metadata. For example, if a project is affected by an ABI change introduced in 3.9.0a5, then the Python-Requires entry to add would be: Python-Requires: >= "3.9.0b6"; python_version == "3.9" and full_python_version != "3.9.0a5" (This additional metadata ensures that the updated version won't be installed on earlier pre-releases in the 3.9 series that offer an older variant of the ABI) As for appl...
...interface between path objects, DirEntry, and any other third-party path library has become an issue. A solution that allows any path-representing object to declare that it is a path and a way to extract a low-level representation that all path objects could support is desired. This PEP then proposes to introduce a new protocol to be followed by objects which represent file system paths. Providing a protocol allows for explicit signaling of what objects represent file system paths as well as a w...
...interfaces.) The standard bool type can also serve as a way to force a value to be interpreted as a Boolean, which can be used to normalize Boolean values. When a Boolean value needs to be normalized to one of two values, bool(x) is much clearer than "not not x" and much more concise than if x: return 1 else: return 0 Here are some arguments derived from teaching Python. When showing people comparison operators etc. in the interactive shell, I think this is a bit ugly: >>> ...
...interface would specify that puts happen before gets, and we'd reason directly from that. Surprising behaviors with races Lots of strange things can happen when code has data races. It's easy to avoid all of these problems by just protecting shared variables with locks. This is not a complete list of race hazards; it's just a collection that seem relevant to Python. In all of these examples, variables starting with r are local variables, and other variables are shared between threads. Zombi...
...interface between objects and the pickling and unpickling engines must be specified. This PEP focuses on API issues, although it may occasionally touch on byte stream format details to motivate a choice. The pickle byte stream format is documented formally by the standard library module pickletools.py (already checked into CVS for Python 2.3). This PEP attempts to fully document the interface between pickled objects and the pickling process, highlighting additions by specifying "new in this PE...