[issue46127] Missing HTML span element in exceptions.html

2021-12-20 Thread Vivek Vashist


Change by Vivek Vashist :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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



[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist


Change by Vivek Vashist :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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



[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist


Vivek Vashist  added the comment:

Thanks Eric.

--

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



[issue46137] Update/change built-in keyword type used in RE example

2021-12-20 Thread Vivek Vashist


New submission from Vivek Vashist :

Link: https://docs.python.org/3/library/re.html#writing-a-tokenizer

Noticed that built-in type() class is being used inside the Tokenizer example:

class Token(NamedTuple):
type: str
value: str
line: int
column: int

Should this attribute be updated/renamed to kind or name perhaps ? 

Happy to submit a PR once the change/replacement is confirmed.

--
assignee: docs@python
components: Documentation
messages: 408951
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Update/change built-in keyword type used in RE example
versions: Python 3.10

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



[issue46127] Missing HTML span element in exceptions.html

2021-12-19 Thread Vivek Vashist


Vivek Vashist  added the comment:

Thanks for the information Daniel.

--

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



[issue46127] Missing HTML span element in exceptions.html

2021-12-18 Thread Vivek Vashist


New submission from Vivek Vashist :

Link:
https://docs.python.org/3/library/exceptions.html#exception-hierarchy

Looking at EncodingWarning under exception-hierarchy is displaying BLACK color 
instead of RED. 

Digging into HTML looks like it is missing the appropriate span class element.

Working:

+-- BytesWarning

Broken:

+-- EncodingWarning

See attached screenshot. 

I"m not too familiar with Sphinx but I'm happy to create a PR for this issue if 
someone could point me in right direction on how to fix this.

--
assignee: docs@python
components: Documentation
files: Screen Shot 2021-12-19 at 5.29.54 pm.png
messages: 408886
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Missing HTML span element in exceptions.html
versions: Python 3.10
Added file: https://bugs.python.org/file50501/Screen Shot 2021-12-19 at 5.29.54 
pm.png

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



[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist


Change by Vivek Vashist :


--
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed

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



[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist


Vivek Vashist  added the comment:

Thanks Ken. 

You are right I'm using 3.10.0b4. I just tested it on 3.10.0 and it works fine.

>>> import types
>>> isinstance(int | str, types.UnionType)
True

--
status: pending -> open

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



[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist


Change by Vivek Vashist :


--
keywords: +patch
pull_requests: +28401
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30182

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



[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist


New submission from Vivek Vashist :

There is an error in 
https://docs.python.org/3/library/stdtypes.html#types-union example.

Looks like there is no types.UnionType

BROKEN:

>>> import types
>>> isinstance(int | str, types.UnionType)
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: module 'types' has no attribute 'UnionType'. Did you mean: 
'FunctionType'?
>>> [att for att in dir(types) if 'Union' in att]
['Union']
>>>

WORKING:

>>> import types
>>>
>>> isinstance(int | str, types.Union)
True
>>>

I'll raise a PR shortly.

--
assignee: docs@python
components: Documentation
messages: 408839
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Update/fix types.UnionType to types.Union in Built-in Types documentation
versions: Python 3.10

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



[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-17 Thread Vivek Vashist


Vivek Vashist  added the comment:

Noticed that new removeprefix() and removesuffix() functions that were added in 
3.9 have slash notation added in Built-in Types document.

str.removeprefix(prefix, /)
str.removesuffix(suffix, /)

https://docs.python.org/3/library/stdtypes.html#str.removeprefix
https://docs.python.org/3/library/stdtypes.html#str.removesuffix

--

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



[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist


Vivek Vashist  added the comment:

PR: https://github.com/python/cpython/pull/30167

Fix#1 - isidentifier() function output
Fix#2 Update the str.splitlines() function parameter
Fix#3 Removed unwanted full stop for str and bytes types double quotes examples 
Fix#4 Updated class dict from **kwarg to **kwargs

--

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



[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist


Change by Vivek Vashist :


--
keywords: +patch
pull_requests: +28384
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30167

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



[issue46113] Typos and minor fixes in built in types documentation

2021-12-17 Thread Vivek Vashist


New submission from Vivek Vashist :

Will raise a PR shortly.

--
assignee: docs@python
components: Documentation
messages: 408766
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Typos and minor fixes in built in types documentation
versions: Python 3.10

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



[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist


Vivek Vashist  added the comment:

PR: https://github.com/python/cpython/pull/30128

--

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



[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist


Change by Vivek Vashist :


--
keywords: +patch
pull_requests: +28347
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/30128

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



[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist


New submission from Vivek Vashist :

Previous issue:

https://github.com/python/cpython/pull/30113#issuecomment-994642493

As noted/pointed by Alex - I went through all the Built-in Functions and 
updated/fixed the missing parameters.

I'll raise a PR shortly.

--
assignee: docs@python
components: Documentation
messages: 408653
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Fix/update missing parameters in function signatures for Built-in 
Functions documentation.
type: behavior
versions: Python 3.10

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



[issue46079] Broken URL in tutorial

2021-12-14 Thread Vivek Vashist


New submission from Vivek Vashist :

URL: http://tycho.usno.navy.mil/cgi-bin/timer.pl is broken in the example 
https://docs.python.org/3/tutorial/stdlib.html#internet-access

> curl -v http://tycho.usno.navy.mil/cgi-bin/timer.pl
* Could not resolve host: tycho.usno.navy.mil
* Closing connection 0
curl: (6) Could not resolve host: tycho.usno.navy.mil

--
assignee: docs@python
components: Documentation
messages: 408585
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Broken URL in tutorial
versions: Python 3.10

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



[issue46059] Typo in match Statement example

2021-12-14 Thread Vivek Vashist


Vivek Vashist  added the comment:

Thanks for sorting this out Alex :)

--

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



[issue46059] Typo in match Statement example

2021-12-12 Thread Vivek Vashist


New submission from Vivek Vashist :

Possible Typo in match statement example. 
https://docs.python.org/3/tutorial/controlflow.html#match-statements


BROKEN:
> python
Python 3.10.0b4 (default, Nov 15 2021, 18:26:05) [Clang 12.0.0 
(clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from enum import Enum
>>> class Color(Enum):
... RED = 0
... GREEN = 1
... BLUE = 2
...
>>> match color:
... case Color.RED:
... print("I see red!")
... case Color.GREEN:
... print("Grass is green")
... case Color.BLUE:
... print("I'm feeling the blues :(")
...
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'color' is not defined. Did you mean: 'Color'?


WORKING:

> python
Python 3.10.0b4 (default, Nov 15 2021, 18:26:05) [Clang 12.0.0 
(clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
>>> from enum import Enum
>>> class Color(Enum):
... RED = 0
... GREEN = 1
... BLUE = 2
...
>>> match Color:
... case Color.RED:
... print("I see red!")
... case Color.GREEN:
... print("Grass is green")
... case Color.BLUE:
... print("I'm feeling the blues :(")

--
assignee: docs@python
components: Documentation
messages: 408415
nosy: docs@python, vivekvashist
priority: normal
severity: normal
status: open
title: Typo in match Statement example
versions: Python 3.10

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



[issue2943] Distutils should generate a better error message when the SDK is not installed

2016-10-26 Thread Vivek Karumudi

Vivek Karumudi added the comment:

I cannot understand the cryptic message could you please change it to something 
meaningful for "Unable to find vcvarsall.bat"

--
nosy: +vivekkarumudi

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



[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-29 Thread Vivek

Vivek added the comment:

The bug is also not reproducible in my Ubuntu 14.04 64 bit system with python 
3.4.But can be reproduced on my Windows7 and Windows8 systems.This seems to be 
a Windows specific issue.

Terry, thanks for the advice. I will take care next time :).

--

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



[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-28 Thread Vivek

Vivek added the comment:

I am trying to remove both min and max buttons while keeping the dialog box 
both modal and extensible. I added `top.attributes(-toolwindow,-1)` to 
SearchDialogBase.py(create_widget) which does what is required, but with side 
effects,i.e.,it changes the look of the border and close button on Search 
dialogs. Any suggestions?

PS: I am learning how to contribute and would like to work on this issue.

--
nosy: +viv1

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



[issue24548] Broken link in the unittest documentation

2015-07-04 Thread Vivek

Vivek added the comment:

Updated the broken link to the new link given by angad.

Attached is a patch for the same. Please review.

--
keywords: +patch
nosy: +viv1
Added file: http://bugs.python.org/file39859/mywork.patch

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



[issue22024] Add to shutil the ability to wait until files are definitely deleted

2014-08-02 Thread Vivek Balakrishnan

Vivek Balakrishnan added the comment:

With respect to msg224566, is a default timeout a good solution?

--

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



[issue22024] Add to shutil the ability to wait until files are definitely deleted

2014-08-02 Thread Vivek Balakrishnan

Vivek Balakrishnan added the comment:

Patch that adds wait parameter to shutil.rmtree.

--
keywords: +patch
nosy: +Vivek.Balakrishnan
Added file: http://bugs.python.org/file36213/shutil_wait.patch

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



[issue21106] Updated Mac folder icon

2014-04-16 Thread Vivek Jain

Vivek Jain added the comment:

No reply from Apple yet, so I'm guessing at this stage they won't be 
responding. Does anyone have any contacts at Apple they could nudge to have a 
look at this? :) The other option is to recreate something that looks like 
Apple's folder icon but isn't. There is a tutorial at 
http://www.tutorial9.net/tutorials/photoshop-tutorials/photoshop-tutorial-design-the-mac-os-x-leopard-folder/
 (I actually used the tutorial to create the current icon, but I only used step 
10).

--

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



[issue21106] Updated Mac folder icon

2014-03-30 Thread Vivek Jain

Vivek Jain added the comment:

Some searching turned up http://www.apple.com/legal/contact/#copyright. I have 
contacted Apple through the form and will keep you guys updated. Hopefully they 
will respond.

--

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



[issue21106] Updated Mac folder icon

2014-03-30 Thread Vivek Jain

Vivek Jain added the comment:

I just emailed psf-tradema...@python.org (and CC'd assignee ned.deily) 
requesting permission to use the logo.

--

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



[issue21106] Updated Mac folder icon

2014-03-30 Thread Vivek Jain

Vivek Jain added the comment:

By "Submitted the patch" I meant "Submitted the contributor agreement."

--

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



[issue21106] Updated Mac folder icon

2014-03-30 Thread Vivek Jain

Vivek Jain added the comment:

Submitted the patch, and I license the icon under the PSF contributor 
agreement. To make the icon, I used: (1) the default Apple folder icon as a 
starting point and (2) the Python icon from 
https://www.python.org/community/logos/ (but with modified colors). For (1), 
not sure if there are any copyright issues involved and if so how to get proper 
permission from Apple. I'm guessing the old icon also used the default Mac 
folder icon at the time. For (2), I defer to your expertise to find out the 
right people to contact to get it approved.

--

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



[issue21106] Updated Mac folder icon

2014-03-30 Thread Vivek Jain

New submission from Vivek Jain:

Python 3 still uses an old-style Mac folder icon in its installer 
(https://github.com/python-git/python/blob/master/Mac/Icons/Python%20Folder.icns?raw=true)
 that looks out of place on recent Macs. I created a quick replacement that is 
higher res and fits in better.

--
assignee: ronaldoussoren
components: Macintosh
files: Python Folder.icns
messages: 215200
nosy: ronaldoussoren, viveksjain
priority: normal
severity: normal
status: open
title: Updated Mac folder icon
type: enhancement
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34671/Python Folder.icns

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



[issue18770] Python insert operation on list

2013-08-17 Thread Vivek Ratnaparkhi

New submission from Vivek Ratnaparkhi:

Example 1:

mylist = ['a','b','c','d','e']
mylist.insert(len(mylist),'f')
print(mylist)

Output: ['a', 'b', 'c', 'd', 'e', 'f']

Example 2:

mylist = ['a','b','c','d','e']
mylist.insert(10,'f')
print(mylist)

Output: ['a', 'b', 'c', 'd', 'e', 'f']

Why should mylist.insert(len(mylist), x) be equivalent to 
mylist.insert(len(mylist)+10, x)

Excepted Output: Should give index error.

--
messages: 195497
nosy: vivek.ratnaparkhi
priority: normal
severity: normal
status: open
title: Python insert operation on list
type: enhancement
versions: Python 3.3

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



[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-08-20 Thread Vivek Sekhar

Changes by Vivek Sekhar :


--
nosy: +vsekhar

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



[issue8114] python 2.6.4 installation is not working for the single user mode in vista.

2010-03-10 Thread Vivek Anand

Changes by Vivek Anand :


--
components: Windows
nosy: insidevivek
severity: normal
status: open
title: python 2.6.4 installation is not working for the single user mode in 
vista.
type: behavior
versions: Python 2.6

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