[issue23382] Maybe can not shutdown ThreadPoolExecutor when call the method of shutdown

2015-02-27 Thread miles
miles added the comment: The attachment includes the patch file -- keywords: +patch nosy: +milesli Added file: http://bugs.python.org/file38274/thread.py.patch ___ Python tracker ___

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Georg Brandl
Georg Brandl added the comment: I agree with Edward. The table makes no distinction between the two group of builtins, so it is confusing why it would list them not in alphabetical order. I wouldn't go so far as to call it "disrespectful" though :) -- nosy: +georg.brandl _

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-02-27 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-02-27 Thread eryksun
eryksun added the comment: > Well, we already expose CPU affinity: > > >>> import os > >>> os.sched_getaffinity(0) > {0} os.sched_getaffinity only exists on some POSIX systems, such as Linux. For Windows, here's a ctypes version of sched_getaffinity and sched_setaffinity: import sys f

[issue23525] isbuiltin, isroutine, etc.

2015-02-27 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue23254] Document how to close the TCPServer listening socket

2015-02-27 Thread R. David Murray
R. David Murray added the comment: In general documentation changes go in all maintained versions (ie: right now that would be 2.7, 3.4, and default/3.5). The only exception, really, would be if the change didn't apply to one or more of the versions because of code differences. (Note: I have

[issue22853] Multiprocessing.Queue._feed deadlocks on import

2015-02-27 Thread Davin Potts
Changes by Davin Potts : Added file: http://bugs.python.org/file38273/issue_22853_only_test_import_lock_in_queue_py34_and_py35.patch ___ Python tracker ___ _

[issue22853] Multiprocessing.Queue._feed deadlocks on import

2015-02-27 Thread Davin Potts
Davin Potts added the comment: Attaching a patch for 2.7 that applies Florian's fix and provides a test for it as well. Although the issue is not triggered on 3.4 or default (3.5), there is the potential for regression there -- attaching a single patch that works for both 3.4 and 3.5 to provi

[issue23544] IDLE hangs when selecting Stack View with debug active

2015-02-27 Thread Andrew Harrington
Andrew Harrington added the comment: I was using this without looking at documentation, as a newbies would. Graying and disabling until after an exception makes sense, but even the menu item name is misleading: any time the program is running there is a stack that you might want to view. Bette

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: > Also, I think OPTIONS should be removed from the list of methods that enforce > a Content-Length. I wouldn’t normally expect any payload for OPTIONS, since > RFC 7231 explicitly says it does not define a use for a payload, but requires > a Content-Type if a p

[issue23529] Limit decompressed data when reading from LZMAFile and BZ2File

2015-02-27 Thread Martin Panter
Martin Panter added the comment: ## BufferedReader.peek() ## See , but basically my concern is that the documentation says “the number of bytes returned may be less or more than requested”, without any mention of EOF or other conditions. ## Buffer s

[issue23528] Limit decompressed data when reading from GzipFile

2015-02-27 Thread Martin Panter
Martin Panter added the comment: Perhaps we should move the discussion of a common base class to Issue 23529. I only opened this as a separate issue because I thought it might be appropriate as a bug fix for 3.4. -- ___ Python tracker

[issue23254] Document how to close the TCPServer listening socket

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: LGTM. I'm not sure whether or not it's eligible for 3.4 though as it's a documentation and not a functional fix. -- stage: patch review -> commit review ___ Python tracker

[issue23254] Document how to close the TCPServer listening socket

2015-02-27 Thread Martin Panter
Martin Panter added the comment: Posting server_close.v2.patch, which tests fileno(), and uses a single space between the new sentences. Also added a bit to the how-to at the top (using doubly-spaced sentences to match the rest of the paragraph). -- Added file: http://bugs.python.org/f

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Yup, that sounds right! ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Ok, if I don't finish it today, I *will* finish it tomorrow. Or Sunday. Sunday is the latest, though I'm pretty sure I'll be done by Saturday. Hardest part is likely going to be re-configuring the Android emulator to test it. Cyd (and anyone else who can), do

