[issue16854] usage() is not defined in Lib/test/regrtest.py

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, Chris. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15988] Inconsistency in overflow error messages of integer argument

2013-01-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15438] document that math.pow is inappropriate for integers

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: > Well, the math.pow() doc could use a "seealso" pointing to the built-in > pow() function perhaps. Pointing to ``**`` is probably better. I think that a simple note that mentions the ** operator and when it's better to use it (and possibly the limitations of mat

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: I think that's the last nail in the coffin of test_main. Terry, do you agree? -- ___ Python tracker ___ __

[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2013-01-07 Thread Daniel Shahaf
Daniel Shahaf added the comment: New iteration. Open issues: - Share code with the init method. The issue with sharing code with either element_init() or create_new_element() would be malloc+realloc: unlike either of these methods, we know both the attributes and the number of children at a

[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2013-01-07 Thread Daniel Shahaf
Daniel Shahaf added the comment: In the meantime, unrelated question: should TreeBuilder be pickleable too, and interchangeably (pickle|unpickle)able between the Python and C implementations? Asking because the Python TreeBuilder has a _factory member which it initializes to 'Element', and I'

[issue14323] Normalize math precision in RGB/YIQ conversion

2013-01-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Todd Rovito
Todd Rovito added the comment: Based on Zachary's comments I have uploaded a new version of the patch which is version 3. -- ___ Python tracker ___ __

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Todd Rovito
Todd Rovito added the comment: Zachary, Thanks for your excellent review Your feedback was very helpful for making the patch even better. -- Added file: http://bugs.python.org/file28626/5066IDLEocumentationforUnixObsoleteIncorrectVersion3.patch

[issue16871] Cleanup a few minor things

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: I'm -1 on this, however parts of the patches could be extracted and applied on individual modules in the 'default' branch only. This could be done by the modules' maintainers if they think it's OK. Note that while it's generally not OK doing this kind of refact

[issue16890] minidom error

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: The problem is that you are mutating parent.childNodes while you are iterating on it. Iterating over a copy seems to solve the problem. -- nosy: +ezio.melotti resolution: -> invalid stage: -> committed/rejected status: open -> closed type: -> behavior

[issue16890] minidom error

2013-01-07 Thread Javier Domingo
New submission from Javier Domingo: Hi I found something like a bug, I can't get this working: import xml.dom.minidom as minidom document=""" """ dom = minidom.parseString(document) dom.childNodes dom.childNodes[0].childNodes dom.childNodes[0].childNodes[1].childNod

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: One more. Since unittest imports strings, you can also do: >>> import unittest as u; u.main("test.test_xxx") -- ___ Python tracker ___ ___

[issue16613] ChainMap.new_child could use improvement

2013-01-07 Thread R. David Murray
R. David Murray added the comment: I agree that this would be useful. -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-

[issue16799] start using argparse.Namespace in regrtest

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, the fix for issue 16854 committed most of this patch, so the patch should be updated before reviewing. -- ___ Python tracker ___ _

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: > >>> import test.test_xxx as t; t.test_main() As long as the module has "import unittest", you could also do the following, which has just 5 more characters :) >>> import test.test_xxx as t; t.unittest.main(t) -- nosy: +chris.jerdonek __

[issue16889] facilitate log output starting at beginning of line

2013-01-07 Thread Chris Jerdonek
New submission from Chris Jerdonek: In certain situations (e.g. when logging while using unittest), log messages can start in the middle of a line, for example: log: [INFO] foo .. It was trickier than I thought it needed t

[issue13229] Improve tools for iterating over filesystem directories

2013-01-07 Thread Nick Coghlan
Nick Coghlan added the comment: The problem with the current walkdir implementation is that without a rich path object you end up making a lot of redundant system calls. Combined with the inherent overhead of nested generators, it just *feels* bad (even in situations where worrying about the s

[issue16854] usage() is not defined in Lib/test/regrtest.py

2013-01-07 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce99559efa46 by Chris Jerdonek in branch 'default': Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400. http://hg.python.org/cpython/rev/ce99559efa46 -- ___ Python tracker

[issue16854] usage() is not defined in Lib/test/regrtest.py

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce99559efa46 by Chris Jerdonek in branch 'default': Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400. http://hg.python.org/cpython/rev/ce99559efa46 -- nosy: +python-dev ___ Python

[issue16853] add a Selector to the select module

2013-01-07 Thread Guido van Rossum
Guido van Rossum added the comment: There's a bug in the kqueue selector. The following code in your patch has 'fd' instead of 'key.fd', twice: if events & SELECT_IN: kev = kevent(key.fd, KQ_FILTER_READ, KQ_EV_ADD) self._kqueue.control([kev], 0, 0)

[issue16853] add a Selector to the select module

2013-01-07 Thread Felipe Cruz
Felipe Cruz added the comment: Hi.. 2 comments related to Kqueue/OSX(16.8) 1 - In tulip/selectors.py L311 and L314 - is key.fd not fd 2 - In EventLoopTestsMixin::test_writer_callback if the writer socket isn't non-blocking, the test hangs forever.. 3 - Errors: ERROR: testCreateSslTransport (

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: Without test_main you would have to do unittest.main(t, exit=False). I'm not sure there's an easier way. -- ___ Python tracker ___ _

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: As we discussed in another issue, you just need to change your pattern to: >>> import unittest.main as runtest >>> import test.test_xxx as t >>> runtest(t) Which granted is more typing if you are running just one test, but not much more if you are running mor

[issue16850] Add "e" mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file28561/open_mode_e.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: test_main makes it trivial to import a test file and run the test. >>> import test/test_xxx as t; t.test_main() I do not know the implications of unittest.main(), but I would dislike losing the above ability. -- ___

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Stefan Krah
Changes by Stefan Krah : -- priority: high -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10156] Initialization of globals in unicodeobject.c

2013-01-07 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +Gregory.Andersen, georg.brandl, kushou, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16143] Building with configure option "--without-doc-strings" crashes first time through PyUnicode_DecodeUTF8Stateful

