Re: mentor training python Romania with certification

2016-09-05 Thread neha . agrawal1428
On Tuesday, August 16, 2016 at 6:45:04 PM UTC+5:30, blue wrote: > Hi. > > I'm from Romania. > I need to update my skils under python. > I need to find one mentor ( class, training ) to obtain one certified under > python language. > > Cătălin George Feștilă Hi, You might find Python course

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread Peter Otten
Jussi Piitulainen wrote: > Antoon Pardon writes: > >> I need an interator that takes an already existing iterator and >> divides it into subiterators of items belonging together. >> >> For instance take the following class, wich would check whether >> the argument is greater or equal to the

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread iwings
New submission from iwings: On QNAP's Linux Station (lxc based virtual environment), getrandom() syscall returns EPERM not ENOSYS when it's not available. (HOST) uname -a Linux **-NAS 3.12.6 #1 SMP Thu Sep 1 00:57:44 CST 2016 x86_64 unknown (HOST) /lib64/libc-2.19.so GNU C Library (Ubuntu

Re: Extend unicodedata with a name/pattern/regex search for character entity references?

2016-09-05 Thread alister
On Mon, 05 Sep 2016 08:15:42 +0200, Thomas 'PointedEars' Lahn wrote: > >> So Veek should be able to appease P.E. by calling himself 'Veek "David >> Smith" M'. > > That would not help. “Veek” might be (the transcription of) a given > name or a family name, but “Veek M” is not a real name.

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Xiang, good point! I have added richcompare to SSLSession (based on session id). My branch on github implements a couple more fixes and improvements. -- ___ Python tracker

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Elias, the patch URL is where I downloaded your patch from; see the list of patches at the top of this bug: hg import --no-commit https://bugs.python.org/file44316/pep467.patch Anyway in this email

testfixtures 4.10.1 Released!

2016-09-05 Thread Chris Withers
Hi All, I'm pleased to announce the release of testfixtures 4.10.1 featuring the following: - Better docs for TempDirectory.compare(). - Remove the need for expected paths supplied to TempDirectory.compare() to be in sorted order. - Document a good way of restoring stdout when in a

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread Peter Otten
Antoon Pardon wrote: > I need an interator that takes an already existing iterator and > divides it into subiterators of items belonging together. > > For instance take the following class, wich would check whether > the argument is greater or equal to the previous argument. > > class

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread Jussi Piitulainen
Peter Otten writes: > Jussi Piitulainen wrote: [- -] >> while more: >> yield gp() [- -] > As usual I couldn't stop and came up with something very similar: [- -] > while more: > g = group() > yield g > for _ in g: pass [- -] > The one thing I think

Re: Extend unicodedata with a name/pattern/regex search for character entity references?

2016-09-05 Thread Ned Batchelder
On Monday, September 5, 2016 at 2:15:58 AM UTC-4, Thomas 'PointedEars' Lahn wrote: > How can I trust a person > who does not even have the decency and the courage to stand by their > statements with their real name? Feel free to ignore people you don't trust. We'll help them. --Ned. --

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread Steven D'Aprano
On Monday 05 September 2016 18:46, Antoon Pardon wrote: > I need an interator that takes an already existing iterator and > divides it into subiterators of items belonging together. > > For instance take the following class, wich would check whether > the argument is greater or equal to the

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks! The patch lacks a test case (you can add it into Lib/test/test_csv.py) and a versionchanged notice in documentation (see http://cpython-devguide.readthedocs.io/en/latest/documenting.html#paragraph-level-markup for details.) -- stage: needs

Would like some thoughts on a grouped iterator.

2016-09-05 Thread Antoon Pardon
I need an interator that takes an already existing iterator and divides it into subiterators of items belonging together. For instance take the following class, wich would check whether the argument is greater or equal to the previous argument. class upchecker: def __init__(self):

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread breamoreboy
On Monday, September 5, 2016 at 10:42:27 AM UTC+1, Peter Otten wrote: > Antoon Pardon wrote: > > > I need an interator that takes an already existing iterator and > > divides it into subiterators of items belonging together. > > > > For instance take the following class, wich would check whether

Re: Would like some thoughts on a grouped iterator.

2016-09-05 Thread Jussi Piitulainen
Antoon Pardon writes: > I need an interator that takes an already existing iterator and > divides it into subiterators of items belonging together. > > For instance take the following class, wich would check whether > the argument is greater or equal to the previous argument. > > class upchecker:

[issue27106] configparser.__all__ is incomplete

2016-09-05 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: Łukasz, Martin - I'm not sure how to proceed here, of course both ways out are reasonable. I'd be happy to provide (however small) patch for either one (adding Error to __all__ or just adding test for __all__). :) My inner librarian would of course either

