[issue16819] IDLE b"" method completion incorrect

2012-12-30 Thread Ramchandra Apte
New submission from Ramchandra Apte: To reproduce, type b"". and then press TAB. The encode method is listed, that means that IDLE is listing the methods of "" (it should list the methods of b""). -- components: IDLE messages: 178558 nosy: ramchandra.apte priority: normal severity: norm

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2012-12-30 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bump. @neologix I have a 64-bit laptop with 2 GB memory so I don't think I can do so. (though one could use swap) -- ___ Python tracker ___ __

[issue14597] Cannot unload dll in ctypes until script exits

2012-12-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13951] Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-12-30 Thread Ramchandra Apte
Ramchandra Apte added the comment: Bump. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-12-30 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: Seg Fault in .so called by ctypes causes the interpreter to Seg Fault -> Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault ___ Python tracker

[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-12-30 Thread Georg Brandl
Georg Brandl added the comment: The reference to faulthandler is a good addition. The other added sentence reads repetitive and can be left out. Proposal: There are, however, enough ways to crash Python with :mod:`ctypes`, so you should be careful anyway. The :mod:`faulthandler` module can

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

2012-12-30 Thread Georg Brandl
Georg Brandl added the comment: I think you will, Matthew being MRAB on the mailing lists :) -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue16818] Couple of mistakes in PEP 431

2012-12-30 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +lregebro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16814] use --directory option of make in describing how to build the docs

