[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10576 ___ ___ Python-bugs

[issue10667] collections.Counter object in C

2010-12-10 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10667 ___ ___ Python-bugs

[issue10740] sqlite3 module should allow DDL statements in transactions

2010-12-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10740 ___ ___ Python-bugs

[issue11067] Py_LIMITED_API breaks most PySomething_Check() functions

2011-02-04 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11067 ___ ___ Python-bugs

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-20 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: After looking in #4352 deep I figured out what true separation of filesystem default encoding and utf8 python namespace is really too complicated. For example import call stack chain converts module name from utf-8 to filesystem

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8611 ___ ___ Python-bugs

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-05-23 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: I'm skeptical about surrogates particularly for that problem. From my perspective the solution is only to use native unicode support for windows file operation functions. Conversions utf-8 - mbcs - utf8 will loose encoding information

[issue9609] make cProfile multi-stack aware

2010-09-09 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9609 ___ ___ Python-bugs-list

[issue9622] Allow to set profile/trace function globally

2010-09-09 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9622 ___ ___ Python-bugs-list

[issue10194] Add gc.remap() function to the gc module.

2010-10-25 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10194 ___ ___ Python-bugs

[issue2919] Merge profile/cProfile in 3.0

2010-03-22 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___ ___ Python-bugs-list

[issue7443] test.support.unlink issue on Windows platform

2010-04-01 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Florent, sorry. I have no Windows workstation now, so I cannot follow this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443

[issue850728] Semaphore.acquire() timeout parameter

2010-04-15 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue850728 ___ ___ Python-bugs

[issue7443] test.support.unlink issue on Windows platform

2009-12-05 Thread Andrew Svetlov
New submission from Andrew Svetlov andrew.svet...@gmail.com: On Windows there are tiny delay between call to os.unlink and real file removing. Periodically it leads to unittest crashes in cases like this: test.support.unlink(filename) f = open(filename, 'wb') Proposed solution: wait

[issue7443] test.support.unlink issue on Windows platform

2009-12-05 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: patch for python 2 is attached -- Added file: http://bugs.python.org/file15455/python2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443

[issue7443] test.support.unlink issue on Windows platform

2009-12-05 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Problem can be reproduced with several run of test_bufio in both python versions. trunk contains more tests (+1 test case) so it's easer to catch 'access denied' exception

[issue7443] test.support.unlink issue on Windows platform

2009-12-05 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: You right, problem is not in os.unlink (Windows call DeleteFile) itself. I have TortoiseSVN (very popular Explorer extension to work with Subversion) installed. This tool run TSVNCache.exe process to update own data in background

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2009-12-05 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Jason, as I see you implemented os.samefile (actually ntpath.samefile) but os.sameopenfile is still not implemented. Looks like it's easy to do: while GetFinalPathNameByHandle already accept file handle you can use CRT function

[issue5985] Implement os.path.samefile and os.path.sameopenfile on Windows

2009-12-05 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Please note: patch for http://bugs.python.org/issue1578269 is already has implementation for samefile. It's easer to add sameopenfile is same way than maintain two different approaches. Unfortunately solution will work only starting

[issue6727] ImportError when package is symlinked on Windows

2009-12-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___ ___ Python-bugs-list

[issue7316] Add a timeout functionality to common locking operations

2009-12-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7316 ___ ___ Python-bugs-list

[issue5596] memory leaks in py3k

2009-12-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5596 ___ ___ Python-bugs-list

[issue7566] Add ntpath.sameopenfile support for Windows

2009-12-29 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7566 ___ ___ Python-bugs-list

[issue3080] Full unicode import system

2011-03-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3080 ___ ___ Python-bugs-list

[issue3080] Full unicode import system

2011-03-20 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: As I see Victor has dropped OS/2 support from Python/import.c Perhaps file Python/dynload_os2.c should be removed also. Not sure about other dynload_* files. -- ___ Python tracker rep

[issue3080] Full unicode import system

2011-03-21 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Understood. Sorry. I thought Python support only Windows and posix (Linux, BSD, MacOSX etc) systems now, all other OSes are not maintained. Anyway please don't care about

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov -Christophe Simonis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715

[issue6715] xz compressor support

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +Christophe Simonis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python

[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11236 ___ ___ Python-bugs

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2011-03-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7839 ___ ___ Python-bugs-list

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-24 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___ ___ Python-bugs-list

[issue7443] test.support.unlink issue on Windows platform

2011-03-25 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: As I can see cygwin's unlink_nt uses Nt* functions family (NtSetInformationFile etc) which are part of Windows DDK. Do you like to use them or prefer SDK ones (say SetFileInformationByHandle)? In second case python unlink can borrow

[issue7443] test.support.unlink issue on Windows platform

2011-03-25 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443

[issue7443] test.support.unlink issue on Windows platform

2011-04-02 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: FYI: implementation of unlink already has multiple calls for unicode version to process symlinks. Ansi version is the simple DeleteFileA call. Now we have different behavior for unicode and ansi variants as I can see. Now I'm working

[issue11703] Bug in python = 2.7 with urllib2 fragment

2011-04-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11703 ___ ___ Python-bugs

[issue16580] Add examples to int.to_bytres and int.from_bytes

2012-12-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Your example is comprehensive but not simple and obvious. I think better to keep it out of doc. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16580

[issue16633] os.environ updates only one copy of env vars under Windows (GetEnvironmentVariable vs. getenv)

2012-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think the problem is: windows process can contain single shared win32 API and several CRT copies — one for Visual Studio 2008, other for VS 2010 etc. We cannot know which CRT version is used by particular extension, so I doubt we can initialize it properly

[issue16495] bytes_decode() unnecessarily examines encoding

2012-12-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16495 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16598] Docs: double newlines printed in some file iteration examples

2012-12-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed, except whatsnew files. That ones should be untouched from my perspective — the issue is not bugfix but improvement and I see no reason why we need to backedit whatsnew for old outdated versions. Changesetes fed7306f26ce, 268ead8ae46b, 9e4b003a4d7a

[issue16648] stdib should use new exception types from PEP 3151

2012-12-08 Thread Andrew Svetlov
New submission from Andrew Svetlov: http://www.python.org/dev/peps/pep-3151 define exception classes like ConnectionError and BrokenPipeError We need to refactor stdlib to use that shiny new exceptions instead of checking errno values if possible. Also maybe we need to add some absent

[issue16648] stdib should use new exception types from PEP 3151

2012-12-08 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please, feel free to add me in nosylist for any issue related to this one. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16648

[issue16650] Popen._internal_poll() references errno.ECHILD outside of the local scope

2012-12-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: The patch LGTM. About _handle_exitstatus: I guess nothing wrong to fix it also. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16650

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

2012-12-09 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16651 ___ ___ Python-bugs

[issue16582] Tkinter calls SystemExit with string

2012-12-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16582

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2012-12-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: Close the issue as duplicate for #16490 -- nosy: +asvetlov resolution: - duplicate stage: test needed - committed/rejected status: open - closed superseder: - inspect.getargspec() and inspect.getcallargs() don't work for builtins

[issue16612] Integrate Argument Clinic specialized preprocessor into CPython trunk

2012-12-11 Thread Andrew Svetlov
Andrew Svetlov added the comment: How Argument Clinic solves problems like #16490? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16612

[issue16049] Create abstract base classes by inheritance rather than a direct invocation of __metaclass__

2012-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16049 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16667] timezone docs need versionadded: 3.2