[issue23512] The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread R. David Murray
Changes by R. David Murray : -- title: The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html -> The list of built-in functions is not alphabetical on https://docs.python.org/2/library/functions.html ___

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Steve Dower
Steve Dower added the comment: Yeah, I don't get anything helpful out of that, except that it seems wine hasn't implemented some of the APIs that it needs to run the installer. You may get a more helpful response from one of their devs, but I'm well out of my depth sorry. --

[issue23543] encoding error trying to save string to file

2015-02-27 Thread Martin Panter
Martin Panter added the comment: Python 3 will only use UTF-8 encoding if you ask it to, or if the default locale encoding happens to be UTF-8. I suspect one of the file names in the “hay” list must contain a Unicode hyphen (U+2010), and your default encoding is some single byte encoding that

[issue22853] Multiprocessing.Queue._feed deadlocks on import

2015-02-27 Thread Davin Potts
Davin Potts added the comment: Confirmed that the issue can be reproduced under 2.7.9 on OS X 10.10. It is not possible to reproduce the issue with default (3.5) -- taking a look at what's different there, notably the import of is_exiting has moved to the top of the queues module and is no lon

[issue23544] IDLE hangs when selecting Stack View with debug active

2015-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified on Windows whenever the debugger is active, meaning that a program is running. (Debug On just means that it will become active when code is run.) No stepping is needed; debugger can be pointing to the inital docstring line. For me also, Idle stops a

[issue23512] The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Carlo Beccarini
Carlo Beccarini added the comment: Maybe we could put them in another table below the current one. -- ___ Python tracker ___ ___ Pytho

[issue23545] Turn on extra warnings on GCC

2015-02-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: What if make GCC emit extra warnings? Adding following options: -Wall -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers will make GCC emit all warnings except few types that would produce too many warnings. With these option

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread James Rutherford
James Rutherford added the comment: The first patch should actually be modified so the condition reads (update attached): if body is None and method_expects_body: thelen = 0 elif body is not None: ... Demian, I believe this is equivalent to your 'expecting_len' proposal

[issue22791] datetime.utcfromtimestamp() shoud have option for create tz aware datetime

2015-02-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I like Akira's documentation patch. Will apply unless hear objections from documentation folks. -- assignee: -> belopolsky components: +Documentation -Library (Lib) ___ Python tracker

[issue23544] IDLE hangs with debug on and stack viewer

2015-02-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the detailed report. The problem is more general as it is reproducible on Linux X11-based IDLEs as well. -- components: -Macintosh nosy: -ronaldoussoren title: Idle stacker viewer crash OSX -> IDLE hangs with debug on and stack viewer versions

[issue23544] IDLE hangs with debug on and stack viewer

2015-02-27 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Martin Panter
Martin Panter added the comment: I like Demian’s “expecting_len” technique slightly better because it would avoid calling None.fileno() and len(None), as Demian just said. Also, I think OPTIONS should be removed from the list of methods that enforce a Content-Length. I wouldn’t normally expect

[issue23512] The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Edward D'Souza
Edward D'Souza added the comment: Doesn't make sense to me. The page says "They are listed here in alphabetical order.", which isn't true. Furthermore, not putting them in order screws up people who assume it is in alphabetical order and try to search for a function with their eyes. If they

[issue23520] test_os failed (python-3.4.3, Linux SuSE)

2015-02-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: test_os failed (python-3.4.3) -> test_os failed (python-3.4.3, Linux SuSE) ___ Python tracker ___ _

[issue23512] The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The table was deliberately created as it is and I think it should be left as is. Those four functions appear 'out of order' in a separate section "3. Non-essential Built-in Functions". -- nosy: +terry.reedy stage: -> needs patch

[issue23543] encoding error trying to save string to file

2015-02-27 Thread STINNER Victor
STINNER Victor added the comment: Please provide the full traceback. The error can come from a lot of functions. Which function fails? -- ___ Python tracker ___ _

[issue23541] Re module's match() fails to halt on a particular input

2015-02-27 Thread Matthew Barnett
Matthew Barnett added the comment: The problem is with the "(\w+\s*)+". \s* can match an empty string, so when matching a word it's like "(\w+)+". If you have n letters, there are 2**n ways it could match, and if what follows never matches, it'll try all of them. It _will_ finish, eventually.

[issue23544] Idle stacker viewer crash OSX

