[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
New submission from Piotr: Similar to Issue 679880 >>> compile(open("bom3.py").read(), "bom3.py", 'exec') Traceback (most recent call last): File "", line 1, in File "bom3.py", line 1 # coding: utf-8 ^ SyntaxError: invalid character in identifier -- components:

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: open() uses locale encoding by default. You should specify correct encoding explicitly for portability and unambiguity. >>> compile(open("bom3.py", encoding="utf-8-sig").read(), "bom3.py", 'exec') at 0xb707a7a0, file "bom3.py", line 2> -- nosy:

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: open() uses locale encoding by default. You should specify correct encoding explicitly for portability and unambiguity. >>> compile(open("bom3.py", encoding="utf-8-sig").read(), "bom3.py", 'exec') at 0xb707a7a0, file "bom3.py", line 2> -- nosy:

[issue24965] Implement PEP 498: Literal String Formatting

2015-09-10 Thread Eric V. Smith
Eric V. Smith added the comment: I discussed it with Guido and added 'F' to the PEP. -- ___ Python tracker ___

[issue25050] windows installer does not allow 32 and 64 installs side by side

2015-09-10 Thread Adam Groszer
New submission from Adam Groszer: Installed with python-3.4.3.msi first, then wanted a 64bit side-by-side )of course in an other folder) Wanted to install python-3.4.3.amd64.msi, the first thing this one did is removed the 32bit install :-( -- components: Installation, Windows

[issue25049] Strange behavior under doctest: staticmethods have different __globals__

2015-09-10 Thread Jurjen N.E. Bos
New submission from Jurjen N.E. Bos: I found a pretty obscure bug/documentation issue. It only happens if you use global variables in static methods under doctest. The thing is that this code fails under doctest, while anyone would expect it to work at first sight: class foo: @staticmethod

[issue25052] Test

2015-09-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Just for testing if I can create a *new* issue. -- messages: 250360 nosy: serhiy.storchaka priority: normal severity: normal status: open title: Test ___ Python tracker

[issue25043] document socket constants for Bluetooth

2015-09-10 Thread Tim Tisdall
Changes by Tim Tisdall : Added file: http://bugs.python.org/file40426/bdaddr_35_1.patch ___ Python tracker ___

[issue25021] product_setstate() Out-of-bounds Read

2015-09-10 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thanks, I'll get this committed and merged asap. -- ___ Python tracker ___

[issue25044] bring BTPROTO_SCO inline with other Bluetooth protocols

2015-09-10 Thread Tim Tisdall
Tim Tisdall added the comment: Yes, then any existing implementations will continue to work. One sticky issue with all of this... there's no existing tests as per #7687 . -- ___ Python tracker

[issue25021] product_setstate() Out-of-bounds Read

2015-09-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> kristjan.jonsson ___ Python tracker ___

[issue24984] document AF_BLUETOOTH socket address formats

2015-09-10 Thread Tim Tisdall
Tim Tisdall added the comment: oops. yeah, I got my terminology wrong. It accepts only a byte-string. -- ___ Python tracker ___

[issue25054] Capturing start of line '^'

2015-09-10 Thread Matthew Barnett
Matthew Barnett added the comment: After matching '^', it advances so that it won't find the same match again (and again and again...). Unfortunately, that means that it sometimes misses some matches. It's a known issue. -- ___ Python tracker

[issue24272] PEP 484 docs

2015-09-10 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread eryksun
eryksun added the comment: You're passing an already decoded string, so the BOM is treated as text. Instead open the file in binary mode, i.e. open("bom3.py", "rb"). This way the BOM will be detected when decoding the source bytes. Here's an example that passes the source as a bytes object:

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Lib/test/test_tokenize.py contains a test for a Python script encoded to UTF-8 and starting with the UTF-8 BOM, Lib/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt. -- ___ Python tracker

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
Piotr added the comment: Ok I have tried it(I had to remove ЉЊЈЁЂ from *.txt - my cp is 1250): c:\tmp>type test.py compile(open("tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt").read(), "bom3.py", 'exec') c:\tmp>c:\Python34\python.exe test.py Traceback (most recent call last): File

[issue25054] Capturing start of line '^'

2015-09-10 Thread R. David Murray
R. David Murray added the comment: ^ finds an empty match at the beginning of the string, $ finds an empty match at the end. I don't see the bug (but I'm not a regex expert). -- nosy: +r.david.murray ___ Python tracker

