Kushal Das added the comment:
New changeset 6faad355db6c2bd4a0ade7868f245b42c04f5337 by Kushal Das (Ned
Batchelder) in branch 'master':
bpo-36908: 'This module is always available' isn't helpful. (#13297)
https://github.com/python/cpython/commit/6faad355db6c2bd4a0ade7868f245b42c04f5337
Kushal Das added the comment:
In future we should do the similar change for any module. This will be helpful
for new beginners.
--
nosy: +kushal.das
___
Python tracker
<https://bugs.python.org/issue36
Kushal Das added the comment:
New changeset b9b08cd948de97d756a199b60becce8397a8c882 by Kushal Das (Zackery
Spytz) in branch 'master':
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)
https://github.com/python/cpython/commit
Kushal Das added the comment:
New changeset 1de4705d00168afa8c5b6741af02e21fc609af58 by Kushal Das in branch
'master':
bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767)
https://github.com/python/cpython/commit/1de4705d00168afa8c5b6741af02e21fc609af58
Changes by Kushal Das <m...@kushaldas.in>:
--
pull_requests: +1848
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30442>
___
_
New submission from Kushal Das:
test test_xml_etree failed -- Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_xml_etree.py", line
1553, in test_bug_xmltoolkit63
self.assertEqual(sys.getrefcount(None), count)
AssertionError: 522146 != 522
Kushal Das added the comment:
Thanks for filing the bug, fixed now. Thank you Berker for the quick patch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.pytho
Kushal Das added the comment:
New changeset 9bcf81da1436468c3c5e500ae36678a2ad675e32 by Kushal Das in branch
'3.6':
[3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746)
https://github.com/python/cpython/commit/9bcf81da1436468c3c5e500ae36678a2ad675e32
Kushal Das added the comment:
New changeset 8af0a214be7c0c921ba5ce5c11043dd5b5da9211 by Kushal Das in branch
'3.5':
[3.5] bpo-30376: Update outdated WindowObject references (GH-1630) (#1747)
https://github.com/python/cpython/commit/8af0a214be7c0c921ba5ce5c11043dd5b5da9211
Changes by Kushal Das <m...@kushaldas.in>:
--
pull_requests: +1835
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30376>
___
_
Changes by Kushal Das <m...@kushaldas.in>:
--
pull_requests: +1836
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30376>
___
_
Kushal Das added the comment:
New changeset 93fc20b73eea3da0b6305aaee951e5dd22d5c408 by Kushal Das (Berker
Peksag) in branch 'master':
bpo-30376: Update outdated WindowObject references (#1630)
https://github.com/python/cpython/commit/93fc20b73eea3da0b6305aaee951e5dd22d5c408
--
nosy
Changes by Kushal Das <m...@kushaldas.in>:
--
pull_requests: +1828
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30431>
___
_
Kushal Das added the comment:
I am picking this up.
--
assignee: -> kushal.das
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.or
Changes by Kushal Das <m...@kushaldas.in>:
--
nosy: +kushal.das
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30431>
___
__
Kushal Das added the comment:
Now I understood, thanks. I think I should have more coffee before commenting
on bugs :)
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Kushal Das added the comment:
>From a checkout in last week.
Python 3.7.0a0 (default:c163a76163f7, Jan 15 2017, 22:20:24)
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Kushal Das added the comment:
The patch looks good to me.
--
nosy: +kushal.das
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Kushal Das added the comment:
This following one line change should fix this one.
--
keywords: +patch
nosy: +kushal.das
Added file: http://bugs.python.org/file45504/issue28713.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.p
Kushal Das added the comment:
The patch looks good to me. This can be applied, and tests are running fine
with the patch.
https://ci.centos.org/job/cPython-build-patch/25/console
--
nosy: +kushal.das
___
Python tracker <rep...@bugs.python.
Kushal Das added the comment:
The patch can be applied, and build successfully. I have ran the current test
suite[1]. The two failed tests do not seem to be have anything to do with this
patch (read the end of the consoleText output). I think the thing remaining is
the new test cases
Kushal Das added the comment:
The NEWS file got a typo. Thanks for noticing that.
This change did require a lot of updates to the tests.
If rest of the people agrees to revert this change, then we should go ahead and
do it. Just wondering if Raymond has anything to add
Kushal Das added the comment:
Hey Raymond, I am uploading the patch which I almost committed along with whats
new update :)
I am also reassigning the ticket to you so that you can decide the next steps.
--
assignee: kushal.das -> rhettinger
Added file: http://bugs.python.org/file43
Kushal Das added the comment:
Uploading the new patch with a new test case for the same.
--
Added file: http://bugs.python.org/file43151/issue25548v2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Kushal Das added the comment:
Attaching the patch for the same. Had to update the test cases for the
following tests to have this behavior as expected.
test_functools
test_cmd_line_script
test_ctypes
test_defaultdict
test_descr
test_descrtut
test_doctest
test_generators
test_genexps
Kushal Das added the comment:
Adds more lines to explain the behavior of socket.fileno() in case of error.
--
keywords: +patch
nosy: +kushal.das
Added file: http://bugs.python.org/file43103/issue19234.patch
___
Python tracker <rep...@bugs.python.
Kushal Das added the comment:
Fixed in https://hg.python.org/cpython/rev/b110dd3d6cea
--
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.or
Kushal Das added the comment:
Go ahead and update the patch for assert_called_once and related tests.
--
nosy: +kushal.das
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Kushal Das added the comment:
The patch looks good to me. Commit :)
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19006>
___
___
Kushal Das added the comment:
It is a typing mistake many people make. We just want to catch those as
otherwise mock will silently pass those.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21238
New submission from Kushal Das:
OpenSSL version openssl-1.0.1k-6.fc22.x86_64
ssl.OPENSSL_VERSION
'OpenSSL 1.0.1k-fips 8 Jan 2015'
==
ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests)
Connecting to an SSLv23 server
Kushal Das added the comment:
Updated patch with the suggestions from Berker.
--
Added file: http://bugs.python.org/file38989/issue21271v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21271
Kushal Das added the comment:
A patch without NEWS and whatsnew update. I will fill them before commit.
The reset_mock function now has two parameters, return_value, and side_effect.
Passing True value to any of these will reset that attribute.
--
keywords: +patch
Added file: http
Kushal Das added the comment:
Working on it. Will submit the patch tomorrow.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21271
___
___
Python
Kushal Das added the comment:
I will do that. New job is taking time.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21600
___
___
Python-bugs
Kushal Das added the comment:
Uploading the second version of the patch.
--
Added file: http://bugs.python.org/file36630/issue21270_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21270
Kushal Das added the comment:
Forgot to attach the patch. Includes NEWS entry. Overriden methods count() and
index().
--
keywords: +patch
Added file: http://bugs.python.org/file36581/issue21270.patch
___
Python tracker rep...@bugs.python.org
http
Kushal Das added the comment:
To start with I am overriding count and index method. Do you think this is
enough?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21270
Kushal Das added the comment:
New patch with test and news entry.
--
Added file: http://bugs.python.org/file34998/issue21256_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21256
Kushal Das added the comment:
Patch with docs and test changes.
--
keywords: +patch
Added file: http://bugs.python.org/file34912/issue21238.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21238
Kushal Das added the comment:
Patch uploaded for the same.
--
keywords: +patch
Added file: http://bugs.python.org/file34914/issue21256.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21256
Kushal Das added the comment:
Patch with required changes. Code, docs, test and Misc/NEWS entry.
--
keywords: +patch
Added file: http://bugs.python.org/file34921/issue21262.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Kushal Das added the comment:
New patch from a clean repo, with changed opcode.h
--
Added file: http://bugs.python.org/file34872/issue17861_v5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
New patchset with changes made as suggested.
--
Added file: http://bugs.python.org/file34881/issue21222_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21222
Kushal Das added the comment:
New patch with changes as suggested by Brett.
--
Added file: http://bugs.python.org/file34883/issue17861_v6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
Another patch with docs update and one line code comment.
--
Added file: http://bugs.python.org/file34815/issue21169_v7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21169
Kushal Das added the comment:
New version of the patch which can be successfully applied to tip.
--
Added file: http://bugs.python.org/file34817/issue17498_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17498
Kushal Das added the comment:
Updated patch with builtins module.
--
versions: +Python 3.4 -Python 3.5
Added file: http://bugs.python.org/file34825/issue17660_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17660
Kushal Das added the comment:
New patch with fix in proper place for side_effect for functions (includes test
case).
--
versions: +Python 3.3 -Python 3.5
Added file: http://bugs.python.org/file34838/issue17826_v3.patch
___
Python tracker rep
Kushal Das added the comment:
New patch with .hgtouch file details.
--
versions: +Python 3.4 -Python 3.5
Added file: http://bugs.python.org/file34842/issue17861_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
New submission from Kushal Das:
from unittest import mock
def b():
... print(hello)
...
q = mock.create_autospec(b, name=a)
Traceback (most recent call last):
File stdin, line 1, in module
File /home/kdas/code/python/cpython3/Lib/unittest/mock.py, line 2092, in
create_autospec
Kushal Das added the comment:
Fix for the issue with test case. We are checking name in keyword arguments, if
found replace _name with it and delete it from keyword arguments.
--
keywords: +patch
Added file: http://bugs.python.org/file34854/issue21222.patch
Kushal Das added the comment:
New patch with proper changesets.
--
Added file: http://bugs.python.org/file34855/issue17861_v4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
You should have a look at the following guides:
https://docs.python.org/devguide/docquality.html
https://docs.python.org/devguide/patch.html
--
nosy: +kushal.das
___
Python tracker rep...@bugs.python.org
http
Kushal Das added the comment:
Here is a new patch which uses stream.encoding instead getting the encoding
from the locale as suggested by David. It also contains the new test.
--
Added file: http://bugs.python.org/file34807/issue21169_v5.patch
Kushal Das added the comment:
New patchset with updated test, now sending ascii stream into the call as
argument.
--
Added file: http://bugs.python.org/file34810/issue21169_v6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Kushal Das added the comment:
Updated patch with discovering of currect locale and corresponding test case.
--
Added file: http://bugs.python.org/file34775/issue21169_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Kushal Das added the comment:
New patch with actual test case :)
--
Added file: http://bugs.python.org/file34776/issue21169_v4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21169
Kushal Das added the comment:
Here is a patch which stops the breakage in getpass for python3.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file34766/issue21169.patch
___
Python tracker rep...@bugs.python.org
http
Kushal Das added the comment:
Version 2 of the patch with a test update.
--
Added file: http://bugs.python.org/file34767/issue21169_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21169
Kushal Das added the comment:
Here is a patch which fixes the documentation for unittest.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file34772/issue21170.patch
___
Python tracker rep...@bugs.python.org
http
Kushal Das added the comment:
It is not a valid JSON. You may want to validate it against http://jsonlint.com/
What you have inside the string (single quotes) is the JSON representation but
not the string representation which json.loads is supposed to parse.
--
nosy: +kushaldas
Kushal Das added the comment:
Will submit a patch for this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20842
___
___
Python
Kushal Das added the comment:
i will submit a patch tomorrow.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19716
Kushal Das added the comment:
Patch to check no change in file content after pathlib.touch().
--
keywords: +patch
Added file: http://bugs.python.org/file32792/issue19716_v1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Kushal Das added the comment:
Looking at the code, it seems to be a sqlite issue.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19167
Kushal Das added the comment:
I have been able to get the logical line details (start of it), now working on
to print the required lines.
The current way of showing source lines removes any indentation, but to show
all the physical lines (related to the logical line) one should show
Kushal Das added the comment:
I am interested to submit a patch on this. Should I move the implementation to
os module and made the multiprocessing one as an alias ? or keep it in both
places ?
I prefer the idea of returning -1 instead of the current way of raising
NotImplementedError
Kushal Das added the comment:
As we discussed on #python-dev channel this new patch includes the script in
Tools/scripts/generate_opcode_h.py and it also contains the required
Makefile.pre.in change so that it gets auto(re)generated at compile time if
required.
--
keywords: +patch
Kushal Das added the comment:
Version 2 of the patchset edited as per review.
--
Added file: http://bugs.python.org/file30066/issue17861_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
In Objects/typeobject.c we have subtype_setdict function, in which at line 1830
we have PyDict_Check() macro call, which checks if it is a subclass of dict or
not.
The definition is in Include/dictobject.h
#define PyDict_Check(op
Kushal Das added the comment:
Here is a simple script which prints the opcode.h in console. We can redirect
it as required.
--
nosy: +kushaldas
Added file: http://bugs.python.org/file30045/generate_opcode_h.py
___
Python tracker rep
Kushal Das added the comment:
Second version of the script with the fix for HAVE_ARGUMENT
--
Added file: http://bugs.python.org/file30046/generate_opcode_h.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
Third revision with fixed empty spaces at the end of the lines.
--
Added file: http://bugs.python.org/file30048/generate_opcode_h.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17861
Kushal Das added the comment:
Version 2 of the patch, with typo fixed also one more addition test to check
callable side effect in create_autospec.
--
Added file: http://bugs.python.org/file30055/issue17826_v2.patch
___
Python tracker rep
Kushal Das added the comment:
Bytearray encoding and decoding
--
Added file: http://bugs.python.org/file30041/issue17842_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17842
Kushal Das added the comment:
A patch with tests update to use memoryview in base64 module.
--
keywords: +patch
Added file: http://bugs.python.org/file30022/issue17839_v1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Kushal Das added the comment:
Working on this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17826
___
___
Python-bugs-list
Kushal Das added the comment:
Patch along with a test for the same.
--
keywords: +patch
Added file: http://bugs.python.org/file30025/issue17826_v1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17826
Kushal Das added the comment:
All the decoders create bytes as result, not sure how to assume if the result
should be bytes or bytearray.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17842
Kushal Das added the comment:
Patch with bytearray based tests.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file30012/issue17842_v1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17842
Changes by Kushal Das kushal...@gmail.com:
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17843
___
___
Python-bugs-list
Kushal Das added the comment:
Working on this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17839
___
___
Python-bugs-list
Kushal Das added the comment:
Working on this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17660
___
___
Python-bugs-list
Kushal Das added the comment:
Initial patchset along with documentation and tests update.
--
keywords: +patch
Added file: http://bugs.python.org/file29731/issue17660.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17660
Kushal Das added the comment:
Working on a patch for this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13510
___
___
Python
Kushal Das added the comment:
Here is a patch along with test case update which can be cleanly applied into
default.
--
nosy: +kushaldas
Added file: http://bugs.python.org/file29507/issue5713.patch
___
Python tracker rep...@bugs.python.org
http
Kushal Das added the comment:
Working on a patch for this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17498
___
___
Python-bugs-list mailing
Kushal Das added the comment:
The following patch adds a _rset method which catches any
SMTPServerDisconnected exception, also includes the corresponding test and
test_421_from_mail_cmd assert statement typo fix.
--
keywords: +patch
Added file: http://bugs.python.org/file29521
Kushal Das added the comment:
Working on a patch for this.
--
nosy: +kushaldas
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17358
___
___
Python
Kushal Das added the comment:
Can not reproduce it :(
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17358
___
___
Python-bugs-list mailing list
Kushal Das added the comment:
On Fedora 17, x86_64
./python
Python 3.4.0a0 (default:fb50eb64e097, Feb 22 2013, 11:43:18)
[GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux
Type help, copyright, credits or license for more information.
import resource
[92450 refs, 32257 blocks
Changes by Kushal Das kushal...@gmail.com:
Added file: http://bugs.python.org/file29313/issue15465v4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15465
Kushal Das added the comment:
version 4 of the patch contains a new column in table as Bytes as suggested by
Ezio Melotti
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15465
Kushal Das added the comment:
Attached version 5 of the patch with changes based on suggestions of ncoghlan
--
Added file: http://bugs.python.org/file29321/issue15465v5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15465
Kushal Das added the comment:
Adding the updated patch with changes as suggested in the review
--
Added file: http://bugs.python.org/file29260/issue15465v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15465
Kushal Das added the comment:
version 3 of the patch where sys.hexversion table is moved and now a link to
api and abi versioning given.
--
Added file: http://bugs.python.org/file29277/issue15465v3.patch
___
Python tracker rep...@bugs.python.org
Kushal Das added the comment:
Attaching patch with the initial documentation of the macros. It also fixes the
typo in the title of stable API section.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file29258/issue15465.patch
Kushal Das added the comment:
Following patch solves the problem.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file29154/issue17256.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17256
Kushal Das added the comment:
Adding a patch to fix this issue.
--
keywords: +patch
nosy: +kushaldas
Added file: http://bugs.python.org/file29155/issue17227.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17227
1 - 100 of 131 matches
Mail list logo