[issue23985] Crash when deleting slices from duplicated bytearray

2015-04-16 Thread Johan Dahlberg
New submission from Johan Dahlberg: Python 3.4.3 crashes after some time when running the attached program under Windows 7. The program appends a fixed bytes "string" to two independent bytearray buffers. If slices are removed from the beginnging of the two buffers and the two buffers are prin

[issue23974] random.randrange() biased output

2015-04-16 Thread Mark Dickinson
Mark Dickinson added the comment: See also #9025, which contains a fix for this exact problem in Python 3. -- ___ Python tracker ___ _

[issue22269] Resolve distutils option conflicts with priorities

2015-04-16 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue18262] ZipInfo.external_attr are not documented

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- stage: needs patch -> patch review versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-

[issue18262] ZipInfo.external_attr are not documented

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue18262] ZipInfo.external_attr are not documented

2015-04-16 Thread Alex Lord
Alex Lord added the comment: Any follow up on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue23984] Documentation error: Descriptors

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +rhettinger versions: +Python 2.7 -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker ___ ___ Pytho

[issue23984] Documentation error: Descriptors

2015-04-16 Thread bjonnh
New submission from bjonnh: in https://docs.python.org/3.5/howto/descriptor.html#static-methods-and-class-methods (same problem in all python 3.x documentations) There is this example where the return of f function is printed and there is already a print in the function: """ >>> class E(object

[issue23980] Documentation for format units starting with 'e' is inconsistent

2015-04-16 Thread Larry Hastings
Larry Hastings added the comment: One more idea. We annotate with an & when you pass in a pointer to a variable. So format unit 'i' would get [& int], 's' would get [& char *], and 'es#' would get [char *, & char *, & int]. -- ___ Python tracker

[issue23964] Update README documentation for IDLE tests.

2015-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Although the text is aimed at people writing tests, I agree with starting with a new short section "0. Running all Idle tests". The sentence already there is specific to automated unittests. There is also a separate human-mediated test system run with "pytho

[issue22848] Subparser help does not respect SUPPRESS argument

2015-04-16 Thread paul j3
paul j3 added the comment: Giving the `subparsers` Action a `metavar` might achieve everything the proposed patch does - without any code changes. In the 1st test case: subparsers = parser.add_subparsers(title='subcommands', description='subcomman

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

2015-04-16 Thread Martin Panter
Martin Panter added the comment: Yep I think this is ready. I’ll keep your advice in mind for other patches as well :) -- stage: patch review -> commit review ___ Python tracker ___

[issue14598] _cursesmodule.c fails with ncurses-5.9 on Linux

2015-04-16 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: I rewrote the patch for Python 3.4. The configure and pyconfig.h.in were generated by autoreconf. If evaluate to the curses WINDOW doesn't have the _flags member, The configure script defines related macros and checks the member again. And removed the quick-f

[issue23983] Update example in the pty documentation

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue23980] Documentation for format units starting with 'e' is inconsistent

2015-04-16 Thread Larry Hastings
Larry Hastings added the comment: > The "e" variants (typically) allocate a buffer for you, since it's pretty > much unknown how long the encoded data will be. All four will do it if you pass in a NULL pointer. "es#" and "et#" can reuse an existing buffer, because you can also pass in its size.

[issue23982] Tkinter in Python 3.4 for Windows incorrectly renders certain colors using non-TclTk RGB values

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- components: +Windows nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Python-bugs-list m

[issue23883] __all__ lists are incomplete

2015-04-16 Thread Joel Taddei
Joel Taddei added the comment: Woops just noticed above in the issue someone else picked up the Calendar __all__. I am genuinely sorry I didn't intend to duplicate the effort. -- ___ Python tracker __

[issue22583] C stack overflow in the Python 2.7 compiler

2015-04-16 Thread Aleksandr Yeganov
Aleksandr Yeganov added the comment: This is a backport of https://bugs.python.org/issue5765. I've pretty much taken the patch directly and applied it. I did have to modify the test code to use a different method. -- keywords: +patch nosy: +ayeganov Added file: http://bugs.python.org/f

