[issue16761] Fix int(base=X)

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I have not noticed your advice before I did commit (it took me a lot of time). Should I now revert my changes to 2.7, 3.2 and 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue16640] Less code under lock in sched.scheduler

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This heapq.heappop does applied to a copy of self._queue. Copying done under a lock. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16640

[issue16772] int() accepts float number base

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Serhiy: can you clarify this remark? Where do you see the OverflowError? The current exception and message look fine to me, so maybe I'm misunderstanding what you're talking about: Sorry, I have been confused (and confuse you) by the variety of PyLong_As

[issue16640] Less code under lock in sched.scheduler

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps it was inherited from Python 2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16640 ___ ___ Python

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16165 ___ ___ Python-bugs

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, Chris. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16645 ___ ___ Python-bugs-list mailing list

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, Chris. I have opened too many browser tabs. ;) -- nosy: -chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16165

[issue16642] Mention new kwargs named tuple parameter in sched module

2012-12-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What anyone can say about this doc changes? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16642

[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And if os.open were supplied in os.py: @inspect.override_string_representation('mode', 'os.O_CREAT | os.O_RDWR') def open(file, flags, mode=0o777, *, dir_fd=None): Other use case is a sentinel default. foo(arg={}) looks better than foo

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16809 ___ ___ Python

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue16074. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16812

[issue13775] Access Denied message on symlink creation misleading for an existing file/directory target.

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue16074. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13775

[issue16074] bad error message in os.rename

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As I see, now 3.4 behavior differs from 3.3 behavior. os.link('non-existent-name', 'new-name') Traceback (most recent call last): File stdin, line 1, in module FileNotFoundError: [Errno 2] No such file or directory: 'non-existent-name' os.symlink('long

[issue16810] inconsistency in weekday

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't see a difference. $ ./python -c 'import time; print(time.localtime())' time.struct_time(tm_year=2012, tm_mon=12, tm_mday=29, tm_hour=19, tm_min=36, tm_sec=35, tm_wday=5, tm_yday=364, tm_isdst=0) $ ./python -c 'import datetime; print

[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or something like that), and display the given signature instead of the introspected one. Looks good for me. -- ___ Python tracker rep

[issue16642] Mention new kwargs named tuple parameter in sched module

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16642

[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16641

[issue16165] sched.scheduler.run() blocks scheduler

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16165

[issue16640] Less code under lock in sched.scheduler

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16640

[issue16485] FD leaks in aifc module

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - works for me stage: patch review - committed/rejected status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16485

[issue16486] Add context manager support to aifc module

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added the test that the file was actually closed using external file (as in test_close()). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep

[issue16485] FD leaks in aifc module

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: works for me - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16485

[issue16694] Add pure Python operator module

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16694

[issue16320] Establish order in bytes/string dependencies

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16320

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12004

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16688

[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you for a patch, Matthew. I hope to see more your patches. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue15861] ttk.Treeview unmatched open brace in list

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15861

[issue16686] audioop overflow issues

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16686

[issue16550] pickletools.py treats 32bit lengths as signed, but pickle.py as unsigned

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16550

[issue16601] Restarting iteration over tarfile continues from where it left off.

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16601

[issue16659] Pure Python implementation of random

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16659

[issue16674] Faster getrandbits() for small integers

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16674

[issue11159] Sax parser crashes if given unicode file name

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11159

[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16638

[issue16624] subprocess.check_output should allow specifying stdin as a string

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16624

[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16630

[issue16569] Preventing errors of simultaneous access in zipfile

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16569

[issue11344] Add os.path.splitpath(path) function

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11344

[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15989

[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9720

[issue8745] zipimport is a bit slow

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8745

[issue15490] Correct __sizeof__ support for StringIO

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15490

[issue10395] new os.path function to extract common prefix based on path components

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10395

[issue6975] symlinks incorrectly resolved on Linux

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975

[issue15999] Using new 'bool' format character

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15999

[issue6083] Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6083

[issue16061] performance regression in string replace for 3.3

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16061

[issue15475] Correct __sizeof__ support for itertools

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15475

[issue13968] Support recursive globs

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968

[issue15696] Correct __sizeof__ support for mmap

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15696

[issue16819] IDLE b method completion incorrect

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Same for u'' on 2.7. Completion list doesn't contain isdecimal and isnumeric. -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue16819] IDLE b method completion incorrect

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes this issue. It is applicable for all version, except uU can be removed from string of string prefix characters in 3.2. -- nosy: +kbk stage: - patch review ___ Python tracker rep

[issue16819] IDLE b method completion incorrect

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file28491/idle_bytes_completion.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16819

[issue14373] C implementation of functools.lru_cache

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Alexey, as I see, you have missed some Antoine's comments (and my comments about whitespaces). Please, be more careful. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14373

[issue16741] `int()`, `float()`, etc think python strings are null-terminated

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16741

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- Removed message: http://bugs.python.org/msg178416 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16645

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16645

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1470548

[issue15861] ttk.Treeview unmatched open brace in list

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Have you reviewed the patch? Is it good? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15861 ___ ___ Python

[issue8745] zipimport is a bit slow

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Catalin, are you going to continue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8745 ___ ___ Python-bugs

[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What variant of patches should I commit? Or prepare other? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9720

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I going speed up other cases for replace(), but for now I have only this patch. Is it good? Should I apply it to 3.3 as there is a 3.3 regression? -- keywords: +3.3regression ___ Python tracker rep

[issue16773] int() half-accepts UserString

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is definitely non-trivial. 1-argument int() works with UserString because __int__() method is defined for UserString (as __float__(), as __complex__()). I.e. UserString looks as number-like for it. Unfortunately there is no way to make a class

[issue11344] Add os.path.splitpath(path) function

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please review. This function is very important for many applications (and it hard to get right). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11344

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As __ap__ says, it would be nice to have a comment. Oh, I thought I had already done this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16061

[issue6975] symlinks incorrectly resolved on Linux

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, how about this mosquito? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___ Python-bugs

[issue16824] typo in test

2012-12-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16824

[issue16824] typo in test

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you, Stefan. I will be glad to see new bugs which you will found with Cython. -- resolution: - fixed stage: - committed/rejected status: open - closed type: compile error - behavior ___ Python

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The fileno parameter was added in the changeset 8e062e572ea4. It was mentioned in comments at the top of Modules/socketmodule.c, but not in the documentation or docstrings (nor for _socket.socket, nor for socket.socket). -- assignee: - docs@python

[issue16320] Establish order in bytes/string dependencies

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The cleanup of BYTESTR_DEPS and UNICODE_DEPS seems reasonable, but can you explain the rationale behind removing the additional dependencies on formatter_unicode.c? This question already was asked by Antoine on IRC. Because now Python/formatter_unicode.c

[issue16061] performance regression in string replace for 3.3

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: str_replace_1char.patch: why not implementing replace_1char_inplace() in stringlib, with one version per character type (UCS1, UCS2, UCS4)? Because there are no benefits to do it. All three versions (UCS1, UCS2, and UCS4) have no any common code. The best

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It has at least one potential use. On Windows socket.detach() returns a socket handle but there is no documented way to close it -- os.close() will not work. The only way to close it that I can see (without resorting to ctypes) is with something like

[issue16659] Pure Python implementation of random

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't want to make a decision on the inclusion of this code. However, I will undertake to maintain it. I'm going to fix one algorithmic bug in current implementation and add C implementations for some methods which significantly slowed in Python

[issue16651] Find out what stdlib modules lack a pure Python implementation

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is one additional benefit. I have already implemented audioop module in Python, and due to this it has found many bugs in the current C implementation (issue16686). -- ___ Python tracker rep

[issue16802] fileno argument to socket.socket() undocumented

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed. In any case, if this idiom is widely used, we can't hide this parameter and should document it (and perhaps document this idiom). If BDFL not want this parameter was made public, he would not have added it as an keyword argument. However, may

[issue9645] PEP 383: os.pathconf() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was fixed in 3.3 (the complex solution is not backportable), therefore this is 3.2 only issue. -- nosy: +haypo, serhiy.storchaka stage: - patch review versions: -Python 3.1 ___ Python tracker rep

[issue9644] PEP 383: os.statvfs() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was fixed in 3.3 (the complex solution is not backportable), therefore this is 3.2 only issue. -- nosy: +haypo, serhiy.storchaka stage: - patch review versions: -Python 3.1 ___ Python tracker rep

[issue9644] PEP 383: os.statvfs() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: At first sight the patch looks good, but test needed. -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9644

[issue9645] PEP 383: os.pathconf() does not accept surrogateescape arguments

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please provide a full patch, doesn't split it on parts which should be applied one over other. Test needed. -- stage: patch review - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was implemented in issue11939 for Python 3.4 only. -- nosy: +brian.curtin, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10657

[issue16828] bz2 error on compression of empty string

2012-12-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - patch review versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16828

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2013-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3738d270c54a by Brian Curtin in branch 'default': st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't install Tcl/Tk 8.6 yet, but looks as pack info call returns a new type of Tcl data (perhaps DictType) which doesn't detected in FromObj(). -- ___ Python tracker rep...@bugs.python.org http

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2013-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now the code is wrong on non-Windows without PY_LONG_LONG and with signed st_dev. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11939

[issue16819] IDLE b method completion incorrect

2013-01-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16819

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The simplest fix probably is just wrap self.tk.call() with str() (I have not tested it yet). However the problem is more serious (tkinter doesn't support fully even 8.5 and subtle bugs are possible) and I'll spend some more time on its research

[issue16320] Establish order in bytes/string dependencies

2013-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'll wait for some time, perhaps a Christian wants to say something. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16320

[issue16541] tk_setPalette doesn't accept keyword parameters

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16541

[issue16829] IDLE on POSIX can't print filenames with spaces

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But then will be problems with filenames containing . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16829

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated for current tip. -- Added file: http://bugs.python.org/file28527/glob_recursive_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968

[issue13968] Support recursive globs

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28213/glob_recursive.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13968

[issue16761] Fix int(base=X)

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16761

[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16630

[issue16694] Add pure Python operator module

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: v8 LGTM (except some trailing whitespaces). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16694

[issue16840] Tkinter doesn't support large integers

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: A long time Tcl got support first 64-bit integers, and then arbitrary size integers. Python also supports arbitrary size integers. However Tkinter supports only C long integers. For example, on 32-bit platform: import tkinter t = tkinter.Tk() t.tk.call

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: st_dev field of stat() result was set as signed long or long long, but now it is unsigned long on Windows (see issue11939). The proposed patch uses appropriate conversion for it. -- components: Extension Modules, Windows files

[issue16841] Set st_dev on Windows as unsigned long

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16841

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15239

<    1   2   3   4   5   6   7   8   9   10   >