2013-01-07 Thread Stefan Krah
Stefan Krah added the comment: Closing as a duplicate of #10156, which has several patches. -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Initialization of globals in unicodeobject.c ___ P

[issue16888] Fix test discovery for test_array.py

2013-01-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16850] Add "e" mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: Updated patch. I tested it on Linux Fedora (3.6), Linux Debian (3.0), Windows 7, FreeBSD 8.2 (don't support O_CLOEXEC), OpenIndiana (oi_148, SunOS 5.11), OpenBSD 4.9, OpenBSD 5.2, Mac OS X 10.8. test_builtin pass on all these platforms... except OpenBSD 4.9.

[issue13229] Improve tools for iterating over filesystem directories

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: pathlib and walkdir are two nice piece of code, but do we need two modules? It would be nice to merge them into one unique module :-) (Or is it a stupid idea?) -- ___ Python tracker

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Ezio Melotti
Ezio Melotti added the comment: While we are at it, should we also move these tests to use unittest.main() instead of test_main() and similar? -- dependencies: +Fix test discovery for test_array.py ___ Python tracker

[issue16888] Fix test discovery for test_array.py

2013-01-07 Thread Zachary Ware
New submission from Zachary Ware: Here's a patch to fix test_array.py -- components: Tests files: test_array.diff keywords: patch messages: 179291 nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_array.py type:

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2013-01-07 Thread Ronan Amicel
Changes by Ronan Amicel : -- nosy: +ronnix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13229] Improve tools for iterating over filesystem directories

2013-01-07 Thread Charles-François Natali
Charles-François Natali added the comment: Nick, I think this would be a great addition (I have often seen people trying to implement this in their own code, and I certainly did it myself). What's the status of walkdir, do you think it's mature enough to be merged? -- _