[issue25043] document socket constants for Bluetooth

2015-09-10 Thread Tim Tisdall
Changes by Tim Tisdall : -- keywords: +patch Added file: http://bugs.python.org/file40424/bdaddr_36_1.patch ___ Python tracker ___

[issue25043] document socket constants for Bluetooth

2015-09-10 Thread Tim Tisdall
Changes by Tim Tisdall : Added file: http://bugs.python.org/file40425/bdaddr_34_1.patch ___ Python tracker ___

[issue7687] Bluetooth support untested

2015-09-10 Thread Tim Tisdall
Changes by Tim Tisdall : -- versions: +Python 3.6 ___ Python tracker ___ ___

[issue23270] Use the new __builtin_mul_overflow() of Clang and GCC 5 to check for integer overflow

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Implementation for any compiler using the new builtin if available: http://thread.gmane.org/gmane.linux.kernel/204 -- ___ Python tracker

[issue23270] Use the new __builtin_mul_overflow() of Clang and GCC 5 to check for integer overflow

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Implementation for any compiler using the new builtin if available: http://thread.gmane.org/gmane.linux.kernel/204 -- ___ Python tracker

[issue15012] test issue

2015-09-10 Thread R. David Murray
R. David Murray added the comment: Test issue update. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue25054] Capturing start of line '^'

2015-09-10 Thread Alcolo Alcolo
New submission from Alcolo Alcolo: Why re.findall('^|a', 'a') != ['', 'a'] ? We have: re.findall('^|a', ' a') == ['', 'a'] and re.findall('$|a', ' a') == ['a', ''] Capturing '^' take the 1st character. It's look like a bug ... -- components: Regular Expressions messages: 250364 nosy:

[issue25053] Possible race condition in Pool

2015-09-10 Thread Stanislaw Izaak Pitucha
New submission from Stanislaw Izaak Pitucha: This is something that happened once and I cannot reproduce anymore. In an IPython session I've done the following (see session below), which resulted in pool.map raising its internal exceptions in cases where it shouldn't. Then it worked again.

[issue25043] document socket constants for Bluetooth

2015-09-10 Thread Tim Tisdall
Tim Tisdall added the comment: I'm not sure how to unit test a constant... it's just a string. If you're asking for a unit test for when you'd actually make use of the constant, I haven't been able to figure out that situation yet. It seems like in Bluez 4.101 it's used to issue a command

[issue25041] document AF_PACKET socket address format

2015-09-10 Thread Adam
Changes by Adam : -- nosy: +azsorkin ___ Python tracker ___ ___ Python-bugs-list mailing

[issue15012] test issue

2015-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- type: -> behavior ___ Python tracker ___ ___

[issue25054] Capturing start of line '^'

2015-09-10 Thread Alcolo Alcolo
Alcolo Alcolo added the comment: Naively, I thinked that ^ is be considered as a 0-length token (like $, \b, \B), then after capturing it, we can read the next token : 'a' (for the input string "a"). I use a simple work around: prepending my string with ' ' (because ' ' is neutral with my

[issue25055] Test

2015-09-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Just test if the tracker works for me now. -- messages: 250375 nosy: serhiy.storchaka priority: normal severity: normal status: open title: Test ___ Python tracker

[issue15012] test issue

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Test. -- nosy: +serhiy.storchaka status: open -> closed ___ Python tracker ___

[issue25050] windows installer does not allow 32 and 64 installs side by side

2015-09-10 Thread Steve Dower
Steve Dower added the comment: This is an issue with 3.4.3 only, and I suspect it was something funny in the build config that should just work with 3.4.4 - adding Martin to make sure. Basically, the upgrade code in the 32-bit installer was (I think) the code used for dev snapshots. Both

[issue15012] test issue

2015-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: closed -> open ___ Python tracker ___ ___

[issue15012] test issue

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Test. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue25057] Make parameter of io.base to be positional and keyword

