[issue19775] Provide samefile() on Path objects

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: About doc string in patch: 1. s/same/the same/ 2. "same" is usually used with "as", not "with": https://books.google.com/ngrams/graph?content=same+as%2Csame+with%2Csame+to&year_start=1800&year_end=2000&corpus=15&smoothing=3 -- _

[issue18716] Deprecate the formatter module

2013-11-30 Thread Larry Hastings
Larry Hastings added the comment: They're not on Python 3. I think we should keep the deprecation and let them roll their own when they upgrade. It's not like the module provides much functionality in the first place. -- ___ Python tracker

[issue18716] Deprecate the formatter module

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: formatter module is used by (Python-3-compatible) Portage (package manager for Gentoo): http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=summary Maybe deprecation should be reverted. -- nosy: +Arfrever resolution: fixed

[issue16549] regression: -m json.tool module is broken

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: 2 tests fail (only on 2.7 branch) when `make test` runs test suite the second time: == ERROR: test_infile_outfile (json.tests.test_tool.TestTool) --

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: ... when code is loaded from .pyc files (i.e. when `make test` runs tests the second time). -- ___ Python tracker ___

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: New tests fail on 2.7 branch, at least with Python configured with --enable-unicode=ucs4 (which is default in Gentoo): == FAIL: test_surrogates (json.tests.test_scanstring.

[issue19804] test_uuid.TestUUID.test_find_mac() fails

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I see the same failure of this test on my system (Gentoo Linux, amd64, ifconfig available) on all branches (2.7, 3.3, default). -- nosy: +Arfrever resolution: fixed -> stage: committed/rejected -> status: closed -> open title: tes

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2013-11-30 Thread Nick Coghlan
Changes by Nick Coghlan : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19775] Provide samefile() on Path objects

2013-11-30 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the patch. -- keywords: +patch nosy: +vajrasky Added file: http://bugs.python.org/file32916/pathlib_samefile.patch ___ Python tracker ___

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2013-11-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ _

[issue15798] subprocess.Popen() fails if 0, 1 or 2 descriptor is closed

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c4cd891cf167 by Gregory P. Smith in branch '3.3': Fixes Issue #15798 - subprocess.Popen() no longer fails if file http://hg.python.org/cpython/rev/c4cd891cf167 New changeset 0387054b2038 by Gregory P. Smith in branch 'default': Fixes Issue #15798 -

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: Guido's point was that it is already a bug in code to not check the elapsed time after a select call returns rather than assuming the full timeout time has elapsed. Correct code today already needs to deal with both situations (OSError(EINTR) and select returni

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Antoine, are you okay with applying this fix to 2.7? Or should we just mark this as a won't fix? -- keywords: +patch priority: low -> normal resolution: fixed -> stage: committed/rejected -> patch review versions: -Python 3.2, Python 3.3, Python

[issue19726] BaseProtocol is not an ABC

2013-11-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 3.4 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mail

[issue19726] BaseProtocol is not an ABC

2013-11-30 Thread Nick Coghlan
Changes by Nick Coghlan : -- Removed message: http://bugs.python.org/msg204783 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19822] PEP process entrypoint

2013-11-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19728] PEP 453: enable pip by default in the Windows binary installers

2013-11-30 Thread Nick Coghlan
Nick Coghlan added the comment: Oops, fumble fingered the issue number in one of the commits. This was the commit for the missing hg add Ned pointed above: http://hg.python.org/cpython/rev/04088790c077 -- ___ Python tracker

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Armin Rigo
Armin Rigo added the comment: Modules/socketmodule.c is using a simple style to implement socket timeouts using select(). If I were to naively copy this style over to pure Python, it would work in current Pythons; I'd get occasionally an OSError(EINTR), which I would have presumably been anno

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9fcba15d7685 by Alexandre Vassalotti in branch '3.3': Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private. http://hg.python.org/cpython/rev/9fcba15d7685 New changeset 7d6c27fa7f32 by Alexandre Vassalotti in branch 'default': Issue #6477:

[issue19837] Wire protocol encoding for the JSON module