[issue27779] Sync-up docstrings in C version of the the decimal module

2016-09-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: skrah -> lisroach ___ Python tracker ___

[issue27779] Sync-up docstrings in C version of the the decimal module

2016-09-05 Thread Stefan Krah
Stefan Krah added the comment: Sorry, Raymond, this is my code area. I said I'll review a patch. -- assignee: lisroach -> skrah ___ Python tracker ___

[issue27922] Make IDLE tests less flashy

2016-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the good detective work. The flash is always there, somewhere, though sometimes minimal. SearchBase.open begins with if not self.top: self.create_widgets() else: self.top.deiconify()

Re: listdir

2016-09-05 Thread jmp
On 09/05/2016 05:27 PM, Smith wrote: Hello to all, I wanted to know because even though the files are present on the directory I write input gives me "file not found". You can help me? Thank you a = input("Digita la directory dove vuoi trovare i file py: ") for file in os.listdir(a): if

Re: listdir

2016-09-05 Thread Smith
Il 05/09/2016 17:27, Smith ha scritto: Hello to all, I wanted to know because even though the files are present on the directory I write input gives me "file not found". You can help me? Thank you a = input("Digita la directory dove vuoi trovare i file py: ") for file in os.listdir(a): if

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: I'm ok to fallback on read /dev/urandom device when getrandom() is blocked by a stupid security policy :-) -- ___ Python tracker

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Note to future me: Don't forget to take care of X.509 client authentication. A server is allowed to bypass client cert validation when a SSL session is resumed. SSLContext.load_cert_chain() should invalidate session caches. (CVE-2016-5419

[issue27112] tokenize.__all__ list is incomplete

2016-09-05 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: > I would lean toward ensuring the test fails if someone adds a new > implementation detail without an underscore prefix. It is also good to be > explicit that the ISTERMINAL() etc functions are special cases. Original patch meets these requirements. I've

[issue27112] tokenize.__all__ list is incomplete

2016-09-05 Thread Jacek Kołodziej
Changes by Jacek Kołodziej : Added file: http://bugs.python.org/file44373/tokenize_all.v2.patch ___ Python tracker ___

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson: dict_traverse shows up a lot on statistical profiles of Python programs. This is not surprising since Python programs have lots of dicts. There isn't a huge amount of room for optimization here, but we can avoid some memory indirection. This patch saves

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread INADA Naoki
INADA Naoki added the comment: lgtm. But http://bugs.python.org/issue27350 conflicts this. -- nosy: +methane ___ Python tracker ___

