Hello,
I'd like to announce memprof, a memory profiler for Python:
http://jmdana.github.io/memprof/
memprof logs and plots the memory usage of all the variables during the
execution of the decorated methods.
The source code is available in GitHub:
https://github.com/jmdana/memprof
And the
vulture - Find dead code
vulture finds unused classes, functions and variables in Python code.
This helps you cleanup and find errors in your programs. If you run it
on both your library and test suite you can find untested code.
Due to Python's dynamic nature it is
We're pleased to announce the release of Python Tools for Visual Studio 2.0
Beta (https://pytools.codeplex.com/releases/view/103101). Python Tools for
Visual Studio (PTVS) is an open-source plug-in for Visual Studio which supports
programming with the Python language. PTVS supports a broad
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
Python for Non-Programmers
==
What: Python for Non-Programmers - Learn programming from scratch
When: July 9 - 12, 2013
Where: Python Academy, Leipzig, Germany
Instructor: Mike Müller (eight years of Python training experience)
Details:
good question
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, June 27, 2013 6:19:18 AM UTC+2, Thrinaxodon wrote:
=
MESSAGE FROM COMPUTER GEEK.
=
THRINAXODON HAS RECENTLY RECEIVED THIS MESSAGE FROM THE PYTHON FOUNDER:
Oh my God! It's hard to program with, it`s troubling for so many people!
On Wed, 26 Jun 2013 23:28:49 -0700, wgtrey wrote:
good question
but a very poor reply, you should at least quote SOME of
the original post to give context.
especially as msg threading in this newsgroup is less than perfect.
--
How sharper than a serpent's tooth is a sister's See?
The type() builtin according to python docs, returns a type object.
http://docs.python.org/2/library/types.html
And in this module is bunch of what I assume are type objects. Is this
correct?
http://docs.python.org/2/library/functions.html#type
And type(), aside from being used in as an
On Thu, 27 Jun 2013 01:34:34 -0700, Russel Walker wrote:
The type() builtin according to python docs, returns a type object.
http://docs.python.org/2/library/types.html
And in this module is bunch of what I assume are type objects. Is this
correct?
Find a new release of python-ldap:
http://pypi.python.org/pypi/python-ldap/2.4.11
python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
On Thursday, June 27, 2013 12:35:14 PM UTC+5:30, Russel Walker wrote:
On Thursday, June 27, 2013 6:19:18 AM UTC+2, Thrinaxodon wrote:
snipped
I was hoping to have a good laugh. :|
Although I wouldn't call it hostile.
I think the python community is being educated in how to spam and troll at
I am looking for a quote
(from Whorf/Sapir/Wittgenstein/Humboldt dunno... that 'school')
It goes something like this:
What characterizes a language is not what we can say in it but what we must --
like it or not -- say.
A demo of this is D Hofstadter's
On Thu, Jun 27, 2013 at 9:14 PM, rusi rustompm...@gmail.com wrote:
I am looking for a quote
(from Whorf/Sapir/Wittgenstein/Humboldt dunno... that 'school')
It goes something like this:
What characterizes a language is not what we can say in it but what we must
-- like it or not -- say.
I
On Thursday, June 27, 2013 4:49:23 PM UTC+5:30, Chris Angelico wrote:
On Thu, Jun 27, 2013 at 9:14 PM, rusi wrote:
I am looking for a quote
(from Whorf/Sapir/Wittgenstein/Humboldt dunno... that 'school')
It goes something like this:
What characterizes a language is not what we can
2013/6/27 rusi rustompm...@gmail.com:
I am looking for a quote
(from Whorf/Sapir/Wittgenstein/Humboldt dunno... that 'school')
It goes something like this:
What characterizes a language is not what we can say in it but what we must
-- like it or not -- say.
[...]
Hi,
I belive, the author
If you insist it fails, JUST DO NOT USE IT or you create a better language.
don't just bother, it does no good.
-- --
??: Ben Finneyben+pyt...@benfinney.id.au;
: 2013??6??27??(??) 1:37
??: python-listpython-list@python.org;
Op 25-06-13 19:25, Ian Kelly schreef:
On Mon, Jun 24, 2013 at 7:37 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
What do you mean with not a participant in the past? As far
as I can see his first appearance was in dec 2011. That is
over a year ago. It also seems that he always find
On Wed, Jun 26, 2013 at 1:46 PM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
But you didn't even go to the trouble of trying to find out
what those concerns would be and how strong people feel about
them. You just took your assumptions about those concerns for
granted and proceeded from
On Thursday, June 27, 2013 5:40:39 PM UTC+5:30, Vlastimil Brom wrote:
Hi,
I belive, the author is Roman Jakobson, see the respective post about
this very question:
http://linguistlist.org/issues/9/9-32.html
Thanks!
There seem to be several variations,
Another remarkable linguist
I've begun writing a program with an interactive prompt, and it needs to parse
input from the user. I thought the argparse module would be
great for this, but unfortunately it insists on calling sys.exit() at any sign
of trouble instead of letting its ArgumentError exception
propagate so that I
On 27 June 2013 00:57, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Wed, 26 Jun 2013 10:09:13 -0700, rusi wrote:
On Wednesday, June 26, 2013 8:54:56 PM UTC+5:30, Joshua Landau wrote:
On 25 June 2013 22:48, Gene Heskett wrote:
On Tuesday 25 June 2013 17:47:22 Joshua Landau
On 27/06/2013 11:52, rusi wrote:
On Thursday, June 27, 2013 12:35:14 PM UTC+5:30, Russel Walker wrote:
On Thursday, June 27, 2013 6:19:18 AM UTC+2, Thrinaxodon wrote:
snipped
I was hoping to have a good laugh. :|
Although I wouldn't call it hostile.
I think the python community is being
On 27 June 2013 13:54, Andrew Berg robotsondr...@gmail.com wrote:
I've begun writing a program with an interactive prompt, and it needs to
parse input from the user. I thought the argparse module would be
great for this, but unfortunately it insists on calling sys.exit() at any
sign of
In article mailman.3924.1372337705.3114.python-l...@python.org,
Andrew Berg robotsondr...@gmail.com wrote:
I've begun writing a program with an interactive prompt, and it needs to
parse input from the user. I thought the argparse module would be
great for this, but unfortunately it insists
خطاب الرئيس محمد مرسي كاملا يوم 26-6-2013
On 26 June 2013 14:09, Tim jtim.arn...@gmail.com wrote:
I am extending a parser and need to create many classes that are all
subclassed from the same object (defined in an external library). When my
module is loaded I need all the classes to be created with a particular name
but the
Στις 25/6/2013 9:00 μμ, ο/η ru...@yahoo.com έγραψε:
On 06/23/2013 07:44 PM, Νίκος wrote: Why use mako's approach which requires 2
files(an html template and the
actual python script rendering the data) when i can have simple print
statements inside 1 files(my files.py script) ?
After all its
On Thursday, June 27, 2013 9:16:50 AM UTC-4, Joshua Landau wrote:
On 26 June 2013 14:09, Tim wrote:
I am extending a parser and need to create many classes that are all
subclassed from the same object (defined in an external library). When my
module is loaded I need all the classes to
I've used web frameworks, but I don't know how they work. Is there anywhere
that I can learn how this all works from scratch?
--
http://mail.python.org/mailman/listinfo/python-list
On 2013.06.27 08:08, Roy Smith wrote:
Can you give us a concrete example of what you're trying to do?
The actual code I've written so far isn't easily condensed into a short simple
snippet.
I'm trying to use argparse to handle all the little details of parsing and
verifying arguments in the
On 06/27/2013 09:37 AM, Tim wrote:
On Thursday, June 27, 2013 9:16:50 AM UTC-4, Joshua Landau wrote:
On 26 June 2013 14:09, Tim wrote:
I am extending a parser and need to create many classes that are all subclassed
from the same object (defined in an external library). When my module is
How can i convert text of the following type
नà¥à¤ªà¤¾à¤²à¥
into devnagari unicode in Python 2.7?
--
http://mail.python.org/mailman/listinfo/python-list
Could one write Python codes and have them run on one's own mobile
phone? If yes, are there some good literatures? Thanks in advance.
M. K. Shen
--
http://mail.python.org/mailman/listinfo/python-list
On 27/06/2013 16:05, darpan6aya wrote:
How can i convert text of the following type
नेपाली
into devnagari unicode in Python 2.7?
Is that a bytestring? In other words, is its type 'str'?
If so, you need to decode it. That particular string is UTF-8:
print
On 27 Jun 2013 14:49, gamesbrain...@gmail.com wrote:
I've used web frameworks, but I don't know how they work. Is there
anywhere that I can learn how this all works from scratch?
Write CGI scripts. It is the most raw way to program for the web. That way
you can dig into what frameworks do for
That worked out. I was trying to encode it the entire time.
Now I realise how silly I am.
Thanks MRAB. Once Again. :D
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, June 27, 2013 8:44:36 PM UTC+5:30, Fábio Santos wrote:
On 27 Jun 2013 14:49, gamesb...@gmail.com wrote:
I've used web frameworks, but I don't know how they work. Is there anywhere
that I can learn how this all works from scratch?
Write CGI scripts. It is the most raw way to
On 27-6-2013 15:48, Dave Angel wrote:
The behavior for these is all the same so they're subclassed
from one base class, but they need to have these particular names so the
parser knows
how to consume them when encountered in the source file. That is, for every
custom
command the parser
On 06/27/2013 11:11 AM, Mok-Kong Shen wrote:
Could one write Python codes and have them run on one's own mobile
phone? If yes, are there some good literatures? Thanks in advance.
M. K. Shen
I've not tried it, but that's what QPython is supposed to do.
http://qpython.com/
--
DaveA
--
On 06/27/2013 09:49 AM, Andrew Berg wrote:
On 2013.06.27 08:08, Roy Smith wrote:
Can you give us a concrete example of what you're trying to do?
The actual code I've written so far isn't easily condensed into a short simple
snippet.
I'm trying to use argparse to handle all the little details
On 06/27/2013 11:39 AM, darpan6aya wrote:
That worked out. I was trying to encode it the entire time.
Now I realise how silly I am.
Thanks MRAB. Once Again. :D
you're not silly, it's a complex question. MRAB is good at guessing
which part is messing you up.
However, when you're writing a
On Thursday, June 27, 2013 11:56:24 AM UTC-4, Irmen de Jong wrote:
On 27-6-2013 15:48, Dave Angel wrote:
The behavior for these is all the same so they're subclassed
from one base class, but they need to have these particular names so the
parser knows
how to consume them when
Hi all,
I made a simple map editor for using in pyZeldaII overworld maps,
it's fastly written.
You can download it here : http://github.com/pygame-pyLevelMaker
pyZeldaII can be found here : http://github.com/pygame-pyZeldaII
Enjoy,
Turtle Wizard
--
Time heals.
my blog :
Scuzzy,
the links are : http://github.com/zork9/pygame-pyLevelMaker
and http://github.com/zork9/pygame-pyZeldaII
You can download them with git.
Screenshots of the level editor can be found on my blog, see sig.
TW
--
http://mail.python.org/mailman/listinfo/python-list
Any programming language is only as good as the person who is using it.
--
http://mail.python.org/mailman/listinfo/python-list
On 6/27/2013 8:54 AM, Andrew Berg wrote:
I've begun writing a program with an interactive prompt, and it needs
to parse input from the user. I thought the argparse module would be
great for this,
It is outside argparse's intended domain of application -- parsing
command line arguments. The
On 06/27/2013 02:05 PM, Terry Reedy wrote:
On 6/27/2013 8:54 AM, Andrew Berg wrote:
I've begun writing a program with an interactive prompt, and it needs
to parse input from the user. I thought the argparse module would be
great for this,
It is outside argparse's intended domain of
On 6/27/2013 2:18 PM, Dave Angel wrote:
On 06/27/2013 02:05 PM, Terry Reedy wrote:
On 6/27/2013 8:54 AM, Andrew Berg wrote:
I've begun writing a program with an interactive prompt, and it needs
to parse input from the user. I thought the argparse module would be
great for this,
It is
On 06/27/2013 11:39 AM, Terry Reedy wrote:
On 6/27/2013 2:18 PM, Dave Angel wrote:
On 06/27/2013 02:05 PM, Terry Reedy wrote:
On 6/27/2013 8:54 AM, Andrew Berg wrote:
I've begun writing a program with an interactive prompt, and it needs
to parse input from the user. I thought the argparse
On 2013-06-27 17:02, Dave Angel wrote:
On 06/27/2013 09:49 AM, Andrew Berg wrote:
On 2013.06.27 08:08, Roy Smith wrote:
Can you give us a concrete example of what you're trying to do?
The actual code I've written so far isn't easily condensed into a short simple
snippet.
I'm trying to use
On Thu, Jun 27, 2013 at 2:50 PM, Ethan Furman et...@stoneleaf.us wrote:
If the OP is writing an interactive shell, shouldn't `cmd` be used instead
of `argparse`? argparse is, after all, intended for argument parsing of
command line scripts, not for interactive work.
He _is_ using cmd.
On 2013-06-27, Jason Swails jason.swa...@gmail.com wrote:
He _is_ using cmd. He's subclassed cmd.Cmd and trying to use
argparse to handle argument parsing in the Cmd.precmd method to
preprocess the user input.
[...]
Having subclassed cmd.Cmd myself in one of my programs and written my
own
On Fri, Jun 28, 2013 at 8:19 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-06-27, Jason Swails jason.swa...@gmail.com wrote:
He _is_ using cmd. He's subclassed cmd.Cmd and trying to use
argparse to handle argument parsing in the Cmd.precmd method to
preprocess the user input.
On Thu, 27 Jun 2013 12:02:22 -0400, Dave Angel wrote:
On 06/27/2013 09:49 AM, Andrew Berg wrote:
On 2013.06.27 08:08, Roy Smith wrote:
Can you give us a concrete example of what you're trying to do?
The actual code I've written so far isn't easily condensed into a short
simple snippet. I'm
On 27Jun2013 11:50, Ethan Furman et...@stoneleaf.us wrote:
| If the OP is writing an interactive shell, shouldn't `cmd` be used
| instead of `argparse`? argparse is, after all, intended for
| argument parsing of command line scripts, not for interactive work.
This is specious.
I invoke command
On 27Jun2013 16:32, Νίκος ni...@superhost.gr wrote:
| a) keep my existing Python cgi way that embed print ''' statements
| within python code to displays mostly tables?
I'd argue against this approach. Like hand constructing SQL, this
is rife with opportunity to make syntax errors, either
On 27Jun2013 22:49, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
| [rant]
| I think it is lousy design for a framework like argparse to raise a
| custom ArgumentError in one part of the code, only to catch it elsewhere
| and call sys.exit. At the very least, that ought to be a
On 26/06/2013 9:19 AM, Mark Janssen wrote:
Did you ever hear of the Glass Bead Game?
Which was Hesse's condemnation of the
pure-academic-understanding-unbound-by-pragmatic-use approach as mental
masturbation, _not_ a recommendation for how human knowledge should
work. If you think
On 2013-06-28 09:02, Cameron Simpson wrote:
On 27Jun2013 11:50, Ethan Furman et...@stoneleaf.us wrote:
| If the OP is writing an interactive shell, shouldn't `cmd` be used
| instead of `argparse`? argparse is, after all, intended for
| argument parsing of command line scripts, not for
On 27 June 2013 22:30, Jason Swails jason.swa...@gmail.com wrote:
An alternative is, of course, to simply subclass ArgumentParser and copy
over all of the code that catches an ArgumentError to eliminate the internal
exception handling and instead allow them to propagate the call stack.
I
On 28/06/2013 1:11 AM, Mok-Kong Shen wrote:
Could one write Python codes and have them run on one's own mobile
phone? If yes, are there some good literatures? Thanks in advance.
Kivy is a well-documented multi-platform approach to doing this:
http://kivy.org/
--
On 27/06/2013 9:17 AM, Foo Stack wrote:
Given string input such as:
foo=5 AND a=6 AND date=now OR date='2013/6' AND bar='hello'
I am going to implement:
- boolean understanding (which operator takes precendence)
- spliting off of attributes into my function which computes their table in
On Thu, Jun 27, 2013 at 8:22 PM, Tim Chase python.l...@tim.thechases.comwrote:
On 2013-06-28 09:02, Cameron Simpson wrote:
On 27Jun2013 11:50, Ethan Furman et...@stoneleaf.us wrote:
| If the OP is writing an interactive shell, shouldn't `cmd` be used
| instead of `argparse`? argparse is,
Στις 28/6/2013 2:08 πμ, ο/η Cameron Simpson έγραψε:
On 27Jun2013 16:32, Νίκος ni...@superhost.gr wrote:
| a) keep my existing Python cgi way that embed print ''' statements
| within python code to displays mostly tables?
I'd argue against this approach. Like hand constructing SQL, this
is rife
I was hoping to have a good laugh. :|
Although I wouldn't call it hostile.
I think the python community is being educated in how to spam and troll at
the same time.
It is possible the OP has a mental disease, which is about as funny as
heart disease and cancer and not blameworthy. This
I appreciate the responses from everyone. I knew I couldn't be the only who
thought this behavior was unnecessarily limiting.
I found a ticket on the bug tracker. A patch was even submitted, but obviously
it didn't make it into 3.3.
Hopefully, it will make it into 3.4 with some prodding.
paul j3 added the comment:
I've added 2 more tests,
one with default='c', which worked before.
one with default=['a','b'], which only works with this change.
http://bugs.python.org/issue16878 is useful reference, since it documents
the differences between nargs=? and nargs=*, and their
Changes by Ned Deily n...@acm.org:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18313
___
___
Python-bugs-list mailing list
Changes by STINNER Victor victor.stin...@gmail.com:
--
versions: +Python 3.3 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18312
___
STINNER Victor added the comment:
Extract of GNU standards:
# make distclean
# Delete all files from the current directory that are created by
# configuring or building the program. If you have unpacked the
# source and built the program without creating any other files,
#
Marc-Andre Lemburg added the comment:
On 27.06.2013 09:36, STINNER Victor wrote:
STINNER Victor added the comment:
Extract of GNU standards:
# make distclean
# Delete all files from the current directory that are created by
# configuring or building the program. If you have
Mathias Fröhlich added the comment:
Hi Eric,
Thanks for looking at that ticket so fast!
Reassigning this to 3.4 is great.
In general, yes I can already do what I need more or less. This is the reason
why I can be fine with about every python version.
The point I bring up this change that I
Kristján Valur Jónsson added the comment:
Thanks for your comments Christian.
You don't check ERR_GET_LIB() in some places.
Do you have a particular place in mind?
About DER. As I understand, currently _ssl only supports PEM. If that is the
case, then supporting DER should, IMHO, be a
Christian Heimes added the comment:
I found two places:
if (ERR_GET_REASON(err) == X509_R_CERT_ALREADY_IN_HASH_TABLE) {
if (ERR_GET_REASON(err) == PEM_R_BAD_BASE64_DECODE)
AFAIK the _ssl module only supports PEM certs for loading. On the other hands
cert data can only be retrieved as dict
Antoine Pitrou added the comment:
It feels a bit strange to treat PEM certs as binary data, especially
since the SSL module treats PEM as ASCII unicode. For example
DER_cert_to_PEM_cert() accepts bytes and returns str,
PEM_cert_to_DER_cert() converts str to bytes.
I agree that PEM is
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13483
___
Roundup Robot added the comment:
New changeset 44f455e6163d by Martin v. Löwis in branch 'default':
Issue #13483: Use VirtualAlloc in obmalloc on Windows.
http://hg.python.org/cpython/rev/44f455e6163d
--
nosy: +python-dev
___
Python tracker
Christian Heimes added the comment:
Hi Aaron,
it's a tempting idea but I have to decline. The API is deliberately limited to
the NIST interface. Once OpenSSL gains SHA-3 support we are going to use it in
favor for the reference implementation. I don't expect OpenSSL to provide the
full
Kristján Valur Jónsson added the comment:
Ok, thanks.
The consistency argument is strong, also Antoine's suggestion to use the return
type of read() as a discriminant.
also please excuse me because I am not a habitual user of Python 3 and haven't
become used to the str/binary dichotomy yet.
Christian Heimes added the comment:
EVE Online is still using Python 2.7? You gotta hurry up or Guido will beat you
with Dropbox's 3.x port. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16487
Eric V. Smith added the comment:
My plan is to just fix this issue, right now, by changing the find command to
be:
find $(srcdir)/[a-zA-Z]* ...
That fixes this bug and keeps the current functionality.
If someone wants to open another issue about changing what distclean does, I
think
Nick Coghlan added the comment:
The way we figure out where to find the standard library is crazy, and creating
the infrastructure to start making it less crazy is actually one of the prime
motivations for PEP 432 :)
--
___
Python tracker
New submission from Kim Gräsman:
os.unlink currently raises a WindowsError (Access Denied) if I attempt to
unlink an NTFS junction point.
It looks trivial to allow Py_DeleteFileW [1] to remove junction points as well
as proper symbolic links, as far as I can tell.
For example, the
Kim Gräsman added the comment:
Also, I believe the reason os.unlink raises access denied is because a
junction point does not currently qualify as a directory link, so its path
is passed directly to DeleteFileW, which in turn refuses to delete a directory.
--
Łukasz Langa added the comment:
The reason why I think it's wrong to special-case ABCs that are
explicitly in the MRO is that it's only one of four methods of virtual
subclassing:
1. Explicit MRO;
2. Abstract functionality implicitly implemented without any form of
registration;
3.
Eric V. Smith added the comment:
I'm not sure what you're saying. Given the function definition, the way you're
calling it is incorrect, and the error messages explain why.
Are you saying that these ways to call repeatfunc() are documented somewhere
that needs fixing? I couldn't find that on
Changes by Eric V. Smith e...@trueblade.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18313
___
___
Changes by py.user bugzilla-mail-...@yandex.ru:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18313
___
___
py.user added the comment:
it should be: def repeatfunc(func, times, *args):
and None for times described in the docstring
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18313
Eric V. Smith added the comment:
I see. You can't call repeatfunc() and specify times with a named argument
because of *args. Interesting. I'll let Raymond weigh in.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
Eric Snow added the comment:
A backward compatible solution would be to do lookup on the class after trying
the instance (and that came back None or isn't callable).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16251
New submission from Terrel Shumway:
for line in fileinput.input(files,inplace,backup,rU):
File /usr/lib/python2.7/fileinput.py, line 253, in next
line = self.readline()
File /usr/lib/python2.7/fileinput.py, line 346, in readline
self._buffer = self._file.readlines(self._bufsize)
Terrel Shumway added the comment:
http://hg.python.org/cpython/file/4dbbf322a9df/Lib/fileinput.py
In the process, I added an optional bufsize argument to the input()
function and the FileInput class.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
A quick look at the VCS history indicates bufsize has been in there for a long
time. The sphinx docs are wrong as well. This is correctly documented in
python3, apparently as part of the conversion from [] notation to keyword
notation in d143eb624cf5.
Terrel Shumway added the comment:
http://hg.python.org/cpython/file/68c776ba5ea5/Lib/fileinput.py
This is where the incorrect docstrings get added.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18315
Guido van Rossum added the comment:
Hm. I interpret explicit is better than implicit very differently. I see a
strict priority ordering from better to worse, in cases that would otherwise be
ambiguous:
1. explicit base class (ABC or otherwise)
2. ABC explicitly registered
3. ABC implicitly
Kristján Valur Jónsson added the comment:
2.7 is the pinnacle of pythonic achievement. Particularly our branch of it :)
One day we'll move, I'm sure, when there is an opportune moment. For example,
if we were to start supporting a new game, a new platform. But for now, if it
ain't broke, we
Terrel Shumway added the comment:
Here is a patch against the 2.7 branch. It will probably also apply to 2.6 if
anyone cares.
--
keywords: +patch
Added file: http://bugs.python.org/file30712/fileinput-document-bufsize.patch
___
Python tracker
Terrel Shumway added the comment:
Oops. I messed up, even on such a tiny fix. #:(
--
Added file: http://bugs.python.org/file30713/fileinput-document-bufsize.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18315
1 - 100 of 127 matches
Mail list logo