2013-11-30 Thread Nick Coghlan
Nick Coghlan added the comment: The problem with adding new APIs with different names to the JSON module is that it breaks symmetry with other wire protocols. The quartet of module level load, loads, dump and dumps functions has become a de facto standard API for wire protocols. If it wasn't

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: We went through this whole discussion before. Returning immediately with three empty lists is better than raising InterruptedError. Retrying is not always better. -- ___ Python tracker

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yeah, adding an underscore is a fine way of dealing with this if the symbol has to be exported. -- ___ Python tracker ___ __

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset d964d7023aa4 by Alexandre Vassalotti in branch '2.7': Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle. http://hg.python.org/cpython/rev/d964d7023aa4 -- ___ Python tracker

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Would you be okay with removing the static declaration of PyNotImplemented_Type and PyNone_Type if we prefix their name with an underscore? There isn't any other way to fix this without making the types linkable. I might revert the 2.7 change anyway as i

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: > I've always had an implicit understanding that calls with timeouts may, for > whatever reason, return sooner than requested (or later!), and the most > careful approach is to re-check the clock again. exactly. at the system call level you can be interrupt

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Uh... Your commits make PyNone_Type and PyNotImplemented_Type public APIs, which I don't think is ok, especially not in bugfix releases. Also, it would be nice to post patches on the tracker before committing (not for trivial patches of course, but it's genera

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset fbb97f6eb3b3 by Alexandre Vassalotti in branch '2.7': Issue #6477: Added pickling support for singletons and their types. http://hg.python.org/cpython/rev/fbb97f6eb3b3 -- ___ Python tracker

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- assignee: docs@python -> alexandre.vassalotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > I've always had an implicit understanding that calls with timeouts may, > > for whatever reason, return sooner than requested (or later!), and the > > most careful approach is to re-check the clock again. > > I've always had the implicit understanding that i

[issue19837] Wire protocol encoding for the JSON module

2013-11-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm -1 for a new module doing almost the same thing. Let's add distinct APIs in the existing json module. -- ___ Python tracker ___ ___

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Richard Oudkerk
Richard Oudkerk added the comment: > I've always had an implicit understanding that calls with timeouts may, > for whatever reason, return sooner than requested (or later!), and the > most careful approach is to re-check the clock again. I've always had the implicit understanding that if I use a

[issue6477] Pickling of NoneType raises PicklingError

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16eba94d3cfe by Alexandre Vassalotti in branch '3.3': Issue #6477: Added support for pickling the types of built-in singletons. http://hg.python.org/cpython/rev/16eba94d3cfe New changeset ff56f48b3277 by Alexandre Vassalotti in branch 'default': Iss

[issue19839] bz2: regression wrt supporting files with trailing garbage after EOF

2013-11-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +3.2regression priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17909] Autodetecting JSON encoding

2013-11-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19842] selectors: refactor BaseSelector implementation

2013-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM, although I wish that you had time to implement the comment "TODO: Subclasses can probably optimize this even further" rather than just shuffling the existing code around. :-) -- ___ Python tracker

[issue19726] BaseProtocol is not an ABC

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5469e1a68dbd by Guido van Rossum in branch 'default': asyncio: Use Interface instead of ABC. Fixes issue 19726. http://hg.python.org/cpython/rev/5469e1a68dbd -- ___ Python tracker

[issue19726] BaseProtocol is not an ABC

2013-11-30 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19726] BaseProtocol is not an ABC

2013-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: You're right, I commented previously without reading the context. The classes defined in protocol.py are not ABCs, they are just base classes (and not mandatory, just convenient, because the transport *will* assume all methods are implemented, and call them

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: I wouldn't call that "being the most careful". I've always had an implicit understanding that calls with timeouts may, for whatever reason, return sooner than requested (or later!), and the most careful approach is to re-check the clock again. --

[issue19845] Compiling Python on Windows docs

2013-11-30 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the report; I could have sworn I had submitted a patch for this several months ago, but it seems like I didn't and had completely forgotten about it. -- assignee: docs@python -> zach.ware resolution: -> fixed stage: needs patch -> committed/r

