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.
...((a, b, c)). The connect(), connect_ex() and bind() methods for sockets require exactly one argument. Previously, you could call s.connect(host, port), but this was undocumented. You must now write s.connect((host, port)). The str() and repr() functions are now different more often. For long integers, str() no longer appends a 'L'. Thus, str(1L) == '1', which used to be '1L'; repr(1L) is unchanged and still returns '1L'. For floats, repr() now gives 17 digits of precision, to ensure no precis...
...(GSoC) 6.2.1 Ongoing Projects 6.2.2 Tabled Activities 6.3 Infrastructure Committee (IC) 6.4 Marketing Material 6.4.1 Sponsor Options 6.4.2 Educational Sponsorship 6.4.3 Please Help find Sponsors 6.5 Moving PyPI to Amazon CloudFront 6.6 Outreach and Education Committee (OEC) 6.6.1 Grant proposals 6.6.2 Discus...
...() method (in Python) or the tp_iter slot (in C). Iterating (i.e. a for loop) over a dictionary generates its keys. Iterating over a file generates its lines. The following functions were generalized to work nicely with iterator arguments: map(), filter(), reduce(), zip() list(), tuple() (PySequence_Tuple() and PySequence_Fast() in C API) max(), min() join() method of strings extend() method of lists 'x in y' and 'x not in y' (PySequence_Contains() in C API) operator.countOf() (PySequence_Coun...
...(DocBook.Rules.InformalTable): "application's informal table" TGROUP = TGroup class Example (DocBook): 'example application of DocBook formatting class' SECTION = str (InformalTable) def __call__ (self): self.data = [ InformalTable ()(self.data) ] return DocBook.__call__ (self) if __name__ == '__main__': print Example ([('statex', 'Integer'), ('statey', 'Long')]) () The OpenJade Interface OpenJade is an open source product...
...(r)". For example "Python® ..." This requirement is waived in all contexts where such marks are not normally included: email, online discussion, non-graphical advertisements (when permitted), and academic papers. We encourage the use of the symbol whenever possible, but recognize that many non-commercial and informal uses will omit it. The Python logos are not currently registered. (We will post an update to this policy if they are registered later.) These logos should be used in...
...(if available) override the generic (probably slower) implementations. For example: platform = ... # Figure out which platform applies dirname = __path__[0] # Package's main folder __path__.insert(0, os.path.join(dirname, "plat-" + platform)) If it is not desirable that platform specific submodules hide generic modules with the same name, __path__.append(...) should be used instead of __path__.insert(0, ...). Note that the plat-* subdirectories are not subpackages of E...
...(2019) Michael Bayer (2010) Michael Hudson (2002) Michael Iyanda (2021) Michael Kennedy (2018) Michael Sparks (2010) Michael J. Sullivan (2021) Michael Young (2019) Michelle Rowley (2012) Mike Driscoll (2011) Mike Fletcher (2009) Mike McLay (2002) Mike Müller (2010) Mike Olson (2002) Mike Orr (2011) Mike Pirnat (2025) Miguel Grinberg (2025) Miroslav Šedivý (2021) Monty Taylor (2012) Moshe Zadka (2001) Naomi Ceder (2011) Nathaniel Smith (2018) Neal Norwitz (2002) Ned Batchelder (2011) Ned Deily (...
...("+0xffffffff", 0) and int("0xffffffff", 16) right now. (PEP 347) super(X, x): x may now be a proxy for an X instance, i.e. issubclass(x.__class__, X) but not issubclass(type(x), X). isinstance(x, X): if X is a new-style class, this is now equivalent to issubclass(type(x), X) or issubclass(x.__class__, X). Previously only type(x) was tested. (For classic classes this was already the case.) compile(), eval() and the exec statement now fully support source code passed as uni...
...(using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 System Message: ERROR/3 (<string>, line 234) Unexpected indentation. rpmlib(CompressedFileNames) <= 3.0.4-1 System Message: WARNING/2 (<string>, line 235) Block quote ends without a blank line; unexpected unindent. Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 ...
Python Software Foundation Sponsors The PSF would not be possible without the generous financial help of the following sponsors. While the PSF thanks these sponsors for their support, we don't necessarily endorse nor promote any specific activity of any of its sponsors. Interested in becoming a sponsor? Check out our sponsor application. Visionary Sponsors Googl...
...(3) was introduced. This new version has some small but significant changes from the previous one. The most visible change for beginners is that print which used to be a Python keyword >>> print "Hello World!" # for Python 2 is now a function: >>> print("Hello World!") # for Python 3 As a result of the changes, programs written for Python 2 are likely to be incompatible with Python 3 (and vice-versa). Some of you may have not control over which Py...
...(such as when the proposal will receive Board consideration). If more than one award is proposed in a given period, the Board may elect to hold over a proposal. Awards will be considered in the order in which they are received. While it would be unusual for a single individual to receive multiple awards, repeated awards will be appropriate to acknowledge ongoing contributions. Recipients need not be Foundation members (though receiving an award may be an indication that consideration for membe...
...(anecdotal) evidence that Python is easy to learn for people who are (nearly) computer-illiterate. There are currently no development tools or training materials for Python that suit such an audience. We will make development of these the main focus of our task. We want to foster a community specifically focused on our tools and materials, so we can collect the necessary feedback; there is already interest in the use of Python by "newbies" in the existing Python community (estimated a...
...() method has been optimized quite a bit in platform-specific ways: on systems (like Linux) that support flockfile(), getc_unlocked(), and funlockfile(), those are used by default. On systems (like Windows) without getc_unlocked(), a complicated (but still thread-safe) method using fgets() is used by default. You can force use of the fgets() method by #define'ing USE_FGETS_IN_GETLINE at build time (it may be faster than getc_unlocked()). You can force fgets() not to be used by #define'ing DONT...
...(Nick) Coghlan Alex Gaynor Marc-Andre Lemburg Van Lindberg Ashwini Oruganti Anna Ossowski Carrie Ann Philbin Lynn Root Carol Willing 2014-2015 Officers 2014-2015 Guido van Rossum, President Van Lindberg, Chair Kurt Kaiser, Treasurer Brian Curtin, Communications Diana Clarke, PyCon Chair Ewa Jodlowska, Secretary and Event Coordinator David Mertz, Vice-Chair and Chair Elect Board of Directors 2014-2015 Alyssa (Nick) Coghlan Brian Curtin Kushal Das Selena Decklemann Alex Gaynor Marc-Andre Lem...
...(Revised Proposal) A Scouting Expedition for the Programmers of Tomorrow Corporation for National Research Initiatives July 1999 CNRI Proposal # 90120-1a PI: Guido van Rossum Point of Contact: Guido van Rossum Corporation for National Research Initiatives 1895 Preston White Drive, Suite 100 Reston, VA 20191-5434 Tel: (703) 620-8990 Fax: (703) 620-0913 Email: guido@cn...
If you didn't find what you need, try your search in the Python language documentation.