[issue22555] Tracking issue for adjustments to binary/text boundary handling

2014-10-04 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22526] file iteration SystemError for huge lines (2GiB+)

2014-10-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-10-04 Thread R. David Murray
R. David Murray added the comment: Just the first unexpected keyword. That's what happens if you pass more than one unexpected keyword to a python function. -- ___ Python tracker _

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2014-10-04 Thread Berker Peksag
Berker Peksag added the comment: Looks like Werkzeug had a workaround for this bug: https://github.com/mitsuhiko/werkzeug/commit/f9e2fad30d34a6b0737539434c03c07c2bc658d4 -- ___ Python tracker _

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-04 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > If you want cached libs without polluting ctypes.cdll or ctypes.windll, just > create your own instance such as windll = ctypes.LibraryLoader(ctypes.WinDLL). This one looks like the next best thing to the current state of affairs, requiring minimal change to e

[issue22555] Tracking issue for adjustments to binary/text boundary handling

2014-10-04 Thread Nick Coghlan
Nick Coghlan added the comment: PEP 461 binary interpolation implementation issue: http://bugs.python.org/issue20284 -- dependencies: +Add codecs.convert_surrogateescape to "clean" surrogate escaped strings, Add wsgiref.util.dump_wsgistr & load_wsgistr, Allow backslashreplace error ha

[issue22555] Tracking issue for adjustments to binary/text boundary handling

2014-10-04 Thread Nick Coghlan
New submission from Nick Coghlan: See PEP 478 for the PEP level items targeting 3.5: http://www.python.org/dev/peps/pep-0478/ This is a tracking issue to help me keep track of some lower level items that didn't make the release PEP: * Improved Windows console Unicode support (see https://pypi

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2014-10-04 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-04 Thread eryksun
eryksun added the comment: > Packages do this because it's the natural thing to do I guess the tutorial is channeling projects toward using the cdll/windll LibraryLoader instances on Windows. It even shows using cdll.LoadLibrary('libc.so.6') on Linux. That's equivalent to CDLL('libc.so.6'); I

[issue21338] Silent mode for compileall

2014-10-04 Thread Berker Peksag
Berker Peksag added the comment: Here's an updated patch. Thanks David. -- Added file: http://bugs.python.org/file36808/issue21338.diff ___ Python tracker ___ ___

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2014-10-04 Thread Berker Peksag
Berker Peksag added the comment: Marc-Andre, could you please take a look to the latest patch? -- components: -Tests keywords: +needs review title: platform.dist() has unpredictable result under Linux -> Deprecate platform.dist() and platform.linux_distribution() functions type: behavi

[issue21072] Python docs and downloads not available for Egypt

2014-10-04 Thread Nick Coghlan
Nick Coghlan added the comment: Is this problem still occurring? There were recently some problems in other regions with *.python.org getting caught up in national IP filters, which our CDN provider has now resolved by providing us with dedicated IP addresses. These aren't shared with any othe

[issue6623] Lib/ftplib.py Netrc class should be removed.

2014-10-04 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a whatsnew entry. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file36807/issue6623.diff ___ Python tracker ___

[issue18903] IDLE file-completion is case-sensitive in Windows

2014-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wesley himself suggested that it is not ready to apply. There are currently 7 completion issues for Idle. I hope to someday work on all of them together, alone with a test file. But there are a couple of other issue clusters that I consider higher priority.

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-10-04 Thread Nick Coghlan
Nick Coghlan added the comment: Also reducing the priority back to "normal" - the docs at https://docs.python.org/3/installing/ already specifically recommend the "python -m pip" spelling because it's the most universal. Calling "pip" directly is known to fail in a variety of situations. For

[issue15862] IDLE: startup problem when HOME does not exist