[issue19845] Compiling Python on Windows docs

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset a239897084bf by Zachary Ware in branch '3.3': Issue #19845: Updated the Compiling Python on Windows docs. http://hg.python.org/cpython/rev/a239897084bf New changeset f4eedd29706b by Zachary Ware in branch 'default': Issue #19845: Updated the Compili

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread Armin Rigo
Armin Rigo added the comment: Am I correct in thinking that you're simply replacing the OSError(EINTR) with returning empty lists? This is bound to subtly break code, e.g. the code that expects reasonably that a return value of three empty lists means the timeout really ran out (i.e. the vers

[issue19789] Improve wording of how to "undo" a call to logging.disable(lvl)

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6377ca8087a by Vinay Sajip in branch '2.7': Issue #19789: Clarified documentation for logging.disable. http://hg.python.org/cpython/rev/b6377ca8087a New changeset 5c8130b85c17 by Vinay Sajip in branch '3.3': Issue #19789: Clarified documentation fo

[issue19847] Setting the default filesystem-encoding

2013-11-30 Thread Sworddragon
New submission from Sworddragon: sys.getfilesystemencoding() says for Unix: On Unix, the encoding is the user’s preference according to the result of nl_langinfo(CODESET), or 'utf-8' if nl_langinfo(CODESET) failed. In my opinion relying on the locale environment is risky since filesystem-enco

[issue19846] print() and write() are relying on sys.getfilesystemencoding() instead of sys.getdefaultencoding()

2013-11-30 Thread STINNER Victor
STINNER Victor added the comment: "Filesystem encoding" is not a good name. You should read "OS encoding" or maybe "locale encoding". This encoding is the best choice for interopability with other (python2 or non python) programs. If you don't care of interoperabilty, force the encoding using PY

[issue19845] Compiling Python on Windows docs

2013-11-30 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19845] Compiling Python on Windows docs

2013-11-30 Thread Zachary Ware
Changes by Zachary Ware : -- keywords: +easy stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list

[issue2799] Remove _PyUnicode_AsString(), rework _PyUnicode_AsStringAndSize(), add PyUnicode_AsChar()

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: With PEP 393 implemented, there doesn't seem to anything left to be done here. Closing as fixed. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- priority: normal -> low versions: +Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-l

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- priority: normal -> low versions: +Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-l

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- priority: normal -> low versions: +Python 3.5 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-l

[issue5885] uuid.uuid1() is too slow

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- priority: low -> normal stage: needs patch -> patch review versions: +Python 3.5 -Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue19846] print() and write() are relying on sys.getfilesystemencoding() instead of sys.getdefaultencoding()

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Victor can correct me if I'm wrong, but I believe that stdin/stdout/stderr all use the filesystem encoding because filenames are the most likely source of non-ascii characters on those streams. (Not a perfect solution, but the best we can do.) -- no

[issue17397] ttk::themes missing from ttk.py

2013-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: serhiy.storchaka -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19846] print() and write() are relying on sys.getfilesystemencoding() instead of sys.getdefaultencoding()

2013-11-30 Thread Sworddragon
New submission from Sworddragon: It seems that print() and write() (and maybe other of such I/O functions) are relying on sys.getfilesystemencoding(). But these functions are not operating with filenames but with their content. In the attachments is an example script which demonstrates this pr

[issue16231] pickle persistent_id return value

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee627983ba28 by Alexandre Vassalotti in branch '2.7': Issue #16231: Allow false values other than None to be used as persistent IDs. http://hg.python.org/cpython/rev/ee627983ba28 -- nosy: +python-dev ___

[issue16231] pickle persistent_id return value

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- assignee: -> alexandre.vassalotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Alexandre. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset d565310e7ae3 by Serhiy Storchaka in branch 'default': Issue #17897: Optimized unpickle prefetching. http://hg.python.org/cpython/rev/d565310e7ae3 -- nosy: +python-dev ___ Python tracker

[issue19789] Improve wording of how to "undo" a call to logging.disable(lvl)

2013-11-30 Thread Simon Weber
Simon Weber added the comment: That sounds much clearer. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19845] Compiling Python on Windows docs