2012-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: I've reworded patch a bit and made it based on 3.2 for easier merging. -- nosy: +asvetlov Added file: http://bugs.python.org/file28302/issue16667_v2.diff ___ Python tracker rep...@bugs.python.org http

[issue16667] timezone docs need versionadded: 3.2

2012-12-13 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16667

[issue16670] Point class may be not be a good example for namedtuple

2012-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: +1 for leaving the doc as is -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16670

[issue16666] docs wrongly imply socket.getaddrinfo takes keyword arguments in 2.x

2012-12-13 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs

[issue16049] Create abstract base classes by inheritance rather than a direct invocation of __metaclass__

2012-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done. I prefer to leave existing class order in documentation. In general I agree with Eric that ABC should be before ABCMeta in the doc but now it has formalized as helper for metaclass with very short documentation. To put ABC first we need to transplate

[issue16049] Create abstract base classes by inheritance rather than a direct invocation of __metaclass__

2012-12-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Bruno. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16049

[issue1818] Add named tuple reader to CSV module

2012-12-13 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1818 ___ ___ Python-bugs-list

[issue16421] importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Sorry for delay. Thanks, Vaclav! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16421

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: The error can be reproduced for 2.7 and 3.2. Starting from 3.3 os.error and IOError both aliases for OSError and patch doesn't needed. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http