2012-12-30 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: > This is not a `make' tutorial... I find the latest patch to be a great compromise though. Many people would be grateful to learn about the -C option. I am one of them. -- ___ Python tracker

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2012-12-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I may tackle this but rare 2.7-only bugs are pretty low on my priorities list. -- ___ Python tracker ___ ___

[issue16814] use --directory option of make in describing how to build the docs

2012-12-30 Thread Georg Brandl
Georg Brandl added the comment: Well, I'm not -1 about the patch. But there is something to be said for conciseness, and sprinkling the docs with endless alternate routes will not make it easier to read quickly and get the information you need. --

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2012-12-30 Thread Charles-François Natali
Charles-François Natali added the comment: > I have a 64-bit laptop with 2 GB memory so I don't think I can do so. (though > one could use swap) AFAICT, a binary string a little longer than 1GB should be enough to reproduce the bug. Just make sure Python isn't built with '-fwrapv'. --

[issue16816] Bug in hash randomization

2012-12-30 Thread Domen Kožar
Domen Kožar added the comment: I believe this is not the case, I have updated example to use ordereddict, same effect: https://gist.github.com/4409304 -- resolution: invalid -> status: closed -> open ___ Python tracker

[issue16816] Bug in hash randomization

2012-12-30 Thread Charles-François Natali
Charles-François Natali added the comment: What exactly are you trying to demonstrate? As explained by Benjamin, the output can differ from one invokation to another because the iteration order depends on the hash value (position in the buckets). Running your script on Python 2.7 or curent outp

[issue16816] Bug in hash randomization

2012-12-30 Thread Domen Kožar
Domen Kožar added the comment: That would mean there is a bug in OrderedDict, since iterator of item in OrderedDict should keep the order? -- ___ Python tracker ___

[issue16816] Bug in hash randomization

2012-12-30 Thread Charles-François Natali
Charles-François Natali added the comment: No, there's a bug in your code: """ nest_variables(collections.OrderedDict({'foo.bar': '1', 'foo': '2'})) """ You pass the OrderedDict *and already constructed dict*, so entries are inserted in a random order. Just use this and it'll work properly: """

[issue16816] Bug in hash randomization

2012-12-30 Thread Charles-François Natali
Charles-François Natali added the comment: There's actually a parenthesis missing: """ nest_variables(collections.OrderedDict((('foo.bar', '1'), ('foo', '2' """ -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Py

[issue16816] Bug in hash randomization

2012-12-30 Thread Domen Kožar
Domen Kožar added the comment: Ah, works much better if you pass tuple to ordereddict. Seems like a bug in my program indeed (I was using ordereddict, but not correctly). Sorry for the noise! -- ___ Python tracker

[issue14373] C implementation of functools.lru_cache

2012-12-30 Thread Alexey Kachayev
Alexey Kachayev added the comment: Thread-safe implementation for cache cleanup. -- Added file: http://bugs.python.org/file28490/14373.v7.diff ___ Python tracker ___

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread R. David Murray
R. David Murray added the comment: Hmm. What if we made import_fresh_module a context manager, so that the restore of the original module in sys.modules only happened at the end of the context? -- ___ Python tracker

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread Eli Bendersky
Eli Bendersky added the comment: David, how would this help pickle not find _elementtree though? It's already in sys.modules *before* fresh_import is used, because test___all__ put it there. I'm experimenting with just deleting _elementtree from sys.modules before running the tests, so far wit

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread Eli Bendersky
Changes by Eli Bendersky : -- Removed message: http://bugs.python.org/msg178576 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread Eli Bendersky
Eli Bendersky added the comment: David, how would this help pickle not find _elementtree though? It's already in sys.modules *before* fresh_import is used, because test___all__ put it there. I'm experimenting with just deleting _elementtree from sys.modules before running the tests, so far wit

[issue15948] Unchecked return value of I/O functions

2012-12-30 Thread Marek Šuppa
Marek Šuppa added the comment: Any update on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2012-12-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 71508fc738bb by Eli Bendersky in branch '3.3': For Issue #16076: make sure that pickling of Element objects is tested, and do http://hg.python.org/cpython/rev/71508fc738bb New changeset 5a38f4d7833c by Eli Bendersky in branch 'default': For issue #1

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

2012-12-30 Thread Eli Bendersky
Eli Bendersky added the comment: I've added some (currently pyET specific) pickling tests. Daniel, could you re-generate the patch? Note that for the C version of pickling you can now enable the pickle test. Point to consider - can elements pickled in C be unpickled in Python and vice versa? I

[issue16672] improve tracing performances when f_trace is NULL

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

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread R. David Murray
R. David Murray added the comment: It would help because import_fresh_module would have updated sys.modules to be the module under test, and would not restore the previously existing entry in sys.modules until after your test had completed. -- ___ P

[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 track

[issue16814] use --directory option of make in describing how to build the docs

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW even if I heard about the one-liner a few times already I can't really seem to remember it, and prefer to do "cd Doc" anyway. Using "cd Doc" also makes all the subsequent commands shorter (e.g. opening files, running other make targets). The patch proposed

[issue15948] Unchecked return value of I/O functions

2012-12-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[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

[issue16819] IDLE b"" method completion incorrect

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

[issue6010] unable to retrieve latin-1 encoded data from sqlite3

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: While trying to reproduce the issue I noticed this while inserting values: import sqlite3 db = sqlite3.connect(':memory:') cur = db.cursor() cur.execute("create table foo (x)") # this works fine cur.execute(u"insert into foo values ('café')".encode('latin1')) # th

[issue16804] python3 -S -m site fails

2012-12-30 Thread Meador Inge
Meador Inge added the comment: Yeah, it is a result of the fix for issue11591 (changeset a364719e400a). Incidentally, the decision was made to forgo writing a testcase in favor of proof by inspection :-) There are also other consequences of that change: ./python.exe -S Python 3.4.0a0 (

[issue16783] sqlite3 accepts strings it cannot (by default) return

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: > Treating invalid data as sometimes valid and sometime as invalid is a > problem. What is valid is defined by your application. AFAIU sqlite3 defaults to utf-8, but it's able to work with latin1 data as well. The fact that you are mixing utf-8 and latin1 is

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2012-12-30 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2012-12-30 Thread Matthew Barnett
Matthew Barnett added the comment: I've attached a small additional patch for truncating the UTF-8. I don't know whether it's strictly necessary, but I don't know that it's unnecessary either! (Better safe than sorry.) -- Added file: http://bugs.python.org/file28492/issue16741#2.patch

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-30 Thread Wolfgang Scherer
New submission from Wolfgang Scherer: configparser.ConfigParser.clean() always fails: >>> cfg = configparser.ConfigParser() >>> if not hasattr(configparser.ConfigParser, 'clear'): ... configparser.ConfigParser.clear = configparser_clear_compat >>> cfg.clear() #doctest: +ELLIP

[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 ___

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

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2350] 'exceptions' import fixer

2012-12-30 Thread Berker Peksag
Berker Peksag added the comment: I've converted Benjamin's patch to extended diff format, fixed some PEP 8 violations and typos, removed the {get, set}_prefix usage, added more tests and updated the documentation. -- nosy: +berker.peksag Added file: http://bugs.python.org/file28494/issue

[issue2350] 'exceptions' import fixer

2012-12-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is something people can easily convert in there 2.x code, so I don't think the need for it is great. -- assignee: collinwinter -> ___ Python tracker __

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg178416 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16773] int() half-accepts UserString

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: Not sure this is worth fixing, unless the fix is trivial. -- ___ Python tracker ___ ___ Python-bugs-li

[issue16804] python3 -S -m site fails

2012-12-30 Thread Meador Inge
Meador Inge added the comment: Whoops, the 'quit' case is actually intended and is documented (http://docs.python.org/3.4/library/site.html): """ or additions to the builtins. To explicitly trigger the usual site-specific additions, call the site.main() function. """ I think the right way to

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 503b889668fc by Serhiy Storchaka in branch '2.7': Issue #16645: Fix hardlink extracting test for tarfile. http://hg.python.org/cpython/rev/503b889668fc New changeset d42bf4faf3d1 by Serhiy Storchaka in branch '3.2': Issue #16645: Fix hardlink extrac

[issue16645] Wrong test_extract_hardlink() in test_tarfile.py

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue7300] Unicode arguments in str.format()

2012-12-30 Thread Pedro Algarvio
Pedro Algarvio added the comment: This is not a 2.7 issue only: >>> import sys >>> sys.version_info (2, 6, 5, 'final', 0 >>> 'Foo {0}'.format(u'bár') Traceback (most recent call last): File "", line 1, in UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 1: ordinal

[issue16379] SQLite error code not exposed to python

2012-12-30 Thread Daniel Shahaf
Daniel Shahaf added the comment: New patch, with better docs and less error leaks, per Ezio's review. -- Added file: http://bugs.python.org/file28496/i16379-v2.diff ___ Python tracker __

[issue16379] SQLite error code not exposed to python

2012-12-30 Thread Daniel Shahaf
Daniel Shahaf added the comment: A couple of random eyebrow-raisers I noticed while working on v2: - sqlite3.Warning is a subclass of Exception, rather than sqlite3.Error or builtins.Warning. (Also, the docs say "will raise a Warning", intending to refer to sqlite3.Warning, but the lack of

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

2012-12-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue7300] Unicode arguments in str.format()

2012-12-30 Thread Ezio Melotti
Ezio Melotti added the comment: 2.6 only gets security fixes. > My patch converts the format string to unicode using the default > encoding. It's inconsistent with str%args: str%args converts str to > unicode using the ASCII charset (if a least one argument is an unicode > string), not the de

[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 ___ ___ Python-bugs-list mailing li

[issue16379] SQLite error code not exposed to python

2012-12-30 Thread Daniel Shahaf
Daniel Shahaf added the comment: New patch fixing indentation of versionadded markup. -- Added file: http://bugs.python.org/file28497/i16379-v3.diff ___ Python tracker ___ __

[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 ___ ___ Python-bugs-list mailing list Uns

[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 ___ ___ Python-bug

[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

[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 be string

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: As __ap__ says, it would be nice to have a comment. -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: 64-bit linux results: 3.2 3.3 patch 133 (-28%) 1343 (-93%) 96 1 'a' 'b' 'c' 414 (-9%)704 (-47%) 3752 'a' 'b' 'c' 319 (-8%)491 (-40%) 2933 'a' 'b' 'c' 253 (-7%)384 (-39%) 2354 'a' 'b' 'c' 216 (-8%)320 (-

[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 ___ __

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: 64-bit windows results: 3.3 patched 925 (-90%) 97 1 'a' 'b' 'c' 881 (-54%) 4052 'a' 'b' 'c' 623 (-51%) 3083 'a' 'b' 'c' 482 (-48%) 2524 'a' 'b' 'c' 396 (-44%) 2235 'a' 'b' 'c' 344 (-40%) 2086 'a' 'b' 'c' 306 (-38%)

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

2012-12-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Please review. This function is very important for many applications > (and it hard to get right). The pathlib module (PEP 428) has such functionality built-in. -- ___ Python tracker

[issue14373] C implementation of functools.lru_cache

2012-12-30 Thread Alexey Kachayev
Alexey Kachayev added the comment: Updated diff with: * fix object leaks * tp_clear * additional test for maxsize < 0 I also reimplemented multithreading test (fixed error and added skip rule). But actually, I'm not sure that it's enough for ensuring thread-safety of clear operation. I'm wo

[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 ___ __

[issue6975] symlinks incorrectly resolved on Linux

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, how about this mosquito? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2012-12-30 Thread Carsten Klein
Carsten Klein added the comment: I have created a patch for Python 2.7.3 that fixes the issue for that release, too. -- Added file: http://bugs.python.org/file28499/python2.7.3.diff ___ Python tracker

[issue16061] performance regression in string replace for 3.3

2012-12-30 Thread STINNER Victor
STINNER Victor added the comment: str_replace_1char.patch: why not implementing replace_1char_inplace() in stringlib, with one version per character type (UCS1, UCS2, UCS4)? I prefer unicode_2.patch algorithm because it's simpler: only one loop (vs two loops for str_replace_1char.patch, with a

[issue16821] bundlebuilder broken in 2.7

2012-12-30 Thread Barry Alan Scott
New submission from Barry Alan Scott: bundlebuild in pytthon 2.7 fails to create usable applications. After examining the code there are a number of coding errors: 1. optimize will puts the -O in the wrong place in the argv 2. Modules.zip is never added to the path The bunderbuilder in 2.6 can

[issue7300] Unicode arguments in str.format()

2012-12-30 Thread STINNER Victor
STINNER Victor added the comment: Another option is to decide that this issue will *not* be fixed in Python 2, and Python 3 *is* the good solution if you have this issue. Doing the work twice can cause new problems, formatting an argument twice may return two different values :-( It may have a

[issue7300] Unicode arguments in str.format()

2012-12-30 Thread Eric V. Smith
Eric V. Smith added the comment: I agree that we should close this as "won't fix" in 2.7. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-12-30 Thread Samuel John
Samuel John added the comment: Sounds reasonable, but please put the libs not in a place that might conflict with a Tk installed by other means (e.g. homebrew's Tk is a `/usr/local`). -- nosy: +samueljohn ___ Python tracker

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-12-30 Thread Ed Campbell
Changes by Ed Campbell : -- nosy: +esc24 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16817] test___all__ has to save and restore sys.modules while it does all the importing

2012-12-30 Thread Eli Bendersky
Eli Bendersky added the comment: I'm renaming the issue to just mention the problem, not the initially proposed solution (following the python-dev discussion). -- ___ Python tracker ___

[issue16817] test___all__ affects other tests by doing too much importing

2012-12-30 Thread Eli Bendersky
Changes by Eli Bendersky : -- title: test___all__ has to save and restore sys.modules while it does all the importing -> test___all__ affects other tests by doing too much importing ___ Python tracker

[issue16821] bundlebuilder broken in 2.7

2012-12-30 Thread Ned Deily
Ned Deily added the comment: Barry, can you provide a simple test case that demonstrates the failures you see? -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ned.deily, ronaldoussoren stage: -> test needed type: performance -> behavior __

[issue16821] bundlebuilder broken in 2.7

2012-12-30 Thread Barry Alan Scott
Barry Alan Scott added the comment: I'm using the pysvn workbench sources to find the problem. Test cases for Mac Apps are not that simple. You need a GUI framework for starters. But I'm happy to test any candidate fix using workbench. As I said a code inspection of the changes since 2.6 will

[issue16822] execv (et al.) should invoke atexit handlers before executing new code

2012-12-30 Thread Ned Batchelder
New submission from Ned Batchelder: If I register an atexit handler, and then call os.execv, the handler is not invoked before my process changes over to the new program. Shouldn't it be? My program is ending, so my atexit handlers should be invoked. This is based on this coverage.py bug:

[issue14516] test_tools assumes BUILDDIR=SRCDIR

2012-12-30 Thread Roumen Petrov
Roumen Petrov added the comment: No - it is broken. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12915] Add inspect.locate and inspect.resolve

2012-12-30 Thread Berker Peksag
Berker Peksag added the comment: Attaching new patch to address Vinay Sajip's suggestions on Rietveld. Thank you, Vinay. -- Added file: http://bugs.python.org/file28500/issue12915_v2.diff ___ Python tracker __

[issue9586] "warning: comparison between pointer and integer" in multiprocessing build on Tiger

2012-12-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mail

[issue1674555] sys.path in tests contains system directories

2012-12-30 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-12-30 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Updated patch including test fixes is in attachment. -- Added file: http://bugs.python.org/file28501/issue10527-3.patch ___ Python tracker __

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

2012-12-30 Thread Daniel Shahaf
Daniel Shahaf added the comment: Attached. Differences to previous version: - Avoid the test___all__ issue (#16817) by manipulating sys.modules directly - Support pickling interoperability between the C and Python implementations -- Added file: http://bugs.python.org/file28502/i16

[issue16689] stdout stderr redirection mess

2012-12-30 Thread Ralf Schmitt
Ralf Schmitt added the comment: flushing stdout may help before writing to stderr (or at least when writing a traceback). see http://utcc.utoronto.ca/~cks/space/blog/programming/HowToWriteToStderr for a discussion. I don't think it's unreasonable to implement that in python core. --

[issue16783] sqlite3 accepts strings it cannot (by default) return

2012-12-30 Thread William D. Colburn
William D. Colburn added the comment: What it should do is be consistent (predictable) in it's handling of input and output. If it accepts unicode and outputs unicode, then it should accept unicode and output unicode, not accept garbage and then barf. Valid data should be consistantly valid, an

[issue1653416] OS X print >> f, "Hello" produces no error on read-only f: normal?

2012-12-30 Thread Ned Deily
Ned Deily added the comment: An update: the problem with OS X behavior appears to have been fixed between OS X 10.6 and 10.7. As of 10.7, print to a read-only file also fails as on linux: >>> print >> f, "Hi" Traceback (most recent call last): File "", line 1, in IOError: [Errno 9] Bad file

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-12-30 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: -serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue3871] cross and native build of python for mingw* hosts

2012-12-30 Thread Roumen Petrov
Roumen Petrov added the comment: Jason Huntley wrote: > Jason Huntley added the comment: > > Finally! I was able to get all building on mingw64, gcc 4.7.2, and python > 3.3. I had to take everybody's work here a little further, and I have > produced a new patch which will build python33 using t

[issue16820] configparser.ConfigParser.clean and .update bugs

2012-12-30 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: -> lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

2012-12-30 Thread Daniel Shahaf
Daniel Shahaf added the comment: BTW, maybe I'm just confused, but I'm a little surprised that C pickling -> Python unpickling works: the C __reduce__ returns a 3-element tuple, which according to pickle docs[1] must either be a dictionary or be passed to __setstate__; it's not a dictionary an

[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault

2012-12-30 Thread Meador Inge
Meador Inge added the comment: Georg's proposal seems reasonable to me sans one very minor nit. I think the e.g. bit is better off parenthesized: There are, however, enough ways to crash Python with :mod:`ctypes`, so you -should be careful anyway. +should be careful anyway. The :mod:`faultha

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2012-12-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-12-30 Thread STINNER Victor
STINNER Victor added the comment: I spoke with schmir on IRC about this issue because he considers the request as valid, and he doesn't understand why the issue was closed with "wont fix". -- schmir use case: - a network where IPv6 doesn't work (for an unknown reason) - a Linux system with

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

2012-12-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2012-12-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

  1   2   >