2015-02-27 Thread SilentGhost
Changes by SilentGhost : -- components: +Macintosh nosy: +kbk, ned.deily, roger.serwy, ronaldoussoren, terry.reedy ___ Python tracker ___

[issue23544] Idle stacker viewer crash OSX

2015-02-27 Thread Andrew Harrington
New submission from Andrew Harrington: 1. In idle 3.4.3, OSX 10.10, active state Tk 8.5.17, starting data: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin 2. start debugger, open very simple demo file, attached: 3. run, so debug

[issue23543] encoding error trying to save string to file

2015-02-27 Thread Rosa Maria
New submission from Rosa Maria: I made a program to read which files are in a windows folder, and saves in a file in order to print it, but when it tries to write in a file the following error appears: UnicodeEncodeError: 'charmap' codec can't encode character '\u2010' in position 8: chara

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: > The logic now is as it was before, except that we set a content length of > zero if the body is None and the method is one of OPTIONS, PATCH, PUT, or > POST. I see we definitely have similar thinking on the modifications required for this, but I don’t think

[issue23488] Random objects twice as big as necessary on 64-bit builds

2015-02-27 Thread Mark Dickinson
Mark Dickinson added the comment: > see my old issue #17884 ... and you can also re-read my explanations in that issue about why simply using uint32_t and int32_t doesn't work! We need something like PY_UINT32_T (and co) for portability. The only part of #17884 that's still valid is that it

[issue23262] webbrowser module broken with Firefox 36+

2015-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May it is time to drop support of SeaMonkey 1.x and systems released 8 years ago. But then we should drop the support of browsers "netsape", "mozilla", "firebird". And this should be documented somewhere. -- ___ P

[issue23512] The list of built-in http://text-processing.com/demo/sentiments is not alphabetical on https://docs.python.org/2/library/functions.html

2015-02-27 Thread Carlo Beccarini
Carlo Beccarini added the comment: Well, these built-in are considered as non essential. -- nosy: +Paradisee title: List of builtins is not alphabetical on https://docs.python.org/2/library/functions.html -> The list of built-in http://text-processing.com/demo/sentiments is not alphabe

[issue23523] cmath.atanh has wrong output

