[issue30004] in regex-howto, improve example on grouping

2017-11-17 Thread Mandeep Bhutani

Mandeep Bhutani  added the comment:

Cristian, Serhiy: I've submitted a PR for this bug. 

Cristian: I apologize for misspelling your name in a prior post.

--

___
Python tracker 
<https://bugs.python.org/issue30004>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30004] in regex-howto, improve example on grouping

2017-11-17 Thread Mandeep Bhutani

Change by Mandeep Bhutani :


--
keywords: +patch
pull_requests: +4384
stage: needs patch -> patch review

___
Python tracker 
<https://bugs.python.org/issue30004>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30004] in regex-howto, improve example on grouping

2017-11-17 Thread Mandeep Bhutani

Mandeep Bhutani  added the comment:

Serhiy, Christian: I'll submit a PR for this later today.

--

___
Python tracker 
<https://bugs.python.org/issue30004>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30940] Documentation for round() is incorrect.

2017-07-23 Thread Mandeep Singh

Changes by Mandeep Singh :


--
pull_requests: +2876

___
Python tracker 
<http://bugs.python.org/issue30940>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30935] document the new behavior of get_event_loop() in Python 3.6

2017-07-16 Thread Mandeep Singh

Changes by Mandeep Singh :


--
pull_requests: +2791

___
Python tracker 
<http://bugs.python.org/issue30935>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30004] in regex-howto, improve example on grouping

2017-04-27 Thread Mandeep Bhutani

Mandeep Bhutani added the comment:

Looks like both examples need a closing \b. Is this being worked on or should I 
submit a PR?

--
nosy: +mandeepb

___
Python tracker 
<http://bugs.python.org/issue30004>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30045] Bad parameter name in re.escape()

2017-04-12 Thread Mandeep Bhutani

Mandeep Bhutani added the comment:

I agree that pattern seems right. However I think that the parameter in the 
docs should be changed from string to pattern for consistency purposes.

--
nosy: +mandeepb

___
Python tracker 
<http://bugs.python.org/issue30045>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2017-03-31 Thread Mandeep Singh

Changes by Mandeep Singh :


--
pull_requests: +1120

___
Python tracker 
<http://bugs.python.org/issue23033>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29862] Fix grammar typo in importlib.reload() exception

2017-03-23 Thread Mandeep

Mandeep added the comment:

Hi Brett, I'd like to take this on as my first contribution to CPython if 
that's okay with you.

--
nosy: +mandeepb

___
Python tracker 
<http://bugs.python.org/issue29862>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26587] Possible duplicate entries in sys.path if .pth files are used with zip's

2016-03-19 Thread Mandeep Singh Grang

Mandeep Singh Grang added the comment:

Here is a testcase to reproduce the issue:

> cat test.py
import site, sys
site.addsitedir('/foo/bar')
print (sys.path)

This prints just a single instance of '/foo/bar':

['/local/mnt/workspace/python/tst', '/foo/bar', '/usr/local/lib/python36.zip', 
'/local/mnt/workspace/python/src/Lib', 
'/local/mnt/workspace/python/src/Lib/plat-linux', 
'/local/mnt/workspace/python/build/build/lib.linux-x86_64-3.6-pydebug']

Now if we explicitly set PYTHONPATH to include '/foo/bar'
> export PYTHONPATH=/foo/bar

and then run test.py here is the output:

['/local/mnt/workspace/python/tst', '/foo/bar', '/usr/local/lib/python36.zip', 
'/local/mnt/workspace/python/src/Lib', 
'/local/mnt/workspace/python/src/Lib/plat-linux', 
'/local/mnt/workspace/python/build/build/lib.linux-x86_64-3.6-pydebug', 
'/foo/bar']

We see that there are duplicate entries for '/foo/bar'.

As Wolfgang rightly said the issue comes from the check for
"if os.path.isdir(dir)" inside _init_pathinfo() in site.py.
On removing this check I no longer see the duplicate entry for '/foo/bar'.

But since this is the first bug I am looking at I am not sure of the 
implications of removing this check. Can someone please confirm that what I see 
is indeed a failing test case, or is this the intended behavior?

Thanks,
Mandeep

--
nosy: +Mandeep Singh Grang

___
Python tracker 
<http://bugs.python.org/issue26587>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24805] Python installer having problem in installing Python for all users in Windows

2015-10-28 Thread mandeep

mandeep added the comment:

Team,

Please let me know , if there is a workaround to this.

--

___
Python tracker 
<http://bugs.python.org/issue24805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24805] Python installer having problem in installing Python for all users in Windows

2015-10-27 Thread mandeep

mandeep added the comment:

But if there is a machine which  already has Python. If we remove python 
manually and try the script .

The python folder is created.
I can see python in start- all programs.
But PYTHON its missing from control panel. It does not allow me to uninstall.

--

___
Python tracker 
<http://bugs.python.org/issue24805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24805] Python installer having problem in installing Python for all users in Windows

2015-10-27 Thread mandeep

mandeep added the comment:

It works when I try it on a clean machine.

--
nosy: +manddy221

___
Python tracker 
<http://bugs.python.org/issue24805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com