[issue21049] Flood of “ImportWarning: sys.meta_path is empty” after exception with socket subclass

2014-03-23 Thread Martin Panter
New submission from Martin Panter: With the code included below, and warnings enabled, I see a flood of unexpected ImportWarnings as the interpreter exits. The issue is seen with Python 3.4.0, but apparently not with 3.3.5. The issue originally happened with code using the Py Socks library

[issue21044] tempfile.TemporaryFile() shouldn't have a name attribute

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

[issue21044] tempfile.TemporaryFile() shouldn't have a name attribute

2014-03-23 Thread eryksun
eryksun added the comment: This name attribute is documented here: http://docs.python.org/3/library/io#io.FileIO.name 3.4 Source: http://hg.python.org/cpython/file/04f714765c13/Modules/_io/fileio.c#l432 In PY2, os.fdopen sets the name to ''. See the related issue 13781. Here's the workaround

[issue21048] Index 'as' in import and with statements

2014-03-23 Thread Terry J. Reedy
New submission from Terry J. Reedy: Did I forget anything? (Patch vs. 3.4) -- files: index-as.diff keywords: patch messages: 214669 nosy: terry.reedy priority: normal severity: normal stage: patch review status: open title: Index 'as' in import and with statements type: behavior versions

[issue21047] html.parser.HTMLParser: convert_charrefs should become True by default

2014-03-23 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Follow-up to issue #13633. Lib/html/parser.py still has: if convert_charrefs is _default_sentinel: convert_charrefs = False # default warnings.warn("The value of convert_charrefs will become True in " "3.5. You

[issue21046] Document formulas used in statistics

2014-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: At the top of the documentation page is a link to the pure python source code for the statistics functions. The source for the main functions is short, readable, and clear about exactly what is being done. The code for the help functions like _sum() is a

[issue21046] Document formulas used in statistics

2014-03-23 Thread Zachary Ware
New submission from Zachary Ware: >From docs@: On Sun, Mar 23, 2014 at 5:55 PM, Alex wrote: > http://docs.python.org/dev/library/statistics.html > > I know math. I ended the institute. But in Russia. Doc doesn't show me WHAT > FORMULAS are used for mean, median, median_low , etc. I canot unde

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Larry Hastings
Larry Hastings added the comment: Martin: I hadn't realized there was such a rule from Guido. Can you cite where he said that? Obviously I didn't mind accepting this patch, as it looks like it would have roughly zero maintenance cost for anyone who doesn't care about 68k. But if Guido has s

[issue21045] fix layout to generate documentation for Qt Assistant

2014-03-23 Thread Jorge Araya Navarro
New submission from Jorge Araya Navarro: Python use sphinx to generate its documentation, sphinx can generate documentation for Qt Assistant using the qthelp builder (and `qcollectiongenerator build/qthelp/Python.qhcp`). The thing is that using the default layout or static css files, the final

[issue21044] tempfile.TemporaryFile() shouldn't have a name attribute

2014-03-23 Thread Antoine Pietri
Antoine Pietri added the comment: Alternatively, if the "name" attribute can't be removed, I propose the following diff for the tarfile module: -if name is None and hasattr(fileobj, "name"): +if name is None and hasattr(fileobj, "name") and isinstance(fileobj.name, str): :-) -- _

[issue21044] tempfile.TemporaryFile() shouldn't have a name attribute

2014-03-23 Thread Antoine Pietri
New submission from Antoine Pietri: The fact that tempfile.TemporaryFile() has a "name" integer attribute causes weird behavior when interacting with libraries that rely on this attribute being a valid string for file objects. For instance, it led to this exception with the "tarfile" module, w

[issue21024] PyTypeObject tp_doc is char* instead of const char*

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

[issue21023] PyTypeObject tp_name is char* instead of const char*

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

[issue21021] PyMemberDef name is char* instead of const char*

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

[issue21022] PyMemberDef doc is char* instead of const char*

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