[issue16678] optparse: parse only known options

2012-12-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: +1 for closing as won't fix -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16678

[issue16421] importlib.machinery.ExtensionFileLoader cannot load several modules from the same shared object

2012-12-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Antoine, you are right: foo and bar was bad names. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16421

[issue16597] file descriptor not being closed with context manager on IOError when device is full

2012-12-15 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16597 ___ ___ Python-bugs

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

2012-12-15 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16601 ___ ___ Python-bugs

[issue16647] LMTP.connect() loses socket error details

2012-12-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks, Serhiy. -- nosy: +asvetlov resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16647

[issue16704] Get rid of select.error in stdlib. Use OSError instead

2012-12-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: asvetlov components: Library (Lib) nosy: asvetlov priority: normal severity: normal status: open title: Get rid of select.error in stdlib. Use OSError instead type: enhancement versions: Python 3.4

[issue16648] stdib should use new exception types from PEP 3151

2012-12-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- dependencies: +Get rid of select.error in stdlib. Use OSError instead ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16648

[issue16704] Get rid of select.error in stdlib. Use OSError instead

2012-12-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16704

[issue16705] Use concrete classes inherited from OSError instead of errno check

2012-12-17 Thread Andrew Svetlov
New submission from Andrew Svetlov: Probably it is long enough work and should be done in several iteration after converting all exceptions like IOError, EnvironmentError, WindowsError, mmap.error, socket.error and select.error to OSError. -- assignee: asvetlov components: Library

[issue16648] stdib should use new exception types from PEP 3151

2012-12-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- dependencies: +Use concrete classes inherited from OSError instead of errno check ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16648

[issue16706] Get rid of os.error. Use OSError instead

2012-12-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: asvetlov components: Library (Lib) nosy: asvetlov priority: normal severity: normal status: open title: Get rid of os.error. Use OSError instead type: behavior versions: Python 3.4