2015-02-27 Thread Mark Dickinson
Mark Dickinson added the comment: > Both are correct Well, strictly speaking only the output with positive imaginary part is correct here: the recommendations of C99 Annex G (which Python's cmath module follows) use the sign of the zero imaginary part to determine which 'side' of the branch cu

[issue23542] Update PEP 476 for using urllib2.build_opener()

2015-02-27 Thread Shakeel Mohamed
New submission from Shakeel Mohamed: In the "Opting Out" section of PEP 476, there's a workaround for disabling SSL cert verification. I think it would be worth updating the section to include the following workaround when using urllib2.build_opener(), like so: unverified_ssl_handler = urlli

[issue23535] os.path.join() wrong concatenation of "C:" on Windows

2015-02-27 Thread Eugene Bright
Eugene Bright added the comment: Sorry for disturbing. I'll read docs more careful next time. -- ___ Python tracker ___ ___ Python-bug

[issue23541] Re module's match() fails to halt on a particular input

2015-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Minimal example for your case is re.match(r'(\w+\s*)+\s+\d+', 'Compiling Regular Patterns to Sequential Machines') It doesn't halt, it just needs too long time to finish. Your should rewrite the regular expression to avoid catastrophic backtracking (http:/

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: My concern about this is around the combination of the following two passages: draft-ietf-httpbis-p2-semantics-14, Section 7.3: > Bodies on GET requests have no defined semantics. Note that sending > a body on a GET request might cause some existing impleme

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread James Rutherford
James Rutherford added the comment: Patch attached for the 2.7 branch, including updated tests. All tests pass. Let me know if this looks like a sensible approach and I'll produce something comparable for 3.X. The logic now is as it was before, except that we set a content length of zero if

[issue22079] Ensure in PyType_Ready() that base class of static type is static

2015-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This restriction was added because bad thing could happen when statically allocated class inherits dynamically allocated class. I don't remember the number of the issue where such example was exposed, may be Alex remember it. Likely pygobject creates classes

[issue23541] Re module's match() fails to halt on a particular input

2015-02-27 Thread Ceridwen
New submission from Ceridwen: Attached is a three-line script whose third line, a call to match() for a compiled regex, fails to halt on Python 2.7 and on 3.4 (after changing ur in front of the regex string to r to accommodate the change in Unicode handling). I found it by stepping through th

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-02-27 Thread Julian Taylor
Julian Taylor added the comment: oh thats great so python already has what I want. Then just an small documentation update would be good, I'll have a go at a patch later. -- ___ Python tracker

[issue23494] adding timedelta to datetime object is not timezone aware

2015-02-27 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-02-27 Thread Charles-François Natali
Charles-François Natali added the comment: Well, we already expose CPU affinity: >>> import os >>> os.sched_getaffinity(0) {0} IMO the current implementation is sufficient (and talking about overcommitting for CPU is a bit moot if you're using virtual machine anyways). The current documentatio

[issue23262] webbrowser module broken with Firefox 36+

2015-02-27 Thread bazwal
bazwal added the comment: > this will break the support of IceApe on Debian Etch Is Python committed to supporting obsolete Debian releases? The latest oldstable Debian release (6.0 Squeeze) has iceape-2.0.11 [1], which does seem to support the -new-window and -new-tab options (I haven't actua

[issue19075] Add sorting algorithm visualization to turtledemo

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Yup. Also updated the turtledemo docs. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19075] Add sorting algorithm visualization to turtledemo

2015-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Have you tested it both standalone and within the turtledemo app? -- stage: -> patch review versions: -Python 3.4 ___ Python tracker ___ _

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Link Mauve
Link Mauve added the comment: The installer runs, but the first screen doesn’t display any of its buttons (I can still click on them). After trying to start the actual installation, I get “0x80070005 - Access Denied” (despite having the permissions on my wine folder, of course). Whether I se

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread James Rutherford
James Rutherford added the comment: OK, I've got a patch but it's failing on 'test_send_file'[1], which is sending a body on a GET request. According to the IETF memo[2]: Bodies on GET requests have no defined semantics. Note that sending a body on a GET request might cause some existing

[issue23532] add example of 'first match wins' to regex "|" documentation?

2015-02-27 Thread Matthew Barnett
Matthew Barnett added the comment: Not quite all. POSIX regexes will always look for the longest match, so the order of the alternatives doesn't matter, i.e. x|xy would give the same result as xy|x. -- ___ Python tracker

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Sounds great! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Cyd Haselton
Cyd Haselton added the comment: How does this sound? * I'll clone the fork of the 3.4 branch I made in github, build and patch. * Ryan will (as best as he can) grab said patches, regenerate them for the bug tracker or forward port them to 3.5 (in github? to Mercurial) * I'll figure out the upgra

[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

2015-02-27 Thread Steve Dower
Steve Dower added the comment: Builds fine on Ubuntu (sample size = 1, but it's about the best I can manage myself :) ) -- ___ Python tracker ___ ___

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread James Rutherford
James Rutherford added the comment: OK, thanks. -- versions: -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mail

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Steve Dower
Steve Dower added the comment: You should just run it directly - it isn't an MSI. As I said, wine is probably not compatible with the new CRT version yet, but without at least an error message, it's impossible to tell. -- ___ Python tracker

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: > I'm assuming this affects all Python 3.X versions but I've specifically > encountered it on Python 2.7. Unless there are any core dev objections, I think it's applicable to 2.7, 3.4 and 3.5 as other minor 3.x versions are in security mode (https://docs.pytho

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Link Mauve
Link Mauve added the comment: I just tried it with wine-git, it doesn’t go further either by running the exe directly, or by running msiexec.exe /i on it. Is there anything else required to run it? -- ___ Python tracker

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Steve Dower
Steve Dower added the comment: The new installer can also be used for that, and it's actually documented now (at least in the CHM - doesn't seem to have made it onto the website yet). I personally install it onto many computers at once fairly often, so I'm going to make sure that works. The o

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread James Rutherford
James Rutherford added the comment: Thanks for setting up the new issue, I'll cook up a patch. I'm assuming this affects all Python 3.X versions but I've specifically encountered it on Python 2.7. -- nosy: +jimr versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___

[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

2015-02-27 Thread Steve Dower
Steve Dower added the comment: New patch, which should cover all the other uses of _PyVerify_fd outside of posixmodule. I've moved _PyVerify_fd into fileutils (but left _PyVerify_fd_dup2 in posixmodule, as it's basically deprecated at this point). _Py_VERIFY_FD is now in fileutils.h, and is u

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: I'm afraid I know next to nothing about git, so cannot help there. I would think that it wouldn't be too hard for someone (such as Ryan or myself) to forward port a set of 3.4.2 patches to 3.5 -- so whatever is easiest for you. -- __

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Link Mauve
Link Mauve added the comment: Maybe you could continue to distribute the msi? I’ve also heard it’s used by Windows admins to install something on many computers at once. -- ___ Python tracker

[issue23540] Proposal for asyncio: SubprocessTransport.detach() to detach a process from a transport

2015-02-27 Thread Martin Richard
New submission from Martin Richard: I would like to add a detach() method to base_suprocess.BaseSuprocessTransport, which would release the underlying Popen object to the user, pretty much like socket.detach() detaches a socket object and returns the fd. The rationale is the following: the lif

[issue22079] Ensure in PyType_Ready() that base class of static type is static

2015-02-27 Thread Matthias Klose
Matthias Klose added the comment: reopening, this breaks some stuff in several places ... https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/1426294 -- nosy: +doko resolution: fixed -> status: closed -> open ___ Python tracker

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Steve Dower
Steve Dower added the comment: The latest wine may not be up to date enough, since the new installer (and new Python) depend on MSVC 14.0, which is still only in preview. Of course, there could be other issues, but without any more information it's very difficult to act on them. -- _

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-02-27 Thread Julian Taylor
Julian Taylor added the comment: certainly for anything that needs good control over affinity psutils is the best choice, but I'm not arguing to implement full process control in python. I only want python to provide the number of cores one can work on to make best use of the available resourc

[issue14721] httplib doesn't specify content-length header for POST requests without data

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: Thanks for the heads up Ned. James: I've created #23539 in the event that you'd like to contribute a patch. -- ___ Python tracker ___ __

[issue23539] Content-length not set for HTTP methods expecting body when body is None

2015-02-27 Thread Demian Brecht
New submission from Demian Brecht: #14721 solved setting the Content-Length header for 0-length bodies. However, it doesn't account for cases where body is None (reported by James Rutherford here: http://bugs.python.org/issue14721#msg236600). One method of solving this might be something like

[issue23538] New Windows installer in 3.5.0a1 breaks compatibility with Wine

2015-02-27 Thread Link Mauve
New submission from Link Mauve: The previous msi installer was working fine with `wine msiexec /i python*.msi`, but the new exe-based one fails with an unreadable error in latest wine. -- components: Windows messages: 236802 nosy: Link Mauve, steve.dower, tim.golden, zach.ware priority:

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Cyd Haselton
Cyd Haselton added the comment: Stefan, I wouldn't know if they're reported to the same bug tracker...it's possible they aren't. Additionally it's possible that the lack of locale support in libc isn't considered a bug. Ethan, Given Victor's recommendation of using the dev branch and the fact

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: I will work on the build slave (note: it will definitely be /work/ so if anyone has the resource and know-how to just do it, I will not be offended ;) . -- ___ Python tracker __

[issue22890] StringIO.StringIO pickled in 2.7 is not unpickleable on 3.x

2015-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The issue is about StringIO.StringIO, not io.StringIO. -- ___ Python tracker ___ ___ Python-bugs-l

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: I'll try to do as much as I can to get this through. Once I reinstall the NDK (I accidently wiped my hard drive with a bad dd command recently), I'll test this on my old Android phone that still runs 2.3 and would be very happy if someone else can test it somet

[issue23526] Silence resource warnings in test_httplib

2015-02-27 Thread Alex Shkop
Alex Shkop added the comment: Thanks, great to hear. I'm glad to help) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2015-02-27 Thread Andy Maier
Andy Maier added the comment: Do we really think that a package on pypi solves the problem better? The discussion only shows that it is more likely we end up with multiple different packages on pypi, instead of one that is commonly agreed. I agree it is tough to get to an agreed upon approach,

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-27 Thread Brett Cannon
Brett Cannon added the comment: Thanks for catches the mistakes, guys! -- status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38c503c2c066 by Brett Cannon in branch 'default': Issue #22834: Drop a redundant comment and use errno instead of an https://hg.python.org/cpython/rev/38c503c2c066 -- ___ Python tracker

[issue23531] SSL operations cause entire process to hang

2015-02-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It creates the local "HTTP server", which is merely a dummy listen socket Sorry, I hadn't noticed. Still, the example shouldn't rely on the third party "requests" library. > Also, I would add that on further investigation this occurs on cygwin, but > not on

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-27 Thread Larry Hastings
Larry Hastings added the comment: I think I've got them all working now. Please reopen if you discover new breakage. (Or old breakage I guess if I didn't actually fix it...!) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ P

[issue23531] SSL operations cause entire process to hang

2015-02-27 Thread johnkw
johnkw added the comment: Not sure what you mean. That is a standalone example. It creates the local "HTTP server", which is merely a dummy listen socket. The whole point is just to have something that does a slow I/O operation, and simply not responding is sufficient for that to reproduce the

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

2015-02-27 Thread Andy Maier
Changes by Andy Maier : -- nosy: +andymaier ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue22853] Multiprocessing.Queue._feed deadlocks on import

2015-02-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Davin I believe that you're interested in multiprocessing issues. -- nosy: +BreamoreBoy, davin ___ Python tracker ___ __

[issue23537] BaseSubprocessTransport includes two unused methods

2015-02-27 Thread STINNER Victor
STINNER Victor added the comment: Yeah, they are completly useless. Thanks for the report Martin. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue23537] BaseSubprocessTransport includes two unused methods

