Amit Saha added the comment:
Thanks for the reply. I think I was not clear - the behavior of
string.capitalize() is correct as per documentation. But the PEP8 referring to
CapWords as cap words case is the bit I am not clear about, since `Capwords`
back when you call `string.capwords
New submission from Amit Saha :
PEP 8 suggests class names and type variable names to be in CapWords case.
However:
>>> import string
>>> string.capwords('CapWord')
'Capword'
Wondering if this this an oversight or am I misunderstanding something?
-
Amit Saha added the comment:
Thank you Victor.
--
___
Python tracker
<http://bugs.python.org/issue26323>
___
___
Python-bugs-list mailing list
Unsubscribe:
Amit Saha added the comment:
Thanks Michael, so looks like we are all set for merging this?
--
___
Python tracker
<http://bugs.python.org/issue26323>
___
___
Pytho
Amit Saha added the comment:
Updated patch
--
Added file: http://bugs.python.org/file41997/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
@haypo : Just a reminder request to please view the updated patch.
--
nosy: +Amit Saha
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
Updated patch with docs and addressed review comments.
--
Added file: http://bugs.python.org/file41961/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Changes by Amit Saha :
--
title: Add a assert_called() method for mock objects -> Add assert_called() and
assert_called_once() methods for mock objects
___
Python tracker
<http://bugs.python.org/issu
Amit Saha added the comment:
Updated patch
--
Added file: http://bugs.python.org/file41952/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
Thanks for the review. Updated patch addressing the comments.
--
___
Python tracker
<http://bugs.python.org/issue26323>
___
___
Pytho
Amit Saha added the comment:
Added assert_call_once()
--
Added file: http://bugs.python.org/file41946/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
Thanks for your comments. I am +1 to those additions and would be happy to
update the patch. Let me know if I should go ahead.
--
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
Fixed the test name
--
Added file: http://bugs.python.org/file41904/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Amit Saha added the comment:
Please take a look at the attached patch.
--
keywords: +patch
Added file: http://bugs.python.org/file41903/issue26323.patch
___
Python tracker
<http://bugs.python.org/issue26
Changes by Amit Saha :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue26323>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Amit Saha:
Would a patch for adding a assert_called() method to mocked objects be welcome
for inclusion? We do have a assert_not_called() method, so I think this may be
a good idea. Please let me know and I will work on it.
--
components: Library (Lib)
messages
Amit Saha added the comment:
Hello, I just wanted to check if I should attach the image files separately and
submit the text as a diff?
Thanks.
--
___
Python tracker
<http://bugs.python.org/issue17
Amit Saha added the comment:
I think the only change I am suggesting is the description of the ^ operator to
be something like this:
set ^ other ^ ..
Return a new set with elements from the sets which are not present in more than
one set
I do understand that this is not really what the
Amit Saha added the comment:
On some more thought, perhaps the description should be updated. Since s^t^u is
effectively (s^t)^u and hence the implementation does not violate the
definition.
--
___
Python tracker
<http://bugs.python.org/issue17
New submission from Amit Saha:
The description of the symmetric difference operation implies that it cannot be
applied to more than two sets
(http://docs.python.org/3/library/stdtypes.html#set.symmetric_difference).
However, this is certainly possible:
>>> s={1,2}
>>>
Amit Saha added the comment:
Hello Éric Araujo, thanks. Oh I thought it did support, and hence I created the
diff in exactly the way you mention.
i also went ahead and tested it by 'hg import' -ing it into a cpython clone and
i was all excited to see all my images there :-)
But,
Amit Saha added the comment:
I have tried to incorporate most of the suggestions and made some other changes
as well. Hope it looks better now.
I haven't yet split it into two separate versions.
--
Added file: http://bugs.python.org/file29654/idle.
Amit Saha added the comment:
Thanks Ezio. I am almost done with incorporating the changes suggested and will
submit a patch sometime in the next day or so.
--
___
Python tracker
<http://bugs.python.org/issue17
Amit Saha added the comment:
Hi Todd, thanks for your comments. I wanted to clarify that I intend to make
this a HOWTO, not a FAQ.
I hope that's fine?
-Amit.
--
___
Python tracker
<http://bugs.python.org/is
Amit Saha added the comment:
Hi Ezio, thanks for your review comments.
I will make the changes to the document, and also add the images in a later
patch.
I do agree that repeating package names for Python 2 and Python 3 is perhaps
not an ideal way. I am also trying to think of other ways to
Amit Saha added the comment:
Adding the patch here. I am not sure about how to add the screenshots, so I
haven't done them.
Just attached the document as a patch (note that I have placed in doc/howto).
Thanks for the comments.
--
hgrepos: +180
keywords: +patch
Added file:
Amit Saha added the comment:
Hi Todd,
I just signed the Python contributor agreement electronically.
You probably missed the link to the rSt source in my original report. Here it
is [1]. I would want this HOWTO to cover all aspects of IDLE from an user's
perspective.
I have some
New submission from Amit Saha:
I would like to propose a new HOWTO discussing IDLE from a user's perspective.
I feel that the current documentation at
http://docs.python.org/3/library/idle.html is not sufficient to be pointed to a
newbie programmer or someone who wants to teach hi
28 matches
Mail list logo