2013-11-30 Thread Mark Lawrence
New submission from Mark Lawrence: http://docs.python.org/3/using/windows.html#compiling-python-on-windows still refers to Visual Studio 97 but there's no mention of 2010. Can we have this updated please? -- assignee: docs@python components: Documentation messages: 204844 nosy: Breamo

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Looks good to me! Feel free to commit. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17397] ttk::themes missing from ttk.py

2013-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: As a non-tcl/tk user except via tkinter, I am not convinced that we should add a near-duplicate function. The *Python* doc for ttk.Style.theme_names says "Returns a list of all known themes." If it does not do that, which it seems not to, it should be changed

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file27241/stringio_sizeof-3.2_3.patch ___ Python tracker ___ ___ Python

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26812/stringio_sizeof-2.7_2.patch ___ Python tracker ___ ___ Python

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26810/stringio_sizeof-3.3_2.patch ___ Python tracker ___ ___ Python

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26586/stringio_sizeof-3.3.patch ___ Python tracker ___ ___ Python-b

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26811/stringio_sizeof-3.2_2.patch ___ Python tracker ___ ___ Python

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26587/stringio_sizeof-3.2.patch ___ Python tracker ___ ___ Python-b

[issue15490] Correct __sizeof__ support for StringIO

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26588/stringio_sizeof-2.7.patch ___ Python tracker ___ ___ Python-b

[issue15513] Correct __sizeof__ support for pickle

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26616/pickle_sizeof-3.2.patch ___ Python tracker ___ ___ Python-bug

[issue15513] Correct __sizeof__ support for pickle

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file26617/pickle_sizeof-2.7.patch ___ Python tracker ___ ___ Python-bug

[issue6673] Uncaught comprehension SyntaxError eats up all memory

2013-11-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- assignee: -> docs@python components: +Documentation -Interpreter Core keywords: -64bit nosy: +docs@python stage: -> needs patch type: resource usage -> enhancement versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 _

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I have reviewed the patch in the review tool. Please take a look! -- ___ Python tracker ___ __

[issue19808] IDLE applies syntax highlighting to user input in its shell

2013-11-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: On a freshly booted machine, I retried 2.7.6/Windows/raw_input() 'for all the' and indeed I now see 'for' and 'all' colored. The colorizing is done char by char. 'fo' is black, 'for' turns orange, 'forr' turns black again. Similarly, 'al' is black, 'all is pur

[issue19844] os.path.split fails on windows path

2013-11-30 Thread R. David Murray
R. David Murray added the comment: If it is an existing string, the backslashes are already in the string. The r prefix or the escaping is only required to get the backslashes into a string when you are coding them into a source file. -- nosy: +r.david.murray

[issue19843] Wait for multiple sub-processes to terminate

2013-11-30 Thread R. David Murray
R. David Murray added the comment: It's not, the beta is already out. -- nosy: +r.david.murray versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ __

[issue19841] ConfigParser PEP issues

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Oh, and even if we decided there was enough reason to want to change the parameter names (which so far it doesn't look like there is), it could never be applied to 2.7, since the 2.7 API is frozen. -- ___ Python tr

[issue19841] ConfigParser PEP issues

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Can you explain what the source of the problem is that you are trying to solve? It sounds like a bug in Nuitka, whatever that is. It is doubtful that this patch would be applied, for the backward compatibility reasons you cite. -- nosy: +r.david.mur

[issue19840] The is no way to tell shutil.move to ignore metadata

2013-11-30 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19840] The is no way to tell shutil.move to ignore metadata

2013-11-30 Thread R. David Murray
R. David Murray added the comment: Note that the equivalent linux command generates a warning message but does the move anyway. In other words, this seems like a very reasonable request ;) -- nosy: +r.david.murray ___ Python tracker

[issue19683] test_minidom has many empty tests

2013-11-30 Thread R. David Murray
R. David Murray added the comment: On tip it would indeed be better to implement them. The deletion is only for the released branches. -- ___ Python tracker ___ ___

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Microbenchmark: $ ./python -c "import pickle; d = b'x' * 10**6; f = open('test.pickle3', 'wb'); pickle.dump(d, f, 3); f.close()" $ ./python -m timeit -s "from pickle import load" "with open('test.pickle3', 'rb') as f: load(f)" Unpatched: 100 loops, best o