2015-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b390b5a6729 by Victor Stinner in branch '3.4': Issue #23537: Remove 2 unused private methods of asyncio.BaseSubprocessTransport https://hg.python.org/cpython/rev/0b390b5a6729 -- nosy: +python-dev ___ Pyt

[issue23526] Silence resource warnings in test_httplib

2015-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 056d71d7bb28 by Victor Stinner in branch '3.4': Issue #23526: Fix ResourceWarning in test_httplib. Patch written by Alex Shkop. https://hg.python.org/cpython/rev/056d71d7bb28 -- nosy: +python-dev ___ Pyth

[issue23526] Silence resource warnings in test_httplib

2015-02-27 Thread STINNER Victor
STINNER Victor added the comment: I applied your patch. Thanks Alex Shkop! (FYI I also added your name to Misc/ACKS.) -- ___ Python tracker ___ _

[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

2015-02-27 Thread Steve Dower
Steve Dower added the comment: That's a pretty good summation, though it misses two points. 1. _PyVerify_fd no longer compiles. 2. The process will terminate in both release builds and debug builds. (In debug builds you also get a dialog letting you attach a debugger, unless those are suppres

[issue22890] StringIO.StringIO pickled in 2.7 is not unpickleable on 3.x

2015-02-27 Thread Mark Lawrence
Mark Lawrence added the comment: Seems fine on Windows 8.1 c:\Users\Mark\Documents\MyPython>c:\cpython\PCbuild\amd64\python.exe Python 3.5.0a1+ (default:344d57c521b9+, Feb 27 2015, 13:39:56) [MSC v.1800 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more informati

[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

2015-02-27 Thread STINNER Victor
STINNER Victor added the comment: > I considered that, but then we'll be disabling the handler for calls into > external modules (assuming whatever pyd layer exists is doing its job > correctly), which is exactly where the error is most relevant. Hum ok. So I try to rephrase the issue. When P

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-02-27 Thread Demian Brecht
Changes by Demian Brecht : Added file: http://bugs.python.org/file38262/issue23138_27.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-02-27 Thread Demian Brecht
Changes by Demian Brecht : Added file: http://bugs.python.org/file38261/issue23138_34.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-02-27 Thread Demian Brecht
Demian Brecht added the comment: Attached is a fix that ignores the entire invalid cookie as defined in RFC 6265, Section 5.2. I'm also attaching patches for maintenance branches as it's a valid bug (NAME=VALUE pairs are required across all RFCs), although it would break backwards compatibilit

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-02-27 Thread Davin Potts
Davin Potts added the comment: Adding an option does sound like a better possibility. Still, when I start looking through the examples that psutil provides, it reminds me how this is but one small piece of a much larger picture which psutil has done a nice, focused job of working to address.

  1   2   >