2015-09-10 Thread shiyao.ma
New submission from shiyao.ma: The parameters for io.[Text]IOBase.seek are currently positional only, as discussed in http://bugs.python.org/issue25030. We make the parameters to be both positional and keyword based. -- files: patch.diff keywords: patch messages: 250382 nosy:

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2015-09-10 Thread David Fraser
David Fraser added the comment: Filed with pypa at https://github.com/pypa/pip/issues/3091 -- nosy: +davidfraser ___ Python tracker ___

[issue15012] test issue

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: victor test -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list

[issue25056] no support for Bluetooth LE in socket

2015-09-10 Thread Tim Tisdall
New submission from Tim Tisdall: When Bluetooth LE support was added to Bluez they expanded sockaddr_l2 (the struct for making L2CAP connections) to include a l2_bdaddr_type. Since the existing code initializes the struct with 0's the type is set to regular Bluetooth (BDADDR_BREDR). An

[issue15012] test issue

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Test again. -- nosy: +serhiy.storchaka status: open -> closed ___ Python tracker ___

[issue24272] PEP 484 docs

2015-09-10 Thread Berker Peksag
Berker Peksag added the comment: By the way, for some reason the changes in revision e361130782d4 are not in Doc/library/typing.rst. For example, io documentation on current default branch: https://hg.python.org/cpython/file/default/Doc/library/typing.rst#l376 io documentation on current 3.5

[issue25024] Allow passing "delete=False" to TemporaryDirectory

2015-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm inclined to reject this idea too. -- nosy: +georg.brandl, ncoghlan, pitrou, serhiy.storchaka ___ Python tracker

[issue24900] Raising an exception that cannot be unpickled causes hang in ProcessPoolExecutor

2015-09-10 Thread Benedikt Reinartz
Benedikt Reinartz added the comment: That would touch 2, but as this is happening in the exception handling already that would need to be catched and handled by itself. However, one could then do without a "pickle -> unpickle" dance. -- ___ Python

[issue25024] Allow passing "delete=False" to TemporaryDirectory

2015-09-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: The idea looks ok to me, but you'd have to provide a patch. -- ___ Python tracker ___

[issue25058] Right square bracket argparse metavar

2015-09-10 Thread Juan Jimenez-Anca
New submission from Juan Jimenez-Anca: When trying to assign the metavar in add_argument() method of argparse module I'm unable to include characters after a right square bracket. Trying to set something like this: metavar="[host:database:collection:]field" would raise an AssertionError,

[issue25054] Capturing start of line '^'

2015-09-10 Thread Matthew Barnett
Matthew Barnett added the comment: Just to confirm, it _is_ a bug. It tries to avoid getting stuck, but the way it does that causes it to skip a character, sometimes missing a match it should have found. -- ___ Python tracker

[issue25053] Possible race condition in Pool

2015-09-10 Thread Davin Potts
Davin Potts added the comment: I have been able to reproduce the behavior you described under 3.5 under one set of circumstances so far. When attempting to use classes/functions/other not defined in an importable module, an AttributeError is expected as you observed. The viability of that

[issue25058] Right square bracket argparse metavar

2015-09-10 Thread Juan Jimenez-Anca
Juan Jimenez-Anca added the comment: My apologies for the formatting of the last line. This is my issue corrected: When trying to assign the metavar in add_argument() method of argparse module I'm unable to include characters after a right square bracket. Trying to set something like this:

[issue25060] BUILD_MAP stack effect suboptimal

2015-09-10 Thread Antoine Pitrou
New submission from Antoine Pitrou: In PyCompile_OpcodeStackEffect() compile.c: case BUILD_MAP: return 1; But starting from 3.5, BUILD_MAP pops 2*oparg objects from the stack. -- components: Interpreter Core messages: 250391 nosy: benjamin.peterson, georg.brandl,