[issue21020] PyMethodDef ml_doc is char* instead of const char*

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

[issue21019] PyMethodDef ml_name is char* instead of const char*

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

[issue21043] Stop recommending CACert.org in the SSL documentation

2014-03-23 Thread Mark Lawrence
Changes by Mark Lawrence : -- title: Stop reccomending CACert.org in the SSL documentation -> Stop recommending CACert.org in the SSL documentation ___ Python tracker ___ __

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Alex Gaynor
Changes by Alex Gaynor : Added file: http://bugs.python.org/file34600/cacert.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Alex Gaynor
Alex Gaynor added the comment: Removed 2.7 since there's no API for getting the platform certs. -- versions: -Python 2.7 ___ Python tracker ___ _

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Alex Gaynor
Alex Gaynor added the comment: I've attempted to modernize the paragraph. -- Added file: http://bugs.python.org/file34599/cacert.diff ___ Python tracker ___ _

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: It's quite old (that paragraph) likely it was written that way because back then Python didn't have a way to load certificates. -- ___ Python tracker __

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: That whole paragraph in the documentation is weird. Usually, you don't download select root certificates from various CAs, you just elect to trust a predetermined set of root certs (the system ones, usually). I would suggest rewording it and dropping the vario

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Alex Gaynor
Changes by Alex Gaynor : -- versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: I completely agree, it seems less than good to recommend CACert. -- ___ Python tracker ___ ___ Python

[issue21043] Stop reccomending CACert.org in the SSL documentation

2014-03-23 Thread Alex Gaynor
New submission from Alex Gaynor: CACert is not in the root trust store on *any* platform that I'm aware of, and has not passed any audits. See http://lwn.net/SubscriberLink/590879/ce23ed7bab68e489/ for more background. In it's place I've added StartSSL, which is included in most (all?) root tr

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread R. David Murray
R. David Murray added the comment: There also needs to be a way to specify a different NEWS entry from the commit message first line. -- ___ Python tracker ___ _

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that the editor may be pre-filled with a skeleton: # --- Fill in the NEWS message here # (lines prefixed with '#' will be removed) Issue #xxx: # --- Additional text for the commit message below # (won't be reflected in NEWS) # --- Commit information

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Like David I don't really care, but it seems Zach's script may show promise. I think it would be nice if "news.py --commit": 1) popped up an editor window (like hg commit does) 2) processed the editor results and looked for hints of an issue number 3) automatica

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What is the size of the PyASCIIObject on x86/x64 with and without the > patch? Haven't tried on x86, but on x86-64 it's the same. If it changes it will probably get detected by the sys.getsizeof() tests. -- ___ Pyt

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: What is the size of the PyASCIIObject on x86/x64 with and without the patch? GCC and Visual Studio provide attributes to align structures. -- ___ Python tracker ___

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa2eb034c4f7 by Donald Stufft in branch 'default': Merge the patch for issue #21013 into default http://hg.python.org/cpython/rev/aa2eb034c4f7 -- ___ Python tracker __

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92efd86d1a38 by Donald Stufft in branch '3.4': Issue #21013: Enhance ssl.create_default_context() for server side contexts http://hg.python.org/cpython/rev/92efd86d1a38 -- nosy: +python-dev ___ Python tra

[issue1599254] mailbox: other programs' messages can vanish without trace

2014-03-23 Thread David Watson
David Watson added the comment: On Tue 18 Mar 2014, A.M. Kuchling wrote: > I suggest we apply the fix for #1, and for #2 just discard and > update the ToC when we lock the mailbox, ignoring other > possible routes to corruption (so no detecting the problem and > raising an ExternalClash exception

[issue21042] ctypes.util.find_library() should return full pathname instead of filename in linux