[issue16706] Get rid of os.error. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think deprecation makes not big value. We should continue aliases support and there are no place to raise warning. What we can do — mention deprecation in the doc. The reason to get rid of other OSError aliases to make cleaner code (especially considering

[issue16650] Popen._internal_poll() references errno.ECHILD outside of the local scope

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: As I can see in Py_Finalize finalized for standard exception classes is called after any python code has been finished, so we don't need to protect those exceptions. -- ___ Python tracker rep...@bugs.python.org

[issue16711] s/next()/__next__/ in collections.abc.Iterator document.

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks. -- nosy: +asvetlov resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16711

[issue16714] Raise exceptions, don't throw

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks, Serhiy. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16714

[issue16715] Get rid of IOrror. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: asvetlov components: Library (Lib) nosy: asvetlov priority: normal severity: normal status: open title: Get rid of IOrror. Use OSError instead versions: Python 3.4 ___ Python tracker

[issue16705] Use concrete classes inherited from OSError instead of errno check

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- dependencies: +Get rid of IOrror. Use OSError instead, Get rid of os.error. Use OSError instead ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16705

[issue16716] Deprecate OSError aliases in the doc

2012-12-18 Thread Andrew Svetlov
New submission from Andrew Svetlov: The list of aliases is: IOError, EnvironmentError, WindowsError, mmap.error, socket.error, os.error and select.error Documentation should have deprecation message guessing to use OSError instead. -- messages: 177704 nosy: asvetlov priority: normal

[issue16706] Get rid of os.error. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. About deprecation: I've created #16716 for that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16706

[issue16706] Get rid of os.error. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16706

[issue16705] Use concrete classes inherited from OSError instead of errno check

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- dependencies: +Deprecate OSError aliases in the doc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16705

[issue16717] Get rid of socket.error. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: asvetlov components: Documentation nosy: asvetlov priority: normal severity: normal status: open title: Get rid of socket.error. Use OSError instead versions: Python 3.4 ___ Python

[issue16705] Use concrete classes inherited from OSError instead of errno check

2012-12-18 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- dependencies: +Get rid of socket.error. Use OSError instead ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16705

[issue16716] Deprecate OSError aliases in the doc

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Don't know about library/exceptions.rst For other modules (socket, select etc.) I like to use .. deprecated:: 3.3 markup. Antoine, do you have objections? -- ___ Python tracker rep...@bugs.python.org http

[issue16717] Get rid of socket.error. Use OSError instead

2012-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16717

[issue16719] Get rid of WindowsError. Use OSError instead

2012-12-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sorry, Brian. I missed that you assign issue to yourself. Committed patch contributed by Serhiy. Close the issue. Feel free to reopen if needed. -- resolution: - fixed status: open - closed ___ Python tracker rep

[issue16724] Rename `data` argument names to `bytes`

2012-12-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: I agree: the docs is good and don't needed to be modified. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16724

[issue16714] Raise exceptions, don't throw

2012-12-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks again, Serhiy! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16714 ___ ___ Python-bugs-list

[issue14373] C implementation of functools.lru_cache

2012-12-19 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +amaury.forgeotdarc, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14373

[issue16722] __index__() overrides __bytes__() when bytes() is called

2012-12-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is it coupled with #15559? If true we can relax ipaddress with adding __index__ again for 3.4 -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16722

[issue16722] __index__() overrides __bytes__() when bytes() is called

2012-12-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: BTW, Руслан, can you change your name to use latin alphabet? I'm Андрей Светлов, but use Andrew Svetlov for tracker. Latin transcription is much easier to remember for all python users who don't speak Russian. For that guys your name looks like Chinese one

[issue13178] Need tests for Unicode handling in install_distinfo and install_data

2012-12-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13178 ___ ___ Python-bugs

[issue16045] add more unit tests for built-in int()

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16045 ___ ___ Python-bugs-list mailing list

[issue16045] add more unit tests for built-in int()

2012-12-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16045

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Committed. Thanks. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9856

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Updated NEWS and docs -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9856 ___ ___ Python-bugs-list mailing

[issue879399] socket line buffering

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: LGTM. Kristján, would you like to commit? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue879399 ___ ___ Python

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ok -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9856 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16443] Add docstrings to regular expression match objects

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Pushed. Thank you, Anton! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16443

[issue15302] Use argparse instead of getopt in test.regrtest

2012-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: Hi Chris. Today we had python sprint and I've guessed to Anton to refactor the patch in good way with properly setting default values from regrtest.main to argparse args. Then use proper argparse actions for manipulating that args. After all we can use

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-12-23 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14715 ___ ___ Python-bugs

[issue879399] socket line buffering

2012-12-24 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: - kristjan.jonsson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue879399

[issue13582] IDLE and pythonw.exe stderr problem

2012-12-24 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13582 ___ ___ Python-bugs

  1   2   3   4   5   6   7   8   9   10   >