[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar
New submission from Saimadhav Heblikar: Feel free to make changes to the patch if you want to improve the sentence structure. -- assignee: docs@python components: Documentation messages: 250390 nosy: docs@python, sahutd priority: normal severity: normal status: open title: Mistake in

[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread R. David Murray
R. David Murray added the comment: Well, it's a tutorial. I'm not sure it makes sense to introduce sep at that point, that's more appropriate for when the user is more advanced and looking at the reference documentation. (Frankly, I've *never* used that feature, and I've been using python

[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Agreed with both David Murray and Eric. -- ___ Python tracker ___ ___

[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file40428/issue25059 ___ Python tracker ___

[issue25059] Mistake in input-output tutorial regarding print() seperator

2015-09-10 Thread Eric V. Smith
Eric V. Smith added the comment: +1 on the "by default" change. -- nosy: +eric.smith ___ Python tracker ___

[issue25061] Add native enum support for argparse

2015-09-10 Thread desbma
Changes by desbma : -- components: +Library (Lib) ___ Python tracker ___ ___

[issue25063] shutil.copyfileobj should internally use os.sendfile when possible

2015-09-10 Thread desbma
New submission from desbma: Sorry if it has already been discussed, or if this is a stupid idea. By looking at the signature, my thought was that the only use of shutil.copyfileobj was to wrap the use of sendfile, and use a fallback if it is not available on the system or not usable with

[issue25003] os.urandom() should call getrandom(2) not getentropy(2) on Solaris

2015-09-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: os.urandom() should call getrandom(2) not getentropy(2) -> os.urandom() should call getrandom(2) not getentropy(2) on Solaris ___ Python tracker

[issue25003] os.urandom() should call getrandom(2) not getentropy(2)

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: > Yes, the syscall was failing with EINVAL. Sorry, I don't understand. Do you mean that calling a non-existant syscall on Solaris fails with EINVAL? Calling the getrandom() syscall on Solaris < 11.3 fails with EINVAL? --

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Alexander: can you please review attached round_half_even_py34.patch? It's the minimum patch to fix datetime/timedelta rounding for Python 3.4 (and 3.5). -- ___ Python tracker

[issue24272] PEP 484 docs

2015-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: I suck at merge. :-( No idea what happened. To fix it, I have now just copied the file again from the larry branch and committed that in 3.5, then merged up to 3.6 (default). changeset: 97856:8a7814a3613b branch: 3.5 parent: 97847:6c8e2c6e3a99

[issue3548] subprocess.pipe function

2015-09-10 Thread desbma
Changes by desbma : -- nosy: +desbma ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25003] os.urandom() should call getrandom(2) not getentropy(2) on Solaris 11.3 and newer

2015-09-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: os.urandom() should call getrandom(2) not getentropy(2) on Solaris -> os.urandom() should call getrandom(2) not getentropy(2) on Solaris 11.3 and newer ___ Python tracker

[issue25061] Add native enum support for argparse

2015-09-10 Thread desbma
New submission from desbma: I often find myself using the following pattern with argparse: import argparse import enum CustomEnumType = enum.Enum("CustomEnumType", ("VAL1", "VAL2", "VAL3", ...)) arg_parser = argparse.ArgumentParser(...) ...

[issue25062] Doc linter error: [2] library/typing.rst:358: default role used

2015-09-10 Thread STINNER Victor
New submission from STINNER Victor: The Docs buildbot is red since the changeset 7fc4306d537b5feedb7f9dac54d96ed378c093a7. http://buildbot.python.org/all/builders/Docs%203.x/builds/52 -- assignee: docs@python components: Documentation messages: 250400 nosy: docs@python, gvanrossum,

[issue1103213] Adding a recvexactly() to socket.socket: receive exactly n bytes

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Oh, in fact recvall() is a bad name. The io module uses the "readall()" name to really read all content of a file, whereas "recvall(N)" here only read up to N bytes. It would be better to reuse the same name than asyncio, "readexactly(N)":

[issue25029] MemoryError in test_strptime

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: The test doesn't fail anymore on buildbots. I ran manually test_strptime with a memory limit of 1 GB on Python 3.5 and 3.6: the test pass. Can we close the issue? -- ___ Python tracker

[issue23517] datetime.utcfromtimestamp rounds results incorrectly

2015-09-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue25043] document socket constants for Bluetooth

2015-09-10 Thread Martin Panter
Martin Panter added the comment: Well if the constant is not very useful then maybe we shouldn’t add it :) For testing, nothing complicated. Maybe check the module attributes exist, and are strings. In the past, people have converted module-level constants to enums, and introduced a typo in a

[issue25061] Add native enum support for argparse

2015-09-10 Thread paul j3
paul j3 added the comment: Here's a type function that enumerates the enum in the error message: def enumtype(astring): try: return CustomEnumType[astring.upper()] except KeyError: msg = ', '.join([t.name.lower() for t in CustomEnumType]) msg = 'CustomEnumType:

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

2015-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1744d65705d0 by Yury Selivanov in branch '3.5': whatsnew/3.5: Describe changes in issue #22980 https://hg.python.org/cpython/rev/1744d65705d0 New changeset cfbcb3a6a848 by Yury Selivanov in branch 'default': Merge 3.5 (issue #22980, whatsnew/3.5)

[issue25035] Getter/setter for argparse keys

2015-09-10 Thread Sworddragon
Sworddragon added the comment: In this case probably all is fine then. But there is a minor thing I noticed from one of your previous posts: You said parser.add_argument returns an Action object but I noticed that this is not mentioned on "16.4.3. The add_argument() method". Is it maybe

[issue25063] shutil.copyfileobj should internally use os.sendfile when possible

2015-09-10 Thread Martin Panter
Martin Panter added the comment: I agree it is a nice idea, but have the same concern as David. Many pseudo file objects wrap real file descriptors. E.g. BufferedReader hides unread data in a buffer, GzipFile decompresses data, HTTPResponse decodes chunks. Detecting when sendfile() is

[issue25057] Make parameter of io.base to be positional and keyword

2015-09-10 Thread Martin Panter
Martin Panter added the comment: I’m not sure this is a good idea. IOBase is a base class, so adding to its API really means everybody’s subclasses may need to be updated to support the proper keyword argument names. Even ignoring classes outside Python’s standard library, it looks like you

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

2015-09-10 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, Matthias, Steve, Berker - I've mentioned this issue in the whatsnew (applied Larry's patch with some modifications to address comments from Steve and Matthias). Please review. -- ___ Python tracker

[issue25061] Add native enum support for argparse

2015-09-10 Thread paul j3
paul j3 added the comment: The `type` parameter is a *function* that takes a string, and returns a valid value. If it can't convert the string it is supposed to raise an error. The default one is a do-nothing identity (take a string, return the string). `int` is the Python function that

[issue25058] Right square bracket argparse metavar

2015-09-10 Thread paul j3
paul j3 added the comment: This assertion error caused by brackets (and other 'odd' characters) in the metavar is a known issue. http://bugs.python.org/issue11874 http://bugs.python.org/issue14046 The formatter that handles line wrapping of the usage line is fragile. -- nosy:

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

2015-09-10 Thread Steve Dower
Steve Dower added the comment: There's no dot before the debug marker on Windows. Otherwise, looks good to me. Thanks for writing this up. -- ___ Python tracker

[issue25038] test_os.TestSendfile.test_keywords() introduced a regression

2015-09-10 Thread Martin Panter
Martin Panter added the comment: Victor, the BSD and OS X buildbots seem to be passing test_os now. E.g.: http://buildbot.python.org/all/buildslaves/koobs-freebsd10 http://buildbot.python.org/all/buildslaves/intel-yosemite-icc Do you agree we can close this? -- nosy: +berker.peksag

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-10 Thread Zachary Ware
Zachary Ware added the comment: I'd be happy to work on making an 'idledoc' target for the Doc/ makefiles that works with Mark's viewer. I can't guarantee any kind of timeframe, but the idledoc target wouldn't be necessary right off the bat; it could be done after the main bulk of the patch

[issue25066] Better repr for multiprocessing.synchronize objects

2015-09-10 Thread Davin Potts
Davin Potts added the comment: To Antoine's point in issue24391, here too, these modifications to the format of the repr are estimated to have very little impact or risk to breaking existing code. -- ___ Python tracker

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-10 Thread Martin Panter
Martin Panter added the comment: Thanks for the patch. I took the liberty of also fixing the doc string of BytesIO.seek(). -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue25047] xml.etree.ElementTree encoding declaration should be capital ('UTF-8') rather than lowercase ('utf-8')