2014-03-23 Thread Hernan Grecco
New submission from Hernan Grecco: In Windows and OSX, `find_library` returns the full pathname of the library file. But on Linux, it returns just the filename. Is there a reason for this difference? For consistency, it would be better to return the full pathname in all cases. It is easy to

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: BreamoreBoy: Support for this patch comes from several properties of the patch and the way it is stated that make it easy to like it. It is well-researched, well-presented, and clearly can't have negative impact on the systems that *are* supported. This is di

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: > Can we move along, please? Indeed. Further discussion, if felt to be really necessary, should take place on python-dev. -- ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I've asked a simple question and I've *NOT* had an answer. Can we move along, please? -- ___ Python tracker ___ _

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: I've asked a simple question and I've *NOT* had an answer. Antoine's response to Larry's question "Does Python still officially support m68k?" is certainly pertinent "Certainly not. We haven't had any 68k buildbot in ages (not sure we ever had any, actually)."

[issue21041] pathlib.PurePath.parents rejects negative indexes

2014-03-23 Thread akira
New submission from akira: `pathlib.PurePath.parents` is a sequence [1] but it rejects negative indexes: >>> from pathlib import PurePath >>> PurePath('a/b/c').parents[-2] Traceback (most recent call last): ... IndexError: -2 Sequences in Python interpret negative indexes as `len(seq)

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: Mark, I already gave a reason, which was apparently not good enough for you. Nobody told you to go away from the tracker, but it's not constructive to ask for reasons why a particular patch is accepted or rejected, by the release manager no less, if you're not

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Stefan Krah
Changes by Stefan Krah : -- stage: -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mail

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 004ae1472a43 by Antoine Pitrou in branch '3.4': Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab. http://hg.python.org/cpython/rev/004ae1472a43 New changeset 0128b25068de by Antoine Pitrou in branch 'default': Issue

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the patch, then. Thank you, Andreas. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2014-03-23 Thread akira
akira added the comment: Antoine, I haven't received the e-mail notification. I've replied to the comments on Rietveld. Here's the updated patch with the corresponding changes. -- Added file: http://bugs.python.org/file34594/ssl_cert_time_to_seconds-ps3.patch

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Larry Hastings
Larry Hastings added the comment: Since 3.4 and 3.5 are different code bases, I assume you'd be willing to check this in for both. Assuming that's the case, please tick the 3.5 version too. -- ___ Python tracker

[issue6331] Add unicode script info to the unicode database

2014-03-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Adding support for blocks should indeed go into a separate issue. Your code for that is not suitable, as it should integrate with the existing make_unicodedata.py script, which your code does not. And yes, indeed, of course, we automatically update (nearly) a

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Stefan Krah
Stefan Krah added the comment: Yes, §6.7.2.1: A bit-field declaration with no declarator, but only a colon and a width, indicates an unnamed bit-field. With a footnote: 105) An unnamed bit-field structure member is useful for padding to conform to externally imposed layouts. Unnamed struct

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Are unnamed struct fields actually valid C? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue6331] Add unicode script info to the unicode database

2014-03-23 Thread Pander
Pander added the comment: I see the patch support Unicode scripts https://en.wikipedia.org/wiki/Script_%28Unicode%29 but I am also interested in support for Unicode blocks https://en.wikipedia.org/wiki/Unicode_block Code for support for the latter is at https://github.com/nagisa/unicodeblocks

[issue21040] socketserver: use selectors module

2014-03-23 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file34593/socketserver_use_selectors-1.diff ___ Python tracker ___ ___

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: By the way, could you test with the patch available in issue #21040 ? It'll use poll() instead of select(): I don't think it'll fix your problem, but it'll be a nice test anyway :-) -- ___ Python tracker

[issue21040] socketserver: use selectors module

2014-03-23 Thread Charles-François Natali
New submission from Charles-François Natali: This patch updates the socketserver module to use selectors. It's simpler, will use poll() when available, and also fixes a bug where the timeout would not be recomputed upon EINTR. Note that I removed an EINTR-handling test from test_socketserver be

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Charles-François Natali
Charles-François Natali added the comment: You could use tcpdump to see what's going on (does the server reply to SYN?). Note that it might very well be either a firewall setting, or a DoS protection (some sort of backoff when there are too many SYN within a short interval). -- nosy: +

[issue21026] Document sitecustomize.py problems with pythonw

2014-03-23 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-23 Thread R. David Murray
R. David Murray added the comment: Thanks, Kammie. I removed the extra whitespace from your fix and simplified the tests a bit. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec556e45641a by R David Murray in branch 'default': #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex. http://hg.python.org/cpython/rev/ec556e45641a -- nosy: +python-dev ___ Python tracke

[issue17621] Create a lazy import loader mixin

2014-03-23 Thread Brett Cannon
Brett Cannon added the comment: Another update to trigger loading on attribute deletions as well as detecting when an import swapped the module in sys.modules, raising ValueError if detected since it won't have the affect that's expected (could be convinced to make that ImportError instead).

[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset bb6377db0a9e by Richard Oudkerk in branch '3.4': Issue #20990: Correction for 619331c67638. http://hg.python.org/cpython/rev/bb6377db0a9e -- ___ Python tracker ___

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-23 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue20976] pyflakes: remove unused imports

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d308c20bf2f4 by R David Murray in branch 'default': Merge #20976: remove unneeded quopri import in email.utils. http://hg.python.org/cpython/rev/d308c20bf2f4 -- ___ Python tracker

[issue20976] pyflakes: remove unused imports

2014-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d645f290d6a by R David Murray in branch '3.4': #20976: remove unneeded quopri import in email.utils. http://hg.python.org/cpython/rev/5d645f290d6a -- ___ Python tracker

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-23 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread R. David Murray
R. David Murray added the comment: I don't think that changes the picture. If the error code is non-zero, that means that one of the access methods failed, which means getpwnam can't report reliably whether or not that user exists according to the system configuration. -- ___

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: Submitted a bug at bugreport.apple.com: #16401766 -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue20421] expose SSL socket protocol version

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: (slightly related: should ssl.PROTOCOL_xxx constants become enum members?) -- ___ Python tracker ___ ___

[issue20421] expose SSL socket protocol version

2014-03-23 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: Great, you ask a simple, straight forward question and get told to go away. I'll therefore leave everything to the committers, including the roughly 4500 open issues and the other 40 languishing. -- ___ Python track

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: Added guards to protect against constants not existing. -- Added file: http://bugs.python.org/file34590/ssl-context-defaults-ssl3-guards.diff ___ Python tracker ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: With respect, Mark, I think you should leave these considerations to the committers. -- ___ Python tracker ___ __

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Stefan Krah
Stefan Krah added the comment: So far there are only very few m68k patches. Additionally, the patches are well researched and sometimes highlight ANSI C violations. The submitters of the patches are highly competent and apparently take testing seriously. I see no reason to reject the patches

[issue20633] SystemError: Parent module 'multiprocessing' not loaded, cannot perform relative import

2014-03-23 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: I love you as well Benjamin :) To be serious I think we're talking at cross purposes. I'm not against this patch. Code churn often gets mentioned here as a reason for not doing what is proposed. Changing code for an unsupported platform just struck me as odd

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Georg Brandl
Georg Brandl added the comment: @Mark, I don't understand why you ask this question after several positive responses of Python committers (Mark, Stefan, Larry). @Andreas, as far as I recall, we have always welcomed patches for officially unsupported platforms, certainly as long as they only in

[issue4261] The pwd module doesn't distinguish between errors and no user

2014-03-23 Thread STINNER Victor
STINNER Victor added the comment: Getpwnam() can use a lot of various auth method. For example, an external LDAP server. -- ___ Python tracker ___

[issue21013] server-specific SSL context configuration

2014-03-23 Thread Donald Stufft
Donald Stufft added the comment: I think I'm happy with this patch, if anyone has a chance to review it and see if it looks OK I'd love that and then I can commit it :) -- ___ Python tracker __

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ignore Mark Lawrence. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mai

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: That's a very broad definition, I didn't know that python is such a hostile environment. -- ___ Python tracker ___

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: If it blocks in the select() call, then it's probably an OS issue rather than a Python issue. -- ___ Python tracker ___ ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: Code churn is defined as lines added, modified or deleted to a file from one version to another. -- ___ Python tracker ___ _

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: I think there is no need for print() -- it is hanging <>: def _eintr_retry(func, *args): """restart a system call interrupted by EINTR""" while True: try: return func(*args) <> except OSError as e: if e.errn

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: What do you mean with code churn? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: It strikes me as strange that we'd allow code churn for an unsupported platform, can someone explain the rationale behind this please. -- nosy: +BreamoreBoy ___ Python tracker

[issue21035] Python's HTTP server implementations hangs after 16.343 requests on MacOSX

2014-03-23 Thread Parto Chobeiry
Parto Chobeiry added the comment: I thought you were kidding concerning "print()" -- thus I started using "python -m trace -t httpd.py" >trace 2>&1. The hanging does not occur when tracing (however, things slow down immensely naturally)! When breaking the httpd.py while it is not serving anymo

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Mark Lawrence
Mark Lawrence added the comment: PEP11 states that VMS was unsupported in 3.3. Code was removed from 3.4 via #16136. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : Removed file: http://bugs.python.org/file34387/m68k-float-prec.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Andreas Schwab
Changes by Andreas Schwab : Removed file: http://bugs.python.org/file32554/xx ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19537] Fix misalignment in fastsearch_memchr_1char

2014-03-23 Thread Andreas Schwab
Andreas Schwab added the comment: The attached patch has been tested on {i586,x86_64,ppc,ppc64,ppc64le,armv6hl,armv7hl,aarch64,m68k}-suse-linux. -- keywords: +patch Added file: http://bugs.python.org/file34589/pyasciiobject-align.patch ___ Python tra

[issue21014] `1` => `True`; for tutorial docs

2014-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: In Python 2.7, we're not changing all the "1" to "True" because that aren't quite the same (True is a global and not a builtin constant). If you see these in 3.x, we should change them all :-) -- assignee: docs@python -> rhettinger nosy: +rhettinger

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Or maybe URLPath? I'm skeptical about that. I think someone should first prototype a PureURLPath and maybe publish it on PyPI. (as for the non-pure variant, URLPath, it doesn't seem to make sense) -- ___ Python tra

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: Or maybe URLPath? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Then I'm afraid the current Path classes won't do a good job of representing them :-) But as I said, Python probably doesn't run on VMS anymore, so this is a rather theoretical problem. Maybe if some day Python supports VMS again, someone can contribute a VMS

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: AFAIK paths on OpenVMS are represented in a strange way. [dir.subdir]filename is a path for a file and [dir.subdir.anothersubdir] is a path for a directory. -- ___ Python tracker __

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you elaborate? Python hasn't supported VMS for quite some time... -- ___ Python tracker ___ ___

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Hristo Venev
Hristo Venev added the comment: What about OpenVMS? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as rejected, sorry. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue21039] pathlib strips trailing slash

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, this is by design. The occasional difference between slash-ended and non-slash-ended paths is unexpected and potentially confusing. Moreover, it's not a property of the OS itself - it's just some syntactic sugar to enable an option such as resolving symli

[issue21036] typo in hashtable API: _PY_HASHTABLE_ENTRY_DATA -> _Py_HASHTABLE_ENTRY_DATA

2014-03-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> haypo versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list maili

[issue1225584] crash in gcmodule.c on python reinitialization

2014-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Someone interested in this issue should first check whether it still applies to 3.4 or 3.5. -- ___ Python tracker ___ ___

  1   2   >