[issue16878] argparse: positional args with nargs='*' defaults to []

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attached is a doc patch. I also improved some other aspects of the *default* section while I was there. We should probably make sure a test exists for the newly-documented behavior (i.e. for passing no arguments for a positional argument with nargs='*' and d

[issue16748] Make CPython test package discoverable

2013-01-07 Thread R. David Murray
R. David Murray added the comment: Great list, thanks. The ones that fail to be run/skipped when run under discovery can probably be fixed by moving them to the more modern unittest 'skip' functions instead of depending on being run under regrtest and using the test.support resource functions

[issue16675] Ship Python with a package manager

2013-01-07 Thread R. David Murray
R. David Murray added the comment: I'm afraid the discussions are many and lengthly and on several lists (python-dev, distutils-sig, probably also python-list and python-ideas), and that you will rarely find a discussion of "whether" without an accompanying discussion of "what". I'm sorry I c

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28619/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-b

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28617/selector-8.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file28622/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-bug

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file28621/selector-8.diff ___ Python tracker ___ ___ Python-bugs-list

[issue16748] Make CPython test package discoverable

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: I've come up with a semi-comprehensive list of the tests that cause ugly failures with test discovery. Tests were run on 3.4 debug, on Windows 7 32bit without several of the 'external' projects built, using the command ``PCbuild\python_d.exe -m unittest discove

[issue16675] Ship Python with a package manager

2013-01-07 Thread Matt Hickford
Matt Hickford added the comment: Please could you share a link to a previous discussion about packaging? I'm interested in user experience 'Python should ship with first class package management like other languages' rather than technical details 'Python should ship with distutils rather than se

[issue15972] wrong error message for os.path.getsize

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you for report, John. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.4 ___ Python tracker

[issue15972] wrong error message for os.path.getsize

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b68dc917321 by Serhiy Storchaka in branch '3.3': Issue #15972: Fix error messages when os functions expecting a file name or http://hg.python.org/cpython/rev/1b68dc917321 New changeset 71fb426ee972 by Serhiy Storchaka in branch 'default': Issue #15

[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-01-07 Thread Roger Serwy
New submission from Roger Serwy: Krystian Rosiński notified me about an error with Tabify/Untabify. Clicking cancel still performs the operation because the _asktabwidth function in Lib/idlelib/EditorWindow.py always returns a number, regardless of cancel being clicked. This bug is visibly no

[issue9685] tuples should remember their hash value

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17038de56fd4 by Christian Heimes in branch 'default': Add a comment about *not* caching the hash value. Issue #9685 suggested to memorize the hash value, but the feature request was rejected because no speed ups were found. http://hg.python.org/cpy

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: Right you are, Todd; I'll get another issue opened for that soon. -- ___ Python tracker ___ ___ Python-

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Todd Rovito
Todd Rovito added the comment: Zachary, I like your idea about joining idle.rst with help.txt but I think that should be covered under a separate bug issue. The way I see it this bug is about fixing the current documentation. So I suggest you open up a new issue and get people's take on i

[issue15845] Fixing some byte-to-string conversion warnings

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > This will raise an error if curdir is a non-ascii str, so, unless the same > error was already raised later in the code, this is backward incompatible. On all supported platforms curdir is a ascii str (':' on Mac Classic, '.' on all other). The same idiom

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28575/selector-data.diff ___ Python tracker ___ ___ Python-bugs-

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28564/selector-3.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file28619/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-bug

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28584/selector-5.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28618/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-b

[issue9685] tuples should remember their hash value

2013-01-07 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file28618/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-bug

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file28617/selector-8.diff ___ Python tracker ___ ___ Python-bugs-list

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28602/selector-6.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28606/selector_poll_events.diff ___ Python tracker ___ ___ Pytho

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28615/tulip-selectors-2.diff ___ Python tracker ___ ___ Python-b

[issue16853] add a Selector to the select module

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file28616/selector-8.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15845] Fixing some byte-to-string conversion warnings

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

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

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue16335] Integer overflow in unicode-escape decoder

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

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

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

[issue16096] Get rid of dangerous integer overflow tricks

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

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2013-01-07 Thread Matthew Barnett
Matthew Barnett added the comment: I've attached a patch. -- keywords: +patch Added file: http://bugs.python.org/file28614/issue13899.patch ___ Python tracker ___ ___

[issue11461] UTF-16 incremental decoder doesn't support partial surrogate pair

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

[issue16836] configure script disables support for IPv6 on a system where IPv6 is disabled