2015-09-10 Thread Martin Panter
Changes by Martin Panter : -- stage: -> needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue25053] Possible race condition in Pool

2015-09-10 Thread Stanislaw Izaak Pitucha
Stanislaw Izaak Pitucha added the comment: I agree with what you said mostly. I wonder though if the message could be clearer in the docs. I remember that the rule about the module being importable without side-effects, but didn't even consider that for the interactive session. If I

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-09-10 Thread Davin Potts
Davin Potts added the comment: @berker.peksag, @r.david.murray: Could I gently nudge one of you into committing the final versions of these patches? -- ___ Python tracker

[issue25038] test_os.TestSendfile.test_keywords() introduced a regression

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: Sure, close the issue if the regression is fixed. -- ___ Python tracker ___

[issue13559] Use sendfile where possible in httplib

2015-09-10 Thread Martin Panter
Martin Panter added the comment: The multiple personalities of HTTPConnection.send() and friends is a bit of a can of worms. I suggest working on Issue 23740 to get an idea of what kinds of file objects are meant to be supported, and what things may work by accident and be used in the real

[issue25022] Remove PC/example_nt/

2015-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ba735b018d2 by Martin Panter in branch '3.4': Issue #25022: Avoid warning about unused suspicious rule https://hg.python.org/cpython/rev/8ba735b018d2 New changeset b75b4a6e1c9b by Martin Panter in branch '3.5': Issue #25022: Merge