2014-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is one of multiple reports about problems with finding and reading HOME/.idlerc/*.*. I believe that if nothing else, Idle should issue a warning message (that not not crash Idle), set a flag, and continue. The configuration dialog should also warn that

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-10-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, David. > The standard error message for this case is: > > xxx() got an unexpected keyword argument 'foo' I found two similar messages in the codebase: * In Modules/itertoolsmodule.c: PyErr_SetString(PyExc_TypeError, "zip_lon

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-10-04 Thread Nick Coghlan
Nick Coghlan added the comment: Note that this is also tricky to test - we *don't* currently activate the venv in the test suite, instead relying on a "-m" invocation. However, I think this error shows that a new automated test is needed that covers the activation case, as there are some addit

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-04 Thread eryksun
eryksun added the comment: > How does this relate to issue 14201? That is, is the answer just > "use getitem if you don't want caching"? Unlike CDLL.__getitem__, LibraryLoader.__getitem__ does use the attribute cache. Why use a LibraryLoader if you don't want the cached libs and access to t

[issue21623] build ssl failed use vs2010 express

2014-10-04 Thread Zachary Ware
Zachary Ware added the comment: Mo Jia: if you have any information to add later, feel free to reopen the issue, but so far nobody else can reproduce your error. -- assignee: -> zach.ware stage: -> resolved status: open -> closed ___ Python tracker

[issue18131] Tkinter Variables require a proper master

2014-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: My first message discussed two different issues. The first, generalized, is that unconditionally using tkinter._default_root, which can be either None or absent, as a backup for master=None in __init__ functions, seems a bit sloppy. Image.__init__ does this

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-04 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: @R. David Murray: haha, the reverse change that introduced this problem in the first place! issue 14201's problem is exactly why I was going to suggest to also make _FuncPtr's compare equal if they point to the same function. @eryksun: Packages do this because i

[issue21231] Issue a python 3 warning when old style classes are defined.

2014-10-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1757072] Zipfile robustness

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this can now be closed. -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___

[issue21278] Running the test suite with -v makes the test_ctypes and the test_zipimport erroneously reported as failed

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: As there has been no response can this be closed? -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___ __

[issue15862] IDLE not working when due to wrong Hard Drive point of os.path.expanduser

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: @Terry what is your take on this? -- nosy: +BreamoreBoy, terry.reedy status: pending -> open ___ Python tracker ___ _

[issue21623] build ssl failed use vs2010 express

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: I have never had a problem building ssl with vs2010 express so can this be closed? -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker

[issue20394] Coverity complains on audioop

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a decision as to whether or not the patch should be back ported to 2.7. -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___

[issue21231] Issue a python 3 warning when old style classes are defined.

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as "won't fix" or what? -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___ _

[issue20997] Wrong URL fragment identifier in search result

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: What's the verdict on this guys? -- nosy: +BreamoreBoy status: pending -> open ___ Python tracker ___ ___

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-10-04 Thread Dan O'Reilly
Dan O'Reilly added the comment: Hey, my first committed patch :) Thanks for helping to push this through, Antoine! -- ___ Python tracker ___

[issue20267] TemporaryDirectory does not resolve path when created using a relative path

2014-10-04 Thread Antony Lee
Antony Lee added the comment: The change would be backwards-incompatible but also mimics the behavior of NamedTemporaryFile (which also fails to delete the file if the containing folder has been renamed -- this is easy to verify manually). I guess the other option would be to use fd-based seman

[issue7175] Define a standard location and API for configuration files

2014-10-04 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2014-10-04 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22546] Wrong default precision in documentation for format

2014-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I see now that my expectation, based on decimal rounding rather than binary conversion and rounding, was wrong ;-) >>> 33.14159265358979323846264338327950288419 == 33.1415926535898 True >>> 33.14159265358979323846264338327950288419 == 33.14159265358979 False >>>

[issue6653] Potential memory leak in multiprocessing

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as won't fix. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue11063] uuid.py module import has heavy side effects

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +serhiy.storchaka stage: needs patch -> patch review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___

[issue13473] Add tests for files byte-compiled by distutils

2014-10-04 Thread R. David Murray
R. David Murray added the comment: Looks like someone should revise this patch taking in to account Nick's feedback, and updating it to apply to distutils instead of the now-defunct distutils2/packaging. Moving stage to 'needs patch'. -- assignee: eric.araujo -> components: -Distu

[issue21965] Add support for Memory BIO to _ssl

2014-10-04 Thread Geert Jansen
Geert Jansen added the comment: Addded the comment about owner being a weakref, and added a new consolidated patch (ssl-memory-bio-5). -- Added file: http://bugs.python.org/file36806/ssl-memory-bio-5.patch ___ Python tracker

[issue18131] Tkinter Variables require a proper master

2014-10-04 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue16866] libainstall doesn't create $(BINDIR) directory

2014-10-04 Thread R. David Murray
R. David Murray added the comment: Looks like the status for this one should really be "needs decision". It is sounds like the provided patch is not sufficient regardless, so 'commit review' is no longer the appropriate state. I'm changing it back to patch needed as the closest available st

[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect

2014-10-04 Thread R. David Murray
R. David Murray added the comment: Committed. See also issue 22552. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue21965] Add support for Memory BIO to _ssl

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ahhh. I had forgotten about that. It may be worthwhile to add a comment in SSLObject.__init__, then. Also, can you provide a cumulated patch? -- ___ Python tracker ___

[issue14201] Documented caching for shared library's __getattr__ and __getitem__ is incorrect

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae64614b66b7 by R David Murray in branch '2.7': #14201: Update ctypes docs to match behavior changed from 214b28d7a999. https://hg.python.org/cpython/rev/ae64614b66b7 New changeset 5518aa0fbc06 by R David Murray in branch '3.4': #14201: Update ctype

[issue21965] Add support for Memory BIO to _ssl

2014-10-04 Thread Geert Jansen
Geert Jansen added the comment: > One issue with the "owner" is that there is now a reference cycle between > SSLSocket and SSLObject (something which the original design is careful to > avoid by using weakrefs in the _ssl module). Note that owner is a weakref :) Did you look at the code? ---

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-04 Thread R. David Murray
R. David Murray added the comment: How does this relate to issue 14201? That is, is the answer just "use getitem if you don't want caching"? (And apply the doc patch from that issue :) -- nosy: +r.david.murray ___ Python tracker

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: (full patch is actually the latest upload: circrelimports.patch. Sorry for the glitch) -- ___ Python tracker ___ __

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file36805/circrelimports.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: And this is a full patch. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file36804/import_from_tests2.diff ___ Python tracker

[issue15855] memoryview methods and data members are missing docstrings

2014-10-04 Thread R. David Murray
R. David Murray added the comment: It looks like there is nothing left to do here and the issue was left open by mistake. If I'm wrong, someone can reopen it with a note as to what remains to be done (or open a new issue). -- nosy: +r.david.murray resolution: -> fixed stage: commit r

[issue11866] race condition in threading._newname()

2014-10-04 Thread R. David Murray
R. David Murray added the comment: I committed a version of this that uses Raymond's suggestion and also makes sure that the first thread is named Thread-1 as it has been in the past (there was a test failure without that fix, but I also think it makes sense for it to be Thread-1 since one wou

[issue11866] race condition in threading._newname()

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6b4add67168 by R David Murray in branch '2.7': #11866: Eliminate race condition in the computation of names for new threads. https://hg.python.org/cpython/rev/a6b4add67168 New changeset a6906b9e21d5 by R David Murray in branch '3.4': #11866: Elimin

[issue6396] '' % object() raises TypeError

2014-10-04 Thread Francis MB
Changes by Francis MB : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is Brett's tests patch updated against default branch. -- nosy: +pitrou Added file: http://bugs.python.org/file36803/import_from_tests2.diff ___ Python tracker ___

[issue11582] Boilerplate code replaced in Python/ceval.c

2014-10-04 Thread Francis MB
Changes by Francis MB : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: test needed -> needs patch versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-b

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue19689] ssl.create_default_context()

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2014-10-04 Thread Francis MB
Changes by Francis MB : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2014-10-04 Thread Fabian
Fabian added the comment: I can confirm this on 3.4.1 and is really annoying. But the patch should set '_is_raw_payload' to False if the payload is set via 'set_payload' (the operations in 'set_raw_payload' need to be switched). -- nosy: +xZise ___

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +Marcus.Smith, dstufft, ncoghlan, pmoore priority: normal -> critical stage: -> needs patch versions: +Python 3.5 ___ Python tracker ___ ___

[issue21173] WeakKeyDictionary.__len__ fragile w/ _IterationGuards

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for reporting this. Here is a patch with tests. -- stage: -> patch review versions: +Python 3.5 -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file36802/weakdictlen.patch ___ Python tracker

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread eryksun
eryksun added the comment: >> As mentioned before, many packages can not handle paths with >> spaces. > > This is "common knowledge", yet may not be true anymore. Well, see issue 21699. pip 1.5.6 is still using distlib 0.1.8, so the executable wrappers it creates are broken when the path to

[issue22554] Idle: optionally auto-pop-up completion window for names

2014-10-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Need extension config dialog before add this. Should then review completion extension for options that people might want. -- dependencies: +IDLE - Add an extension configuration dialog ___ Python tracker

[issue22554] Idle: optionally auto-pop-up completion window for names

2014-10-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: Currently auto popup after delay only after '.' or in a string. -- components: IDLE messages: 228492 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: Idle: optionally auto-pop-up completion window for names typ

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: > As mentioned before, many packages can not handle paths with spaces. This is "common knowledge", yet may not be true anymore. See this recent python-dev thread: https://mail.python.org/pipermail/python-dev/2014-September/136434.html -- _

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Friedrich Spee von Langenfeld
Friedrich Spee von Langenfeld added the comment: As mentioned before, many packages can not handle paths with spaces. I suppose that it is because of lacking knowledge on how to prevent such bugs. What would you think? Should this piece of information be in our documentation? Or is it already

[issue21905] RuntimeError in pickle.whichmodule when sys.modules if mutated

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86ba3bdfac15 by Antoine Pitrou in branch '3.4': Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating. https://hg.python.org/cpython/rev/86ba3bdfac15 New changeset d748a3503ad5 by Antoine Pitrou in bra

[issue21905] RuntimeError in pickle.whichmodule when sys.modules if mutated

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry for the delay, Olivier. Your patch is now pushed. Thank you! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue22515] Implement partial order on Counter

2014-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This implementation obeys more set properties. -- Added file: http://bugs.python.org/file36801/issue22515_partial_order_counter_v3.diff ___ Python tracker __

[issue16314] Support xz compression in distutils

2014-10-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: eric.araujo -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue11145] '%o' % user-defined instance

2014-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, sorry. I again forgot to upload a patch. -- keywords: +patch Added file: http://bugs.python.org/file36800/issue11145.patch ___ Python tracker

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: Nobody doubts that pinging old issues helps getting some of them closed. But messages like msg228480 sound a bit pretentious, that's what Antoine is referring to. -- nosy: +georg.brandl ___ Python tracker

[issue21428] Python suddenly cares about EOLs formats on windows

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: No response, closing. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: Pardon me for breathing. As you clearly don't like the way I work would you be so kind as to reopen the issues that I've helped close in the last few months. It might bugger the stats on the bug tracker but hey ho. --

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Mark Lawrence, please stop acting like you are the project leader. If you want to make concrete contributions to Python, you're welcome. But we don't need your project management guidance. -- nosy: +pitrou ___ Pytho

[issue21965] Add support for Memory BIO to _ssl

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: One issue with the "owner" is that there is now a reference cycle between SSLSocket and SSLObject (something which the original design is careful to avoid by using weakrefs in the _ssl module). -- ___ Python tracker

[issue1284316] Win32: Security problem with default installation directory

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: I'm concerned that 3.5 is creeping ever closer and I wouldn't like to see work done on the installer backed out at the 11th hour because there has been no agreement here. Does this need a discussion on python-dev? For that matter has there been one already th

[issue21428] Python suddenly cares about EOLs formats on windows

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: Can we please have a response to the question put in msg218050 so we can investigate? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue11145] '%o' % user-defined instance

2014-10-04 Thread Francis MB
Francis MB added the comment: Do have I overseen the patch? or may be doing something wrong? or isn't anything uploaded? -- ___ Python tracker ___ ___

[issue22515] Implement partial order on Counter

2014-10-04 Thread Ethan Furman
Ethan Furman added the comment: We are not "rushing into code", we are getting some code, and tests, written to help define what we are talking about. So far the feedback has given some more tests to add, and some things to change (such as only comparing with other Counters). The big question

[issue19960] MacOSX: Building 2.7 without the xcode command line tools installed

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: Just a reminder that a patch review is needed here guys. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue19905] Add 128-bit integer support to ctypes

2014-10-04 Thread Mark Lawrence
Mark Lawrence added the comment: This won't go anywhere until a patch is provided on #19904 as requested in msg205765. -- nosy: +BreamoreBoy versions: -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker __

[issue22194] access to cdecimal / libmpdec API

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, we have realized that pure C code brought less than a 2x speedup compared to straightforward Python code, so cdecimal support has become a low-priority concern for Numba. For the curious, the C code is from libmpdec's own benchmark (Web site se

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry for the delay. I simplified the patch a tiny bit ("yield from" wasn't needed, it was sufficient to result the itertools.chain.from_iterable() result), and committed it. Thank you! -- resolution: -> fixed stage: patch review -> resolved status: o

[issue11694] xdrlib raises ConversionError in inconsistent way

2014-10-04 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f87c2c4f03da by Antoine Pitrou in branch 'default': Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize* https://hg.python.org/cpython/rev/f87c2c4f03da -- nosy: +python-dev ___ Python t

[issue20516] Concurrent.futures base concurrency improvement (with patch)

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Woops. Thanks for noticing, Claudiu. I guess someone can take over the patch and finish the work, then :-) -- ___ Python tracker ___ __

[issue20516] Concurrent.futures base concurrency improvement (with patch)

2014-10-04 Thread Claudiu Popa
Claudiu Popa added the comment: I'm not sure that Glenn receives this, he is not in the nosy list. 2014-07-18 16:45:36 glangford set nosy: - glangford -- nosy: +Claudiu.Popa ___ Python tracker __

[issue20516] Concurrent.futures base concurrency improvement (with patch)

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Glenn, are you willing to update your patch to address the review comments? (I'm assuming you have been notified of them... if not, you can access the code review tool by clicking the "review" links near your patch) -- _

[issue18043] No mention of `match.regs` in `re` documentation

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: IOW: it was already intentionally undocumented back then, and only added for compatibility reasons. Probably should be deprecated and removed at some point. -- resolution: -> wont fix status: open -> closed ___ Pytho

[issue18043] No mention of `match.regs` in `re` documentation

2014-10-04 Thread Matthew Barnett
Matthew Barnett added the comment: There's an interesting bit of history here: http://www.gossamer-threads.com/lists/python/dev/236584 -- ___ Python tracker ___

[issue11145] '%o' % user-defined instance

2014-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes this issue. Now ValueError with relevant message is raised instead of SystemError or crash. -- nosy: +serhiy.storchaka stage: -> patch review type: behavior -> crash ___ Python tracker

[issue22553] Diagram issue

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: Hi Eric, this paragraph is about slices, where you *can* do >>> word[0:6] 'Python' As such, the paragraph is correct. -- nosy: +georg.brandl resolution: -> not a bug status: open -> closed ___ Python tracker

[issue22553] Diagram issue

2014-10-04 Thread Eric Fulton
New submission from Eric Fulton: I believe the diagram showing how slices works from https://docs.python.org/2/tutorial/introduction.html is incorrect. There should be no 6. >>> word = 'Python' >>> word[6] IndexError: string index out of range Original: +---+---+---+---+---+---+ | P | y

[issue22515] Implement partial order on Counter

2014-10-04 Thread Ram Rachum
Ram Rachum added the comment: Hi everybody, I agree we have a mess on our hands, with lots of cases where comparison is weird. To be honest I've given up on `collections.Counter` at this point. The fact that it's a "hybrid mapping/multiset" is the cause of all the problems, so I just made my

[issue22515] Implement partial order on Counter

2014-10-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 04/10/2014 17:24, Steven D'Aprano a écrit : > > I know that in general discussions do not need a PEP, but we seem to be > rushing awfully fast into writing code before we even know what the code > is supposed to do. Writing a patch is useful practice becau

[issue22515] Implement partial order on Counter

2014-10-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sat, Oct 04, 2014 at 10:43:02AM +, Antoine Pitrou wrote: > Just because something is discussed doesn't mean it needs a PEP. I know that in general discussions do not need a PEP, but we seem to be rushing awfully fast into writing code before we even kn

[issue11145] '%o' % user-defined instance

2014-10-04 Thread Francis MB
Francis MB added the comment: Just updating the type to 'behavior'. I can still reproduce this issue: $ python2.7 Python 2.7.8 (default, Sep 9 2014, 22:08:43) [GCC 4.9.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class Y(long): ... def __oct__(sel

[issue20267] TemporaryDirectory does not resolve path when created using a relative path

2014-10-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Should I use os.path.realpath? I don't see other way. But there is other issue. Following code works now, but will fail with the patch: import os, tempfile os.mkdir('parent') os.chdir('parent') t = tempfile.TemporaryDirectory(dir=".") os.rename('../parent

  1   2   >