[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks, looks great. Two trivial comments about the documentation: * Needs ``.. versionadded:: 3.5`` * *dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)* -> ``dfunc(a, b, fromfile, tofile, fromfiledate, tofiledate, n, lineterm)`` --

[issue22829] Add --prompt option to venv

2015-04-16 Thread Berker Peksag
Berker Peksag added the comment: Thanks! The patch looks good to me. Some review comments: http://bugs.python.org/review/22829/ -- components: +Library (Lib) nosy: +berker.peksag stage: -> patch review type: -> enhancement ___ Python tracker

[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-16 Thread Greg Ward
Greg Ward added the comment: Just uploaded https://bugs.python.org/file39083/fa4c6160c518.diff. Pretty sure I've addressed all of @berker.peksag's review comments: thanks for that! I also fixed a number of subtle bugs in the tests. Pro tip: when asserting that something raises TypeError, insp

[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-16 Thread Greg Ward
Changes by Greg Ward : Added file: http://bugs.python.org/file39083/fa4c6160c518.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23983] Update example in the pty documentation

2015-04-16 Thread Berker Peksag
New submission from Berker Peksag: I was reading pty docs after watching a PyCon talk and the example in https://docs.python.org/3/library/pty.html#example looked a bit outdated to me. Here is a patch to update it. Changes: * Fixed a ResourceWarning warning * Used argparse instead of getopt

[issue23982] Tkinter in Python 3.4 for Windows incorrectly renders certain colors using non-TclTk RGB values

2015-04-16 Thread Martin Falatic
New submission from Martin Falatic: In Python 2.7.9 for Windows, colors displayed match their RGB values as defined in TclTk: http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm (8.6 is identical) In Python 3.4.3 for Windows, the following colors differ noticeably from their TclTk counterparts: grey

[issue23981] Update test_unicodedata.py to use script_helpers

2015-04-16 Thread Christie
Christie added the comment: @r.david.murray, just bugging you b/c you were commenting on Issue9517, this is ready for a review. It assumes the patch from Issue9517 has been applied. I'm thinking for the next issue I'll tackle a few test modules at once, since this is such a tiny tiny change se

[issue23980] Documentation for format units starting with 'e' is inconsistent

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.04.2015 01:38, Larry Hastings wrote: > > Documentation is here: > > https://docs.python.org/3/c-api/arg.html#arg-parsing > > > The first line of documentation for each format unit follows this convention: > formatunit (pythontype) [arguments

[issue23971] dict(list) and dict.fromkeys() doesn't account for 2/3 fill ratio

2015-04-16 Thread Josh Rosenberg
Josh Rosenberg added the comment: You shouldn't presize when the input is a potentially non-unique iterable. It makes sense to presize for inputs of type dict or set, but for a list, the assumption is that many duplicates will be present, since deduping is a common use case for dicts (less so

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-04-16 Thread Josh Rosenberg
Josh Rosenberg added the comment: The nature of a Pool precludes assumptions about the availability of specific objects in a forked worker process (particularly now that there are alternate methods of forking processes). Since the workers are spun up when the pool is created, objects created o

[issue23981] Update test_unicodedata.py to use script_helpers

2015-04-16 Thread Christie
Christie added the comment: I am working on this now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-04-16 Thread Christie
Christie added the comment: @r.david.murray I've created issue23981, I don't think I have permissions to add it as a dependency to this issue. -- ___ Python tracker ___ _

[issue23981] Update test_unicodedata.py to use script_helpers

2015-04-16 Thread Christie
New submission from Christie: As described in Issue9517, many test modules do not make use of the helpers in script_helpers.py to invoke the python interpreter in a subprocess. Issue9517 will be broken down into several smaller issues so we can address smaller change sets. This issue is to up

[issue23980] Documentation for format units starting with 'e' is inconsistent

2015-04-16 Thread Larry Hastings
New submission from Larry Hastings: Documentation is here: https://docs.python.org/3/c-api/arg.html#arg-parsing The first line of documentation for each format unit follows this convention: formatunit (pythontype) [arguments, to, pyarg_parsetuple] These represent the format unit itsel

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.04.2015 00:51, Donald Stufft wrote: > >> Since you need special support for such ZIP files (either using dlopen >> hacks or temporarily extracting them), you might as well deal with >> the platform dependencies in that handler. No need to force the >>

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-04-16 Thread Chris Angelico
Chris Angelico added the comment: Simple test case for the future directive. Needs expansion. -- Added file: http://bugs.python.org/file39079/test_pep479.py ___ Python tracker __

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-04-16 Thread Luis
New submission from Luis: Hi, I've seen an odd behavior for multiprocessing Pool in Linux/MacOS: - import multiprocessing as mp from sys import getsizeof import numpy as np def f_test(x): print('process has received argument %s' % x ) r = x[:100] # return w

[issue23978] ttk.Style.element_create using incorrect tk.call syntax

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +gpolo, serhiy.storchaka type: crash -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset e532937914fc by R David Murray in branch 'default': #16914: fix test errors under -W error::BytesWarning. https://hg.python.org/cpython/rev/e532937914fc -- ___ Python tracker

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Whatever you do, you're still going to force all your main users to > download things they don't need, so I don't see the argument of > optimizing downloads or caches. pip caches downloads by default, many systems are starting to utilize that cache in order to

[issue23978] ttk.Style.element_create using incorrect tk.call syntax

2015-04-16 Thread jmorgensen
New submission from jmorgensen: Style.element_create passes all spec elements as a single string into tk.call rather than breaking up arguments into "words." However, it passes the options properly as a list. This causes python to crash with a stacktrace like the one below. > def element_crea

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 20:21, Ned Deily wrote: > > Ned Deily added the comment: > >> No, PEP 3149 is about the Python ABI, following PEP 3147, >> which implements this for PYC files. > >> The intent is to be able to have mutliple *Python* ABI/API versions >> instal

[issue23977] Enhancing IDLE's test_delegator.py unit test

2015-04-16 Thread Al Sweigart
New submission from Al Sweigart: As part of trying to understand the IDLE codebase, I'm taking a look at IDLE's unit tests. -Added more specific messages when test_delegator.py's assertions fail. -Added detail to the comments. -Added an explicit test of the resetcache() method (which before was

[issue23975] numbers.Rational implements __float__ incorrectly

2015-04-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 20:17, Donald Stufft wrote: > > Donald Stufft added the comment: > >> Well, it's even more wasteful if you have to download 100MB wheels >> with all the different platforms when the dedicated wheel would just >> need 1.5MB. > > I think it's g

[issue23970] Update distutils.msvccompiler for VC14

2015-04-16 Thread Steve Dower
Steve Dower added the comment: So it looks like what I should do is use the include_dirs and library_dirs members from CCompiler so they can be set through other properties. The extra arguments are passed into compile() as extra_preargs and extra_postargs, though I'm not entirely sure where th

[issue23903] Generate PC/python3.def by scraping headers

2015-04-16 Thread Steve Dower
Steve Dower added the comment: That would be the preferred way to do it, but we got no traction from anyone at PyCon or on python-dev when we tried to get people to look at what's changed. I suspect we haven't marketed the stable API well enough to have a lot of users, and the build tools stil

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Since the direction we are heading seems to toward deprecating linux_distribution (see http://bugs.python.org/issue1322#msg207427), I think this issue should be closed. -- nosy: +r.david.murray ___ Python tracker

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

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Martin, if you think the patch is complete and ready to commit, please change the stage to commit review. I'm trying to encourage core devs to look at the patches in commit review state and commit them :) -- nosy: +r.david.murray ___

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Thanks Gavin and Maciej. I can tell it is the end of the sprints...my brain is fuzzy and I forgot both the news item and missed the missing versionchanged when I reviewed -- resolution: -> fixed stage: patch review -> resolved status: open -> cl

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 724473a18ada by R David Murray in branch 'default': #16914: reflow paragraph and add missing versionchanged. https://hg.python.org/cpython/rev/724473a18ada -- ___ Python tracker

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65037930edb0 by R David Murray in branch 'default': #16914: add timestamps to smtplib debugging output via new debuglevel 2. https://hg.python.org/cpython/rev/65037930edb0 -- nosy: +python-dev ___ Python

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset de19c0ffe8d5 by R David Murray in branch 'default': News item for #16914. https://hg.python.org/cpython/rev/de19c0ffe8d5 -- ___ Python tracker

[issue23976] ZipFile.writestr implies non-regular files

2015-04-16 Thread D. Alphus
New submission from D. Alphus: When ZipFile.writestr is called with arcname as its first parameter, it creates a ZipInfo object that has 0o0600 << 16 as its external_attr. Files created with write generally have 0o0100600 (S_IFREG is set indicating a regular file). Some archive managers (like

[issue19494] Add urllib2.HTTPBasicPriorAuthHandler for use with APIs that don't return 401 errors

2015-04-16 Thread Akshit Khurana
Changes by Akshit Khurana : -- nosy: +axitkhurana ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19494] Add urllib2.HTTPBasicPriorAuthHandler for use with APIs that don't return 401 errors

2015-04-16 Thread R. David Murray
R. David Murray added the comment: The commit just made re-engineers the new API to generalize it. Now we can fully support the "MAY preemptively send" part of the rfc, even when doing the normal 401 dance for the first request. This is accomplished through a new password manager instead of

[issue7159] Urllib2 authentication memory.

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b9e81cb83bc by R David Murray in branch 'default': #7159: generalize urllib prior auth support. https://hg.python.org/cpython/rev/1b9e81cb83bc -- nosy: +python-dev ___ Python tracker

[issue19494] Add urllib2.HTTPBasicPriorAuthHandler for use with APIs that don't return 401 errors

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b9e81cb83bc by R David Murray in branch 'default': #7159: generalize urllib prior auth support. https://hg.python.org/cpython/rev/1b9e81cb83bc -- ___ Python tracker _

[issue23975] numbers.Rational implements __float__ incorrectly

2015-04-16 Thread Wolfgang Maier
New submission from Wolfgang Maier: numbers.Rational defines __float__ like this: def __float__(self): """float(self) = self.numerator / self.denominator It's important that this conversion use the integer's "true" division rather than casting one side to float before dividing s

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Maciej Szulik
Maciej Szulik added the comment: Review comments addressed in latest patch. -- Added file: http://bugs.python.org/file39077/issue16914.patch ___ Python tracker ___ __

[issue23974] random.randrange() biased output

2015-04-16 Thread Christopher Gurnee
Christopher Gurnee added the comment: I shouldn't have called this a rounding error issue, that's not really what it is. A smaller example might help. If I'm given a random int, x, in the range [0, 12), and asked to produce from it a random int, y, in the range (0,8], I've got (at least?) two

[issue20769] Reload() description is unclear

2015-04-16 Thread Brett Cannon
Brett Cannon added the comment: Patch LGTM. -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue23974] random.randrange() biased output

2015-04-16 Thread Skip Montanaro
Skip Montanaro added the comment: I'm completely unqualified to offer a concrete, expert opinion here, but it seems like defaulting _maxwidth to 1L<<52 should work. I have no idea of the resulting performance implications though. >>> for bpf in (45, 46, 47, 48, 49, 50, 51, 52, 53): ... print

[issue22829] Add --prompt option to venv

2015-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Based on the patch of Łukasz, I have updated it to the last revision of Python 3.5a3 (today, 16th April) stephane@sg1 ~/p/c/bin> ./python3.5 --version Python 3.5.0a3+ stephane@sg1 ~/p/c/bin> ./python3.5 Python 3.5.0a3+ (default:c969413584cf+, Apr 16 2015, 15:1

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Review comments added. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue23974] random.randrange() biased output

2015-04-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +mark.dickinson, rhettinger, serhiy.storchaka stage: -> needs patch type: -> security ___ Python tracker ___

[issue5497] openssl compileerror with original source

2015-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +steve.dower, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue5497] openssl compileerror with original source

2015-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: what's the status of this issue? about SSL and Python on Windows for the builder script. -- nosy: +matrixise ___ Python tracker ___ ___

[issue23903] Generate PC/python3.def by scraping headers

2015-04-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the approach taken in this script is incorrect. It leads to false modifications of the stable ABI, making it in fact unstable. Four examples: PyAST_FromNode does not belong to the stable ABI, because "struct _node" doesn't belong to the stable ABI (se

[issue23974] random.randrange() biased output

2015-04-16 Thread Christopher Gurnee
New submission from Christopher Gurnee: Due to an optimization in random.randrange() only in Python 2, as the stop-start range approaches 2^53 the output becomes noticeably biased. This bug also affects random.SystemRandom. For example, counting the number of even ints in a set of 10^6 random

[issue7159] Urllib2 authentication memory.

2015-04-16 Thread Akshit Khurana
Akshit Khurana added the comment: Updated code as per docs -- Added file: http://bugs.python.org/file39075/auth11.patch ___ Python tracker ___

[issue7159] Urllib2 authentication memory.

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Actually attaching the patch this time. -- Added file: http://bugs.python.org/file39074/prior_auth_docs.patch ___ Python tracker ___ ___

[issue7159] Urllib2 authentication memory.

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Here is the doc patch for the design that Akshit and I agreed to after re-consideration of the API. This eliminates the HTTPBasicPriorAuthHandler in favor of the HTTPPasswdMgrWithPriorAuth password manager and putting support for prior auth on the AbstractBa

[issue23887] HTTPError doesn't have a good "repr" representation

2015-04-16 Thread Facundo Batista
Facundo Batista added the comment: Hi Berker, I like your patch, will apply it after doing a test for it. -- ___ Python tracker ___ __

[issue23973] PEP 484 implementation

2015-04-16 Thread Guido van Rossum
New submission from Guido van Rossum: I'm creating a release blocker placeholder issue for PEP 484. I think we're going to miss alpha 4 but I am expecting to make beta 1 (and Mark Shannon, the BDFL-Delegate has promised to work within this schedule). Of course it's possible that Mark ends up r

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-04-16 Thread Guido van Rossum
Guido van Rossum added the comment: Did anyone look at this yet? The ultimate deadline would be May 24 (beta 1). But making alpha 4 (April 19) would be better. -- ___ Python tracker ___

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Ned Deily
Ned Deily added the comment: > No, PEP 3149 is about the Python ABI, following PEP 3147, > which implements this for PYC files. > The intent is to be able to have mutliple *Python* ABI/API versions > installed side-by-side, not multiple platform ABI versions :-) Well, for all practical purposes

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Well, it's even more wasteful if you have to download 100MB wheels > with all the different platforms when the dedicated wheel would just > need 1.5MB. I think it's going to vary greatly based on how many platforms you're attempting to support and how big your

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 19:44, Donald Stufft wrote: > > Donald Stufft added the comment: > >> Perhaps you can point me to some use cases where the triple >> platform tag is really useful. > > If I understand correctly (and ABI isn't my strong suite), it would be use

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 19:47, Ned Deily wrote: > > Ned Deily added the comment: > >> Antoine's ticket is the first in two decades to request being >> able to install .so extension files side-by-side, so even if >> times and platforms change, people don't seem to hav

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Ned Deily
Ned Deily added the comment: > Antoine's ticket is the first in two decades to request being > able to install .so extension files side-by-side, so even if > times and platforms change, people don't seem to have a big > issues without this feature. That's exactly what PEP 3149 was supposed to im

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: > Perhaps you can point me to some use cases where the triple > platform tag is really useful. If I understand correctly (and ABI isn't my strong suite), it would be useful in the sense that you could utilize it to create a sort of "fat wheel" that included the

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 19:14, Marc-Andre Lemburg wrote: > However, for plain .so files that you have on your system (which will > mostly like not support more than 2-4 different architecture configurations > running at the same time), I don't currently see a need to m

[issue23970] Update distutils.msvccompiler for VC14

2015-04-16 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue16108] Include maintainer information in register/upload

2015-04-16 Thread Donald Stufft
Donald Stufft added the comment: PyPI should already handle it fine, and Warehouse certainly does. -- nosy: +dstufft ___ Python tracker ___ __

[issue23828] test_socket testCmsgTruncLen0 gets "received malformed or improperly-truncated ancillary data" warning under OS X

2015-04-16 Thread David Watson
David Watson added the comment: In this test (and nearby ones), the receiver provides too little space to receive the file descriptors that are sent, so that the control message has to be truncated if it is to be received at all. The warning may indicate that the cmsghdr struct received still

[issue16108] Include maintainer information in register/upload

2015-04-16 Thread Éric Araujo
Éric Araujo added the comment: Again, if PyPI can display both pieces of information, then it will be okay to send both. The change should not break third-party indexes like devpi-server. Is there a PyPI ticket for this? -- ___ Python tracker

[issue22397] test_socket failure on AIX

2015-04-16 Thread David Watson
Changes by David Watson : -- nosy: +baikie ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-04-16 Thread Berker Peksag
Berker Peksag added the comment: Reviewing iss9517_move_script_helpers_py.patch: * Can you move script_helper.py by using "hg mv"? -- ___ Python tracker ___ _

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-16 Thread David Watson
David Watson added the comment: Sending multiple control messages at once isn't Linux-specific - the tests in question passed on FreeBSD. -- ___ Python tracker ___ _

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.04.2015 18:53, Matthias Klose wrote: > I'm disappointed that you discredit any other use case besides what you think > as > the typical use case as not real life use case. Maybe you are focused on x86 > only, but if you've been to PyCon 2014, you shou

[issue16108] Include maintainer information in register/upload

2015-04-16 Thread Antti Haapala
Antti Haapala added the comment: I am the current maintainer of python-Levenshtein package on PyPI/Github, but I wrote about 0 % of the functionality; almost everything excepting bug fixes and Python 3 compatibility was written by the original author David Necas and possibly contributors; now

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-04-16 Thread Berker Peksag
Berker Peksag added the comment: Alternatively, you can import public functions from support/script_helper.py in support/__init__.py. Then you can do from test.support import assert_python_ok -- nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.5 -Python

[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-16 Thread Nick Coghlan
Nick Coghlan added the comment: I think the convert to str -> process as str -> convert back to bytes approach is a good one - it's the same one we use in urllib.parse. In this case, since we explicit need to handle mixed encodings, I also agree with the idea of using surrogate escape to make

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-04-16 Thread Christie
Christie added the comment: So @flipmcf we're sticking with the test.support.script_helper namespace? -- ___ Python tracker ___ ___ Pyt

[issue22708] httplib/http.client in method _tunnel used HTTP/1.0 CONNECT method

2015-04-16 Thread Vova
Vova added the comment: I don't know why I hardcoded version of HTTP, it was almost 6 months ago. Maybe because it just POC, or maybe because HTTP 1.0 is not allowed CONNECT method. Thank you for your patch and also for IDN support. -- ___ Python tr

[issue22980] C extension naming doesn't take bitness into account

2015-04-16 Thread Matthias Klose
Matthias Klose added the comment: On 04/16/2015 05:56 PM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > On 16.04.2015 17:30, Matthias Klose wrote: >> >> Matthias Klose added the comment: >> >> Nick filed issue #23966 to document these changes. Yes, these tags should be

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-16 Thread Maciej Szulik
Maciej Szulik added the comment: After talking to David I'm submitting the patch once again with one slight change in ACKS file (I've put the names in the sorted order). -- Added file: http://bugs.python.org/file39073/issue16914.patch ___ Python trac

[issue20179] Derby #10: Convert 50 sites to Argument Clinic across 4 files

2015-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch updated to the tip. -- Added file: http://bugs.python.org/file39072/ssl_clinic_2.patch ___ Python tracker ___ __

[issue18128] pygettext: non-standard timestamp format in POT-Creation-Date

2015-04-16 Thread R. David Murray
R. David Murray added the comment: Thanks, Michael. -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.5 ___ Python tracker __

[issue18128] pygettext: non-standard timestamp format in POT-Creation-Date

2015-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c969413584cf by R David Murray in branch 'default': #18128: use standard + timezone format in POT-Creation-Date header. https://hg.python.org/cpython/rev/c969413584cf -- nosy: +python-dev ___ Python t

  1   2   >