[issue20009] Property should expose wrapped function.
Raymond Hettinger added the comment: When using the @property decorator the wrapped functions are not exposed for source introspection. (At least I can't see how they are.) The underlying functions are already exposed as the fget, fset, and fdel attributes of property objects. Here is an example of how to access the source: class Dog: @property def age(self): return 42 if __name__ == '__main__': import inspect age_property = Dog.__dict__['age'] lines, size = inspect.getsourcelines(age_property.fget) print(''.join(lines)) -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20009 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19363] Python 2.7's future_builtins.map is not compatible with Python 3's map
Raymond Hettinger added the comment: I agree with you in principle, but it is far too late in 2.7's development to take away a capability. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19363 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20045] setup.py register --list-classifiers is broken
Giampaolo Rodola' added the comment: Thanks for fixing. =) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20045 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
Antoine Pitrou added the comment: I've discussed this once more. From islower man page: RETURN VALUES If the argument to any of the character handling macros is not in the domain of the function, the result is undefined. This is not the wording of the POSIX spec: http://pubs.opengroup.org/onlinepubs/9699919799/functions/islower.html The c argument is an int, the value of which the application shall ensure is a character representable as an unsigned char or equal to the value of the macro EOF. This means that any value between 0 and 255 (representable as an unsigned char) is a valid input for islower(). This would mean IllumOS deviates from the POSIX spec here. I would suggest either fixing your libc's ctype.h implementation, and/or patching your version of Python to workaround this issue. Note the ISO C99 standard has the same wording as POSIX: The header ctype.h declares several functions useful for classifying and mapping characters. In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall equal the value of the macro EOF. (Note also that under Linux and most likely other Unices, string.lowercase and string.uppercase work fine under a UTF-8 locale) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20045] setup.py register --list-classifiers is broken
Antoine Pitrou added the comment: Thanks for fixing. =) You're welcome. Unfixed distutils regressions are painful... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20045 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
Antoine Pitrou added the comment: To elaborate yet a bit, I agree with the following statement in the aforementioned [illumos-devel] discussion thread: In further explanation, the isalpha() and friends *should* probably return false for the value 196, or any other byte with high order bit set, in UTF-8 locales. http://thread.gmane.org/gmane.os.illumos.devel/14193/focus=14206 I'll also point out that the code examples in the POSIX spec use islower() exactly like Python does (on arbitrary integers) between 0 and 255: http://pubs.opengroup.org/onlinepubs/9699919799/functions/islower.html c = (unsigned char) (rand() % 256); ... if (islower(c)) keystr[len++] = c; } ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
Antoine Pitrou added the comment: As to whether we will add a workaround for this in Python: - Python follows POSIX correctly here, and no issue was reported in mainstream OSes such as Linux, OS X or the *BSDs - this only exists in 2.7, which is in extended maintenance mode (it's the last of the 2.x series, and will probably stopped being maintained in a few years); Python 3.x doesn't have this issue - IllumOS is a rather niche OS that none of us is using, so adding a system-specific workaround doesn't sound very compelling Thanks for reporting, though. It's good to be reminded that locales and ctype.h are a rather lousy design :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
Stefan Krah added the comment: Alexander, the domain fo the function probably refers to the range [-1, 256]. C99: The header ctype.h declares several functions useful for classifying and mapping characters.166) In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall equal the value of the macro EOF. If the argument has any other value, the behavior is undefined. 2 The behavior of these functions is affected by the current locale. Those functions that have locale-specific aspects only when not in the C locale are noted below. 3 The term printing character refers to a member of a locale-specific set of characters, each of which occupies one printing position on a display device; the term control character refers to a member of a locale-specific set of characters that are not printing characters.167) All letters and digits are printing characters. Forward references: EOF (7.19.1), localization (7.11). 7.4.1 Character classification functions 1 The functions in this subclause return nonzero (true) if and only if the value of the argument c conforms to that in the description of the function. I think this agrees with what Antoine has said. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
Stefan Krah added the comment: IOW, I also support closing this issue. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20049] string.lowercase and string.uppercase can contain garbage
R. David Murray added the comment: Yes, I definitely think this falls into the category of platform bugs, and we only maintain workarounds for those for mainstream OSes. Others need to maintain their own local patches, just as for any other changes that are required to get Python working on those platforms. (A platform's status can change over time, of course, but this is the category illumos currently falls into.) -- resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20049 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19610] TypeError in distutils.command.upload
Antoine Pitrou added the comment: I don't think accepting a tuple for classifiers is a bugfix. Furthermore, the latest patch is much too intrusive and may break legitimate uses. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17325] improve organization of the PyPI distutils docs
Antoine Pitrou added the comment: This looks good to me. It may also be worth changing example URLs to use https instead of http, and mentioning the test PyPI server in the pypirc section: https://wiki.python.org/moin/TestPyPI Chris, please proceed. -- assignee: eric.araujo - chris.jerdonek nosy: +pitrou stage: patch review - commit review versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17325 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9303] Migrate sqlite3 module to _v2 API to enhance performance
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9303 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19216] stat cache for import bootstrap
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19216 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15216] Support setting the encoding on a text stream after creation
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15216 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19508] Add warning that Python doesn't verify SSL certs by default
Changes by Antoine Pitrou pit...@free.fr: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19508 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15340] OSError with import random when /dev/urandom doesn't exist (regression from 2.6)
Antoine Pitrou added the comment: 2.6 and 3.1 don't receive bug fixes anymore, closing. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15340 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19610] setup.py should allow a tuple for classifiers
Changes by Antoine Pitrou pit...@free.fr: -- stage: patch review - needs patch title: TypeError in distutils.command.upload - setup.py should allow a tuple for classifiers type: behavior - enhancement versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20033] Fix makelocalealias.py for Python 3
Antoine Pitrou added the comment: Sounds ok to me. -- assignee: - serhiy.storchaka nosy: +pitrou stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20033 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC
gudge added the comment: 1) I understand I can run a whole test suite as ./python -m test -v test_abc as mentioned in http://docs.python.org/devguide/runtests.html How do I run a particluar test case, like the test I added test_cert_time_to_seconds 2) I have a added a test case test_cert_time_to_seconds to test_ssl.py. 3) ./python -m test -v test_ssl is all PASS. 4) I will start my work on http://bugs.python.org/issue19940#msg205860. 5) The patch is attached. -- Added file: http://bugs.python.org/file33254/patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19940 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16136] Removal of VMS support
John Malmberg added the comment: Access to VMS licenses and media: 1. Hobby - non-commercial applications - Free with 1 year time-bombed license keys with free media download. A self-service mostly web based system. http://www.openvms.org/pages.php?page=Hobbyist Easiest way to get a membership ID is to join Encompasserve.org which is free. Unfortunately right now, HP is in their holiday shutdown and Encompasserve.org is being relocated from Wisconsin to Massachusetts. Both should be back available sometime in the beginning of January 2014. 2. Commercial - Company Alliance One Membership. It is my understanding that upon acceptance to the program, 1 year time-bombed license keys are available with free. Search for Alliance One on the HP site. This has been the case for well over 10 years, so VMS programmers for open source projects should normally have no problem getting current media or license keys. There are several free Alpha emulators now available for download. These are less functional versions of the commercial versions of the emulator. While there are also commercial VAX emulators that may be available, SimH VAX is free and open source. Resources: comp.os.vms newsgroup, www.openvmshobbyist.com, sourceforge GNV and vms-ports projects, encompasserve.org, and www.openvms.org GNV: GNV as packaged by HP has multiple problems. To use it at a minimum you need to install the newer Bash and Coreutils kits from the GNV sourceforge project. Read http://sourceforge.net/p/gnv/wiki/InstallingGNVPackages/ before installing the updates. Running configure scripts on GNV typically requires some hacks because most configure scripts test with out the header files, and on VMS, the header files are needed to get ANSI/ISO or X/Open behavior or bug-fixes. Otherwise the tests fail. Instructions: http://sourceforge.net/p/vms-ports/wiki/GeneratingConfigh/ As far as removing the VMS specific code, it is very likely that much of the VMS specific code is not needed for the current 8.3/8.4 versions of VMS, so it is probably better for a someone porting Python 3.x to VMS to start with clean code. If a VMS library routine is missing or does not behave properly, it is better handled with a replacement routine than by putting #ifdef in the code. -- nosy: +John.Malmberg status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16136 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19927] Path-based loaders lack a meaningful __eq__() implementation.
Larry Hastings added the comment: 1. Is this patch going to change best practice for working with ModuleSpec? 2. If we delayed it to 3.5, will users have to ignore it to work around the deficiencies of the ModuleSpec implementation in 3.4? I'm guessing the answer to both of these is well, no, not really simply because comparing ModuleSpec objects is not expected to be a regular operation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19927 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19610] setup.py should allow a tuple for classifiers
Éric Araujo added the comment: Classifiers have always been documented as a list; I don’t think a tuple makes more sense here (even if it does no harm), but more importantly I think it’s a bad idea to have a setup.py that would work in 3.5 and not in 3.2-3.4. I suggest rejecting this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19648] Empty tests in pickletester need to be implemented or removed
Changes by Antoine Pitrou pit...@free.fr: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19648 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19648] Empty tests in pickletester need to be implemented or removed
Antoine Pitrou added the comment: The patch looks fine to me. Gennadiy, could you go and sign a contributor's agreement? http://www.python.org/psf/contrib/ Thanks very much. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19648 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18379] SSLSocket.getpeercert(): OCSP and CRL DP URIs
Changes by Antoine Pitrou pit...@free.fr: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18379 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19563] Changing barry's email to ba...@python.org
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19563 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7171] Add inet_ntop and inet_pton support for Windows
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7171 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19501] Buildbot testing of 3.2 broken
Antoine Pitrou added the comment: Antoine, can you fix this on the buildmaster or need I apply the patch in the 3.2 branch? I'd rather you apply the patch in the 3.2 branch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19501 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16500] Add an 'atfork' module
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16500 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11471] If without else generates redundant jump
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +serhiy.storchaka stage: - patch review versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11471 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15826] Increased test coverage of test_glob.py
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15826 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20051] PA-RISC buildbot: compiler cannot create executables
New submission from Stefan Krah: I think the demo mode for aCC has expired on h2 | HP-UX 11iv2 | PA-RISC: bash-4.0$ cc +DD32 -o xxx xxx.c Error: Demo mode has expired. Contact your Hewlett-Packard sales office to order HP C Compiler -- keywords: buildbot messages: 206831 nosy: skrah, trent priority: normal severity: normal status: open title: PA-RISC buildbot: compiler cannot create executables type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20051 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19563] Changing barry's email to ba...@python.org
Barry A. Warsaw added the comment: Thanks for the patch! I don't care if the old email address is retained in the test data (maybe it's even a good thing those point to nonexistent addresses :). Definitely change the one in pygettext.py. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19563 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19999] test_monotonic fails on x86 OpenIndiana
Zachary Ware added the comment: I think the minimum bound for dt could stand to be relaxed very slightly, here's some results from my 64-bit Win7 box running 32-bit Python: 3.4.0b1 (default:eae6966d9734+, Dec 21 2013, 15:47:14) [MSC v.1600 32 bit (Intel)] sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') Running: import time import sys print(sys.version) print(sys.getwindowsversion()) with open(__file__) as file: print('Running:') print(file.read()) for i in range(10): # copied from test_monotonic, with regular assert and added prints t1 = time.monotonic() time.sleep(0.5) t2 = time.monotonic() dt = t2 - t1 assert t2 t1 print(i, t1, t2, dt, sep='\t') print(' assertion', 'passed' if 0.5 = dt = 1.0 else 'failed') 0 243323.5420002 243324.041 0.498999816064 assertion failed 1 243324.041 243324.54 0.499000107102 assertion failed 2 243324.54 243325.0390002 0.499000107102 assertion failed 3 243325.0390002 243325.5390002 0.5 assertion passed 4 243325.5390002 243326.038 0.498999816064 assertion failed 5 243326.038 243326.537 0.499000107102 assertion failed 6 243326.537 243327.036 0.498999816064 assertion failed 7 243327.036 243327.535 0.499000107102 assertion failed 8 243327.535 243328.035 0.5 assertion passed 9 243328.035 243328.534 0.499000107102 assertion failed I suspect there's some rounding going on somewhere, making dt usually about 0.499, not 0.5. Relaxing the condition to '0.498 dt 1.0' should be adequate, since I don't think a thousandth of a second only part of the time is enough to say there's a behavior issue. I haven't seen this fail on any buildbots, but I suspect most of them are just loaded a bit heavier than my laptop is when I see this. -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18983] Specify time unit for timeit CLI
Julian Gindi added the comment: Just wanted to check in and see if the documentation change I made is sufficient. I tried to copy the other entries for the command line arguments. Let me know if I can improve it in any way. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18983 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20052] input() crashes in 2.7.6
New submission from VeloxAmbitum: Using input(string) to read a number crashes whenever the number is 0*8* or 0*9* where * can be any number (i.e., 09, 08, and 0102393 all cause the code to crash). Crash occurs on Windows 7 x64 running 32 bit Python version 2.7.6 as a Syntax Error: Enter a number 01239123 Traceback (most recent call last): File python2.7.6 bug, line 6, in module bug() File python2.7.6 bug, line 2, in bug number = input(Enter a number\n); File string, line 1 01239123 ^ SyntaxError: invalid token Can be reproduced from: def bug(): number = input(Enter a number\n); while True: print(0*8* or 0*9* causes bug to appear (* is wildcard):\n); bug() -- components: Windows files: python2.7.6 bug.py messages: 206835 nosy: VeloxAmbitum priority: normal severity: normal status: open title: input() crashes in 2.7.6 type: crash versions: Python 2.7 Added file: http://bugs.python.org/file33255/python2.7.6 bug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20052 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20052] input() crashes in 2.7.6
Christian Heimes added the comment: It's nota bug, it's a feature. Python 2.x interprets numers with a 0 prefix as octal numbers. '8' and '9' are no valid tokens in octal notation. 010 8 10 10 http://docs.python.org/2.7/reference/lexical_analysis.html#numeric-literals -- nosy: +christian.heimes resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20052 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19927] Path-based loaders lack a meaningful __eq__() implementation.
Nick Coghlan added the comment: Yes, I think it will just make the third party idiom for testing that the right module was imported to be to check spec.origin rather than comparing specs directly. It's a nice-to-have, rather than something essential that justifies breaking feature freeze. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19927 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19927] Path-based loaders lack a meaningful __eq__() implementation.
Nick Coghlan added the comment: That is, I think the answer to both your questions is actually Yes, but it doesn't really matter due to the obscurity of the use case. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19927 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19563] Changing barry's email to ba...@python.org
Roundup Robot added the comment: New changeset f07689845f55 by Benjamin Peterson in branch '2.7': update Barry's email (closes #19563) http://hg.python.org/cpython/rev/f07689845f55 New changeset 9529c6c993fe by Benjamin Peterson in branch '3.3': update Barry's email (#19563) http://hg.python.org/cpython/rev/9529c6c993fe New changeset a3b61c770b40 by Benjamin Peterson in branch 'default': merge 3.3 (#19563) http://hg.python.org/cpython/rev/a3b61c770b40 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19563 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19422] Neither DTLS nor error for SSLSocket.sendto() of UDP socket
Vajrasky Kok added the comment: Thanks, Antoine, for the review! Attached the patch to address Antoine's concern. -- Added file: http://bugs.python.org/file33256/raises_error_on_wrap_socket_with_sock_dgram_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19422 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19999] test_monotonic fails on x86 OpenIndiana
Tim Peters added the comment: @Zach, it would be nice to know more about this. I tried your little program on a desktop box, 32-bit Windows Vista, Python 3.3.2, but I boosted the loop count to 10,000. So it ran well over an hour, with a wide variety of other loads (from 0 to 4 (of 4) cores busy). `dt` was never less than 0.5. It was exactly 0.5 9,997(!) times, and a little larger than 0.5 the remaining 3 times. Yes, I was surprised too ;-) -- nosy: +tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19734] venv and ensurepip are affected by pip environment variable settings
Roundup Robot added the comment: New changeset 7a5a4d7c564d by Nick Coghlan in branch 'default': Close #19734: ignore pip env vars in ensurepip http://hg.python.org/cpython/rev/7a5a4d7c564d -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19734 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20053] venv and ensurepip are affected by default pip config file
New submission from Nick Coghlan: In resolving issue 19734, I realised venv and ensurepip are actually in a similar situation with respect to the default pip configuration file as they were with respect to environment variables: those settings are unlikely to be appropriate for ensurepip, but pip will still pay attention to them during the bootstrapping process. However, it's a bit trickier to test, since PIP_CONFIG_FILE will be ignored (due to the resolution of issue 19734). The approach I will run with (if nobody has any better suggestions): - create a temporary directory - set os.environ[HOME] to point to that directory - create a platform appropriate file (pip\pip.ini on Windows, .pip/pip.conf elsewhere) containing the settings: [global] no-install=1 That should cause the test_venv tests to fail, just as setting PIP_NO_INSTALL in the environment caused them to fail as a test for the issue 19734 resolution. In terms of forcing pip to *ignore* the global config file, the best option I have found is setting PIP_CONFIG_FILE=/dev/null (I believe the Windows equivalent would be PIP_CONFIG_FILE=NUL). The fact the file exists means pip uses it without falling back to the default file location, while the fact it is always read as empty means it has no effect on pip's operation. I'm open to better suggestions on how to do that, but it seems like the best available option without an isolated mode equivalent in pip. -- assignee: ncoghlan messages: 206843 nosy: dstufft, ncoghlan, pmoore priority: normal severity: normal status: open title: venv and ensurepip are affected by default pip config file versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20053 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19734] venv and ensurepip are affected by pip environment variable settings
Nick Coghlan added the comment: Issue 20053 covers a related issue with ensurepip and venv being affected by the user's default pip config file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19734 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19347] PEP 453 implementation tracking issue
Nick Coghlan added the comment: Issue 20053 covers the fact that the default pip config file affects ensurepip and venv. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19347 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20053] venv and ensurepip are affected by default pip config file
Nick Coghlan added the comment: pip side counterpart, suggesting an explicit isolated mode option: https://github.com/pypa/pip/issues/1397 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20053 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19734] venv and ensurepip are affected by pip environment variable settings
Nick Coghlan added the comment: The PIP_REQUIRES_VIRTUALENV buildbot still failed: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3495/steps/test/logs/stdio This suggests both that the setting didn't get cleared as expected *and* that pip 1.5rc2 still failed to detect the pyvenv created virtual environment. -- resolution: fixed - stage: committed/rejected - needs patch status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19734 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19734] venv and ensurepip are affected by pip environment variable settings
Roundup Robot added the comment: New changeset 98d8bf13a32c by Nick Coghlan in branch 'default': Issue #19734: ignore pip env vars in ensurepip._uninstall http://hg.python.org/cpython/rev/98d8bf13a32c -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19734 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19734] venv and ensurepip are affected by pip environment variable settings
Roundup Robot added the comment: New changeset 3b3d1c312042 by Nick Coghlan in branch 'default': Issue #19734: add missing NEWS entry http://hg.python.org/cpython/rev/3b3d1c312042 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19734 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com