[issue27601] Minor inaccuracy in hash documentation

2016-07-24 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

Originally I emphasized that this bug occurs at every py3k version since 3.2. 
For some reason version list somehow shrinked to only tow of them - 3.5 and 
3.6. I am very sorry, this is probably my fault.

--
resolution: fixed -> 
status: closed -> open
versions: +Python 3.2, Python 3.3, Python 3.4

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



[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

Conclusion made: not a bug (not a python bug at least).

--
status: open -> closed

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



[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

So, yes, unicode table seems to be a bit inconsistent. In str documentation it 
worth to emphasize that something.upper().lower() in general not equals to 
something.

--

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



[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

Note, that
>>> ord('µ')
181

there is another Mu like symbol chr(956), on which this code passes

--

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



[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin

New submission from Aleksandr Koshkin:

For some reason 
>>> 'µ'.upper().lower() == 'µ'
False

--
components: Unicode
messages: 271174
nosy: ezio.melotti, haypo, magniff
priority: normal
severity: normal
status: open
title: Something wrong with str.upper().lower() chain?
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6

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



[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin

Changes by Aleksandr Koshkin <tinysnipp...@gmail.com>:


--
status: open -> closed

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



[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

Thanks)

--
resolution:  -> fixed
versions: +Python 3.2, Python 3.3, Python 3.4, Python 3.5

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



[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin

Aleksandr Koshkin added the comment:

Moreover this example contains following code
if hash_ == -1:
   hash_ == -2
return hash_
that doesn`t make too much sense.

--

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



[issue27601] Minor inaccuracy in hash documentation

2016-07-23 Thread Aleksandr Koshkin

New submission from Aleksandr Koshkin:

https://docs.python.org/3.6/library/stdtypes.html#hashing-of-numeric-types
Look at semantics example for hash_complex function. The variable 'hash' is 
clearly misused - it is not defined or refers to builtin function 'hash'. 
Either way the example is incorrect.

--
assignee: docs@python
components: Documentation
messages: 271097
nosy: docs@python, magniff
priority: normal
severity: normal
status: open
title: Minor inaccuracy in hash documentation
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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