2013-01-07 Thread Charles-François Natali
Changes by Charles-François Natali : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15278] UnicodeDecodeError when readline in codecs.py

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> duplicate stage: patch review -> committed/rejected status: open -> closed superseder: -> UTF-16 incremental decoder doesn't support partial surrogate pair ___ Python tracker

[issue15027] Faster UTF-32 encoding

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list ma

[issue5803] email/quoprimime: encode and decode are very slow on large messages

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

[issue16273] f.tell() returning negative number on Windows build

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue2263] struct.pack() + numpy int raises SystemError

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15988] Inconsistency in overflow error messages of integer argument

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

[issue15442] Expand the list of default dirs filecmp.dircmp ignores

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot, Vinay. By the way, I noticed that the "PLEASE NOTE" reformatting can also be applied to 2.7. -- ___ Python tracker ___ _

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-07 Thread Frank Wierzbicki
New submission from Frank Wierzbicki: test_dictcomp hard codes the dict output of various tests of Dict Comprehensions. Since Jython has a different dict ordering we are currently altering this test. When we get to 3.x it will be nicer if we can use this test as is. Also I've seen some discuss

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2013-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, urlparse still doesn't handle bare "tel" URIs such as "tel:1234": >>> parse.urlparse("tel:1234") ParseResult(scheme='', netloc='', path='tel:1234', params='', query='', fragment='') This is not terribly important since these URLs are not RFC 3

[issue9374] urlparse should parse query and fragment for arbitrary schemes

2013-01-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It may be fixing a bug, but the bug is not obvious and the fix is not > backward compatible. I therefore suggest to roll back the commits to > 3.2 and 2.7. Well, the bug is quite obvious to me :-) (just hit it here) The fix for those who want the old behaviou

[issue15972] wrong error message for os.path.getsize

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

[issue15695] Correct __sizeof__ support for StgDict

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

[issue15438] document that math.pow is inappropriate for integers

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9522] xml.etree.ElementTree forgets the encoding

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15335] IDLE - debugger steps through run.py internals

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-lis

[issue13790] In str.format an incorrect error message for list, tuple, dict, set

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue12939] Add new io.FileIO using the native Windows API

2013-01-07 Thread STINNER Victor
STINNER Victor added the comment: Hum, _get_osfhandle() was not mentionned in this issue. This function may be used to retrieve the internel file handle from a file descriptor. http://msdn.microsoft.com/en-us/library/ks2530z6%28v=vs.100%29.aspx There is also the opposite: _open_osfhandle(). Thi

[issue13173] Default values for string.Template

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16850] Add "e" mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT

2013-01-07 Thread STINNER Victor
Changes by STINNER Victor : -- title: Add "x" mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT -> Add "e" mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT ___ Python tracker ___

[issue8745] zipimport is a bit slow

2013-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general, the patch LGTM, however I can't try it on Windows, and on Linux it has no any performance effect. Can anyone try it on Windows? I have re-uploaded the patch for review after converting it from UTF-16 and CRLF. -- Added file: http://bugs.

[issue16885] SQLite3 iterdump ordering

2013-01-07 Thread Jamie Spence
New submission from Jamie Spence: After dumping a database with iterdump, trying to execute the dumped SQL sometimes results in an error because the statement order may be wrong. In my case, it is a view that is being created before the view it is referencing. Would ordering the sqlite_master

[issue5066] IDLE documentation for Unix obsolete/incorrect

2013-01-07 Thread Zachary Ware
Zachary Ware added the comment: I wonder, is there any really good reason to keep a separate Lib/idlelib/help.txt, or can Doc/library/idle.rst be used for its purpose (with or without a small amount of processing to, for instance, remove comments and extra backslashes)? Both have most of the

[issue16884] logging handler automatically added starting in 3.2+

2013-01-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95a4ff8c540b by Vinay Sajip in branch '3.2': Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate. http://hg.python.org/cpython/rev/95a4ff8c540b New changeset 3b5c4190e256 by Vinay Sajip in b

[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2013-01-07 Thread Isaac (.ike) Levy
Changes by Isaac (.ike) Levy : -- nosy: +ikeaxial ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

  1   2   >