[issue17897] Optimize unpickle prefetching

2013-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch is synchronized with tip (it was desynchronized since 23459df0753e). -- Added file: http://bugs.python.org/file32913/pickle_peek_2.patch ___ Python tracker

[issue19844] os.path.split fails on windows path

2013-11-30 Thread Hanz Kanst
Hanz Kanst added the comment: Hm, how can I handle this if "file" is an existing string and there is no option to assign raw via r'some\raw\string'? -- ___ Python tracker ___ __

[issue19844] os.path.split fails on windows path

2013-11-30 Thread Christian Heimes
Christian Heimes added the comment: Ah, you fell victim to a classic gotcha. :) Either you have to quote \ with \\ or you have to use a raw string. Withouth a raw string \t is TAB and \01 is the byte \x01: >>> import ntpath >>> fname = r"C:\progs\python\test\target\Amy Winehouse\Amy Winehouse -

[issue17397] ttk::themes missing from ttk.py

2013-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now CPython trunk in feature freeze stage until 3.4 realease. So we should wait several months before commit this patch. -- versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue19844] os.path.split fails on windows path

2013-11-30 Thread SilentGhost
SilentGhost added the comment: file must be a raw string: file = r'C:\progs\python' Then everthing works. -- nosy: +SilentGhost resolution: -> invalid ___ Python tracker ___ _

[issue19844] os.path.split fails on windows path

2013-11-30 Thread Hanz Kanst
Hanz Kanst added the comment: According to the definition the tail should never contain a slash. -- ___ Python tracker ___ ___ Python-

[issue19844] os.path.split fails on windows path

2013-11-30 Thread Hanz Kanst
New submission from Hanz Kanst: os.path.split fails on windows path to reproduce in python 3.3: file = "C:\progs\python\test\target\Amy Winehouse\Amy Winehouse - Back To Black (2006)\01 - Rehab.ogg" os.path.split(os.path.abspath(file))[0] returns 'C:\\progs\\python\testordner\target\\Amy Wineho

[issue17397] ttk::themes missing from ttk.py

2013-11-30 Thread klappnase
klappnase added the comment: > What is your real name? Michael Lange > What should I add in the Misc/ACKS file? Hmm, personally I'd prefer the nick, but it seems to be common practice to use the real name; I think I'll leave it to you ;) -- ___ Pytho

[issue19844] os.path.split fails on windows path

2013-11-30 Thread Hanz Kanst
Changes by Hanz Kanst : -- components: Windows nosy: Hanz priority: normal severity: normal status: open title: os.path.split fails on windows path type: behavior versions: Python 3.3 ___ Python tracker ___

[issue18885] handle EINTR in the stdlib

2013-11-30 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue19843] Wait for multiple sub-processes to terminate

2013-11-30 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': I recently implemented this in psutil and thought it would have been a nice addition for subprocess module as well: https://code.google.com/p/psutil/issues/detail?id=440 Patch in attachment introduces a new subprocess.wait_procs() utility function which w

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-30 Thread Walter Dörwald
Walter Dörwald added the comment: OK, here is a patch. Instead of mapping the exceptions module to builtins, it does the mapping for each exception class separately. I've excluded StandardError, because I think there's no appropriate equivalent in Python 3. -- keywords: +patch Added fi

[issue19842] selectors: refactor BaseSelector implementation

2013-11-30 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue16404] Uses of PyLong_FromLong that don't check for errors

2013-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: -Documentation, Interpreter Core Added file: http://bugs.python.org/file32910/issue16404.patch ___ Python tracker ___ __

[issue16404] Uses of PyLong_FromLong that don't check for errors

2013-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file32908/issue16404.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue18643] implement socketpair() on Windows

2013-11-30 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch adding socketpair to test.support. This version has been used in test_selectors for quite some time now, and would probably be useful for other tests as well. -- Added file: http://bugs.python.org/file32909/socketpair-1.diff ___

  1   2   >