[issue24225] Idlelib: changing file names

2015-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: A new factor has entered the picture: the opportunity to move dialogs from using tk widgets to ttk widgets. However, we cannot yet drop support for systems that do not have ttk widgets. We could accommodate using both sets of dialog widgets by adding lots

[issue24984] document AF_BLUETOOTH socket address formats

2015-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00db99149cdd by Martin Panter in branch '3.4': Issue #24984: BTPROTO_SCO supports only bytes objects https://hg.python.org/cpython/rev/00db99149cdd New changeset b507a7e79154 by Martin Panter in branch '3.5': Issue #24984: Merge BTPROTO_SCO doc

[issue24391] Better repr for threading objects

2015-09-10 Thread Davin Potts
Davin Potts added the comment: Echoing Larry's insightful summary, it would not be particularly rewarding to pursue a goal of making the whole world of reprs consistent. But as Antoine and Serhiy began to point out, the multiprocessing module not only has its own Event, Semaphore,

[issue24984] document AF_BLUETOOTH socket address formats

2015-09-10 Thread Martin Panter
Changes by Martin Panter : -- status: open -> closed ___ Python tracker ___ ___

[issue25065] https://docs.python.org/library should redirect to Python 3 doc

2015-09-10 Thread Zachary Ware
Zachary Ware added the comment: This is by design, see PEP 430 for rationale. Eventually the Python 3 docs will be the default, but that day isn't quite here yet. -- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed

[issue16893] Generate Idle help from Doc/library/idle.rst

2015-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: In msg185726 Ned said "Ironically, the Tk text widget is perfectly capable of rendering richer text styles." He was and is correct. Mark Roseman offered to take up the challenge. In spite of my skepticism, he went ahead and built sphinxview around

[issue25066] Better repr for multiprocessing.synchronize objects

2015-09-10 Thread Davin Potts
Davin Potts added the comment: This patch implements the majority opinion from issue24391 for the desired format of the reprs produced by Event, Semaphore, BoundedSemaphore, and Barrier. It provides tests around each, inspired by Serhiy's preliminary patch for that same issue but adapted for

[issue25067] Hello

2015-09-10 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- files: attachment.zip nosy: petri.lehtinen priority: normal severity: normal status: open title: Hello Added file: http://bugs.python.org/file40433/attachment.zip ___ Python tracker

[issue24909] Windows: subprocess.Popen: race condition for leaking inheritable handles

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: > The one potential problem that I see is that it looks like specifying > PROC_THREAD_ATTRIBUTE_HANDLE_LIST means that no other handles are inherited, > even if they are inheritable. We can maybe add a parameter to configure the behaviour: keep current

[issue24870] Optimize coding with surrogateescape and surrogatepass error handlers

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: I rebased patch because faster-decode-ascii-surrogateescape.patch was generated in git format, and the git format is not accepted by Rietveld (the Review button). -- Added file:

[issue24821] The optimization of string search can cause pessimization

2015-09-10 Thread STINNER Victor
STINNER Victor added the comment: > I think we should use more robust optimization. What do you propose? I don't understand the purpose of the issue. Do you want to remove the optimization? -- ___ Python tracker

[issue25062] Doc linter error: [2] library/typing.rst:358: default role used

2015-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe Zach knows how to fix this since he fixed it for an earlier version? (Sorry Zach!) -- nosy: +zach.ware ___ Python tracker

  1   2   >