[issue27944] two hotshot module issues

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset aefdfa167f4b by Benjamin Peterson in branch '2.7': rewrite unpack_add_info, so it has less memory corruption bugs (closes #27944) https://hg.python.org/cpython/rev/aefdfa167f4b -- nosy: +python-dev resolution: -> fixed stage: -> resolved

installing python

2016-09-05 Thread emaraiza98
I installed pycharm for a computer science class, and installed python 3.5.2. However, my computer won't accept 3.5.2 so my teacher told me to install an earlier version to change the project interpreter. I did but when I tried to open python with pycharm it said that the "SKD is invalid". I

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Big Stone
Big Stone added the comment: thanks! I suppose I have to wait official python3.6b1 for windows to tell you what you included. -- ___ Python tracker ___

[issue27921] f-strings: do not allow backslashes

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset df5b6d1c7ea8 by Benjamin Peterson in branch 'default': fix skipping #27921 for windows https://hg.python.org/cpython/rev/df5b6d1c7ea8 -- ___ Python tracker

[issue27830] Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 119af59911a0 by Victor Stinner in branch 'default': Issue #27830: Remove unused _PyStack_AsDict() https://hg.python.org/cpython/rev/119af59911a0 -- ___ Python tracker

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 792e7a8dddb8 by Zachary Ware in branch 'default': Issue #27883: Update sqlite to 3.14.1 on Windows https://hg.python.org/cpython/rev/792e7a8dddb8 -- nosy: +python-dev ___ Python tracker

Installing python

2016-09-05 Thread emaraiza98
I installed pycharm for a computer science class I'm taking, and also downloaded python 3.5.2. However, my computer for some reason won't use 3.5.2 and my professor told me I needed to download an earlier version to change the project interpreter. Whenever I try to use the earlier version of

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d531711cbc7 by Benjamin Peterson in branch '3.5': do not allow _PyGen_Finalize to fail (closes #27811) https://hg.python.org/cpython/rev/4d531711cbc7 New changeset 1b14dbe9e98b by Benjamin Peterson in branch 'default': merge 3.5 (closes #27811)

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thank you, Armin. -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue27812] PyFrameObject.f_gen can be left pointing to a dangling generator

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e4452424f9b by Benjamin Peterson in branch '3.5': clear out f_gen during generator finalization (closes #27812) https://hg.python.org/cpython/rev/3e4452424f9b New changeset 1d7a938b1e47 by Benjamin Peterson in branch 'default': merge 3.5 (#27812)

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Ned Deily
Ned Deily added the comment: Mark, ah, yes, that's true. So the tests would have to be separated out into a separate test case method. So, not worth the effort. -- ___ Python tracker

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Mark Dickinson
Mark Dickinson added the comment: Given enough time, it would make a lot of sense to adapt these tests to use the subtests machinery (though it's not immediately clear to me how to make @requires_mac_ver work with the subtests machinery). I'm afraid this issue was a bit of a quick fix to get

[issue27407] prepare_ssl.py missing in PCBuild folder

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8955049a79aa by Zachary Ware in branch '2.7': Issue #27407: Add prepare_ssl.py to 2.7 https://hg.python.org/cpython/rev/8955049a79aa New changeset 32552131d8cb by Zachary Ware in branch '2.7': Issue #27407: Make PCbuild/prepare_ssl.py Python 2

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 027e421594b7 by Benjamin Peterson in branch 'default': remove memory indirections in dict_traverse (closes #27956) https://hg.python.org/cpython/rev/027e421594b7 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open ->

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: Updated. I don't know what extensions are or are not included, please open additional issue(s) if something should be added or removed. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed

[issue23591] enum: Add Flags and IntFlags

2016-09-05 Thread Ethan Furman
Ethan Furman added the comment: > I am quite aware about what's the intended use, but you can't just > assume people will know about it. Fair enough. > In my view, you must do one of two things: > > 1) (at least in documentation, and preferably in the code by raising > Exceptions at class

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread iwings
iwings added the comment: I did not report this to QNAP yet. but there's already a thread on their forum. https://forum.qnap.com/viewtopic.php?t=124650 (registration required) - ENOSYS is not listed in that man page, but it occurs. - EPERM is not listed in that man page, but it can be returned

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Mark Dickinson
Mark Dickinson added the comment: Ned: that's for skipping an entire test method, right? Here a single test method tests a few hundred different special cases; we want to exclude only one of those cases. -- ___ Python tracker

Re: listdir

2016-09-05 Thread Rustom Mody
So what do you get when you replace the if-else with a simple: print(file) ? [And BTW dont use the variable name “file” its um sacred] -- https://mail.python.org/mailman/listinfo/python-list

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Did you open a bug with your vendor, too? QNAP is clearly violating Kernel APIs. getrandom() is not suppose to fail with EPERM. Valid errnos are EINVAL, EFAULT, EAGAIN and EINTR. http://man7.org/linux/man-pages/man2/getrandom.2.html -- nosy:

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Ashish Nitin Patil
Ashish Nitin Patil added the comment: Thank you Berker & Skip for your review & additional inputs. I have added a (probably not so good) unittest for testing the newly added *return*. I have also added the corresponding *versionchanged* info to the documentation as suggested by Berker. Will

Re: listdir

2016-09-05 Thread Chris Angelico
On Tue, Sep 6, 2016 at 1:34 AM, Rustom Mody wrote: > [And BTW dont use the variable name “file” its um sacred] Nah, that part's fine. Python isn't religious about builtins. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: listdir

2016-09-05 Thread Chris Angelico
On Tue, Sep 6, 2016 at 1:27 AM, Smith wrote: > Hello to all, > I wanted to know because even though the files are present on the directory > I write input gives me "file not found". > You can help me? > Thank you > > a = input("Digita la directory dove vuoi trovare i file py: ")

Re: listdir

2016-09-05 Thread Smith
Il 05/09/2016 17:34, Rustom Mody ha scritto: So what do you get when you replace the if-else with a simple: print(file) a = input("search for files with the extension .py into directory: ") for file in os.listdir(a): if file.endswith(".py"): print(file) search for

Re: listdir

2016-09-05 Thread jmp
On 09/05/2016 05:41 PM, Smith wrote: Il 05/09/2016 17:34, Rustom Mody ha scritto: So what do you get when you replace the if-else with a simple: print(file) a = input("search for files with the extension .py into directory: ") for file in os.listdir(a): if file.endswith(".py"):

Re: listdir

2016-09-05 Thread Smith
What exactly are you expecting the 'break' to do here? Can you explain to me the intent of your code? ChrisA I'd like to create a script that searches the directory .py files. If the script does not find the file extension .py would return the error message "File Not Found". --

Re: listdir

2016-09-05 Thread Chris Angelico
On Tue, Sep 6, 2016 at 2:29 AM, Smith wrote: >> What exactly are you expecting the 'break' to do here? Can you explain >> to me the intent of your code? >> >> ChrisA >> > I'd like to create a script that searches the directory .py files. > If the script does not find the file

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the original patch, Tim! After discussion with Steve, we figured it's best to keep this to 3.6. -- versions: -Python 3.5 ___ Python tracker

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Steve Dower
Steve Dower added the comment: I'm building on Windows now. -- ___ Python tracker ___ ___ Python-bugs-list

[issue20366] SQLite FTS (full text search)

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: The Mac installer includes FTS in its SQLite build, so we should match it on Windows. I just updated the SQLite version for Windows, so now's a good time to do this. -- resolution: wont fix -> stage: resolved -> needs patch status: closed -> open

[issue27756] Add pyd icon for 3.6

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 386aa9738c6b by Steve Dower in branch 'default': Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon https://hg.python.org/cpython/rev/386aa9738c6b -- ___

[issue24254] Make class definition namespace ordered by default

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 635fd3912d4d by Eric Snow in branch 'default': Issue #24254: Preserve class attribute definition order. https://hg.python.org/cpython/rev/635fd3912d4d -- nosy: +python-dev ___ Python tracker

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Larry Hastings
Larry Hastings added the comment: Committed. Bye bye Windows CE! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a2eccee823b by Larry Hastings in branch 'default': Issue #27355: Removed support for Windows CE. It was never finished, https://hg.python.org/cpython/rev/7a2eccee823b -- nosy: +python-dev ___ Python

[issue25387] sound_msgbeep doesn't check the return value of MessageBeep

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e5b3dc049cc by Zachary Ware in branch 'default': Issue #25387: Check return value of winsound.MessageBeep https://hg.python.org/cpython/rev/4e5b3dc049cc -- nosy: +python-dev ___ Python tracker

[issue25387] sound_msgbeep doesn't check the return value of MessageBeep

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: I decided not to backport. If anyone else would like to, I won't stand in their way. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.5 ___ Python

Re: Installing python

2016-09-05 Thread Wildman via Python-list
On Mon, 05 Sep 2016 20:01:08 +, alister wrote: > On Mon, 05 Sep 2016 12:46:58 -0700, emaraiza98 wrote: > >> I installed pycharm for a computer science class I'm taking, and also >> downloaded python 3.5.2. However, my computer for some reason won't use >> 3.5.2 and my professor told me I

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: > See also get_standard_encoding() in Python/codecs.c. I suppose it is faster. I understand that PyCodec_SurrogatePassErrors() is already called with a normalized encoding name. With my enhanced _Py_normalize_encoding(), strange syntaxes like " utf 8 " also

[issue27958] 'zlib compression' not found in set(['RLE', 'ZLIB', None])

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d92f26a53b70 by Christian Heimes in branch 'default': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/d92f26a53b70 -- ___ Python

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
Steve Dower added the comment: While I'm here, should also move `aliasmbcs` from site.py into initialization - no reason for this behaviour to depend on importing site. -- ___ Python tracker

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
New submission from Steve Dower: Currently the ANSI encoding is available on Windows as 'mbcs', however the OEM encoding (sometimes used by console-based applications) is not easily available. The implementation is identical to PyUnicode_DecodeMBCS[Stateful], simply passing CP_OEM instead of

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-05 Thread Emanuel Barry
Emanuel Barry added the comment: Updated and rebased patch. There's a few file tweaks here and there to stay up to date, otherwise it's mostly the same. Martin, it may look like I've ignored your comments, but I'm trying to keep the patches as simple as possible, and so I don't want to go

[issue27940] xml.etree: Avoid XML declaration for the "ascii" encoding

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: New patch: * Avoid codecs.lookup() for method != "xml" * More unit tests -- Added file: http://bugs.python.org/file44385/etree_xml_declaration-2.patch ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Initial patch attached - tests to follow. -- Added file: http://bugs.python.org/file44386/6135_1.patch ___ Python tracker

[issue27957] minor typo in importlib docs

2016-09-05 Thread George London
New submission from George London: An extra apostrophe made the grammar of a method description ambiguous. The attached patch removes the apostrophe. -- assignee: docs@python components: Documentation files: mywork.patch keywords: patch messages: 274429 nosy: docs@python, gjlondon

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee32af890e27 by Christian Heimes in branch 'default': Issue 27744: Check for AF_ALG support in Kernel https://hg.python.org/cpython/rev/ee32af890e27 -- ___ Python tracker

[issue27748] Simplify test_winsound

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb74947843eb by Zachary Ware in branch '2.7': Issue #27748: Backed out changeset 6137d0ed0a15 https://hg.python.org/cpython/rev/fb74947843eb New changeset e85ce70b73b3 by Zachary Ware in branch '3.5': Issue #27748: Backed out changeset f845e24d794e

[issue27179] subprocess uses wrong encoding on Windows

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Chatting about this with Victor we've decided to close this as a duplicate of issue6135 and continue the discussion there, and also focus mainly on exposing the parameter rather than trying to guess the correct encoding. I'll post more details on issue6135.

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: I'll prepare a patch for the following: * add encoding and errors parameters to subprocess functions * add 'oem' encoding to make it easy to choose (but don't try and guess when it is used) EITHER * allow string or 2-tuple (stdin, stdout/err) or 3-tuple (stdin,

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: 'mbcs' is exactly equivalent to what 'ansi' would be, so that's just a matter of knowing the name. I'm okay with adding an alias for it though. -- ___ Python tracker

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: For 3.5 version of patch, we have bring in some additional changes from issue26896 which properly clarified finder from importer. These changes are not required in the default branch. -- ___ Python tracker

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Armin Rigo
Armin Rigo added the comment: You're welcome. Unrelated, but I'm collecting similar issues in a file at http://bitbucket.org/pypy/extradoc/raw/extradoc/planning/py3.5/cpython-crashers.rst . After reporting the first two, I stopped, and will report them all in bulk some time later, but you

[issue27957] minor typo in importlib docs

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33702360acef by Benjamin Peterson in branch '3.5': remove ungrammarical apostrophe (closes #27957) https://hg.python.org/cpython/rev/33702360acef New changeset f8d9569900a9 by Benjamin Peterson in branch 'default': merge 3.5 (#27957)

[issue27748] Simplify test_winsound

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c91651912d1 by Zachary Ware in branch '2.7': Issue #27748: Simplify test_winsound. https://hg.python.org/cpython/rev/4c91651912d1 New changeset 82467d0dbaea by Zachary Ware in branch '3.5': Issue #27748: Simplify test_winsound.

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c75b315152b by Christian Heimes in branch '3.5': Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. https://hg.python.org/cpython/rev/5c75b315152b New changeset bc5ba11973f5 by Christian Heimes in branch 'default': Issue #26470: Port ssl

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 74ce062a0397 by Christian Heimes in branch 'default': Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. https://hg.python.org/cpython/rev/74ce062a0397 -- nosy: +python-dev ___ Python

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52404f9596b5 by Christian Heimes in branch 'default': Issue #27744: correct comment and markup https://hg.python.org/cpython/rev/52404f9596b5 -- ___ Python tracker

[issue27915] Use 'ascii' instead of 'us-ascii' to bypass lookup machinery

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Since "us-ascii" got a fast-path thanks to the issue #27938, this patch is not needed anymore. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ebe3ade6922 by Christian Heimes in branch 'default': Issue 27744: AES-CBC and DRBG need Kernel 3.19+ https://hg.python.org/cpython/rev/4ebe3ade6922 -- ___ Python tracker

[issue27958] 'zlib compression' not found in set(['RLE', 'ZLIB', None])

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5566732c8ac5 by Christian Heimes in branch '3.5': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/5566732c8ac5 New changeset 2593ed9a6a62 by Christian Heimes in branch '2.7':

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5566732c8ac5 by Christian Heimes in branch '3.5': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/5566732c8ac5 New changeset 2593ed9a6a62 by Christian Heimes in branch '2.7':

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d92f26a53b70 by Christian Heimes in branch 'default': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/d92f26a53b70 -- ___ Python

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I agree with the comment made by Oren. Not all instances of finder should be referenced as generic finder. Some classes and functions are are still PEP 302 specific finder. In the commit, 3987667bf98f Nick Coghlan modified the following functions to to use

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: > * add 'oem' encoding to make it easy to choose (but don't try and guess when > it is used) I suggest to open a separated issue for that. By the way, you might also add "ansi"? See also the aliasmbcs() function of the site module. Note: I never liked that

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson: Neither Python 2.7 nor 3.3+ compile without HAVE_LONG_LONG, so effectively this is already completely unsupported. Let's completely dump it in 3.6. -- components: Interpreter Core messages: 274473 nosy: benjamin.peterson priority: normal severity:

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is 3.3 version of patch attached. -- Added file: http://bugs.python.org/file44383/issue20842-3.3-v5.patch ___ Python tracker

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file44384/longlong.patch ___ Python tracker

Re: Installing python

2016-09-05 Thread alister
On Mon, 05 Sep 2016 12:46:58 -0700, emaraiza98 wrote: > I installed pycharm for a computer science class I'm taking, and also > downloaded python 3.5.2. However, my computer for some reason won't use > 3.5.2 and my professor told me I needed to download an earlier version > to change the project

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file44376/SSLSession-support-2.patch ___ Python tracker ___

[issue27756] Add pyd icon for 3.6

2016-09-05 Thread Steve Dower
Steve Dower added the comment: The new beautiful icons have been checked in! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fa615a2a896 by Zachary Ware in branch 'default': Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound. https://hg.python.org/cpython/rev/8fa615a2a896 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved

[issue20366] SQLite FTS (full text search)

2016-09-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: LGTM on Win32, Win64, and OSX. -- ___ Python tracker ___ ___ Python-bugs-list

  1   2   >