[issue26728] make pdb.set_trace() accept debugger commands as arguments and run them after entering the debugger

2016-04-10 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules, Library (Lib) -Interpreter Core nosy: +georg.brandl ___ Python tracker

[issue26727] ctypes.util.find_msvcrt() does not work in python 3.5.1

2016-04-10 Thread Steve Dower
Steve Dower added the comment: See issue23606. Not only is your expectation incorrect, you wouldn't get sensible behavior if it was. You should generally avoid using this function, and use the msvcrt module or ctypes.cdll.msvcrt (if you don't need to interoperate with CPython itself).

Re: function to remove and punctuation

2016-04-10 Thread Thomas 'PointedEars' Lahn
Peter Otten wrote: > gesh...@gmail.com wrote: >> how to write a function taking a string parameter, which returns it after >> you delete the spaces, punctuation marks, accented characters in python ? > > Looks like you want to remove more characters than you want to keep. In > this case I'd

Re: Unacceptable behavior

2016-04-10 Thread Tim Golden
On 10/04/2016 15:03, Chris Angelico wrote: On Sun, Apr 10, 2016 at 11:54 PM, Jeff Schumaker wrote: As a new member of this group, I am not sure on how to report unacceptable behavior. If this is not the correct way, I apologize. Please check the following thread:

[issue26722] Fold compare operators on constants (peephole)

2016-04-10 Thread Demur Rumed
Demur Rumed added the comment: I submitted a patch years ago that addressses the ''x,y = 1, 2' case: http://bugs.python.org/issue10648 & it was not met with enthusiasm 2016-04-10 5:08 GMT+00:00 Alexander Marshalov : > > Alexander Marshalov added the comment: > > Hi all,

Re: Unacceptable behavior

2016-04-10 Thread Chris Angelico
On Sun, Apr 10, 2016 at 11:54 PM, Jeff Schumaker wrote: > As a new member of this group, I am not sure on how to report unacceptable > behavior. If this is not the correct way, I apologize. > > Please check the following thread: > > Find the number of robots needed to

Re: Unacceptable behavior

2016-04-10 Thread Jeff Schumaker
On Thursday, April 7, 2016 at 2:50:32 AM UTC-4, Ethan Furman wrote: > On 04/05/2016 01:05 PM, Thomas 'PointedEars' Lahn wrote: > > > | >>> from email import ID10T > > Thomas, as has been pointed out to you in previous threads it is not > necessary to be rude to be heard. > > You are hereby

Re: QWERTY was not designed to intentionally slow typists down (was: Unicode normalisation [was Re: [beginner] What's wrong?])

2016-04-10 Thread Ian Kelly
On Sat, Apr 9, 2016 at 9:09 PM, pyotr filipivich wrote: > ASINTOER are the top eight English letters (not in any order, it > is just that "A Sin To Err" is easy to remember. What's so hard to remember about ETA OIN SHRDLU? Plus that even gives you the top twelve.

Change Windows Tkinter after some time

2016-04-10 Thread Diego Lelis
I need to make a change between windows, after some time. But i am have a little bit of trouble making my code work: My windows change only when i click on button, i tried to put lambda in my command and also don't work. import tkinter as tk # python3 #import Tkinter as tk # python import

Re: Change OnScreen Keyboard StringVar (Show linked to one Entry)

2016-04-10 Thread Peter Otten
Diego Lelis wrote: > Hi guys, im having a little problem to make the StringVar Linked to my > OnScreen Keyboard Change when the user click in one Entry. > > Here's my code: > from tkinter import * > > Begin > Code___ > > def

[issue26623] JSON encode: more informative error

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb1ad434f10e by Serhiy Storchaka in branch 'default': Issue #26623: TypeError message for JSON unserializible object now contains https://hg.python.org/cpython/rev/cb1ad434f10e -- nosy: +python-dev ___

[issue26623] JSON encode: more informative error

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Is there a use case where the representation is too long? For example large bytes, bytearray or set object. -- ___ Python tracker

Change OnScreen Keyboard StringVar (Show linked to one Entry)

2016-04-10 Thread Diego Lelis
Hi guys, im having a little problem to make the StringVar Linked to my OnScreen Keyboard Change when the user click in one Entry. Here's my code: from tkinter import * Begin Code___ def frame(root, side): w = Frame(root)

[issue26623] JSON encode: more informative error

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Mahmoud. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue26623] JSON encode: more informative error

2016-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

Re: function to remove and punctuation

2016-04-10 Thread Peter Otten
gesh...@gmail.com wrote: > how to write a function taking a string parameter, which returns it after > you delete the spaces, punctuation marks, accented characters in python ? Looks like you want to remove more characters than you want to keep. In this case I'd decide what characters too keep

[issue20210] Provide configure options to enable/disable Python modules and extensions

2016-04-10 Thread Stefan Krah
Stefan Krah added the comment: Normally I hate environment variables, but perhaps in this case PYTHON_DISABLE_MODULES="foo,bar,quux" would be sufficient? Setup.py already has the "disabled_module_list" variable, it's just a matter of setting this variable somehow. This is really something for

[issue13410] String formatting bug in interactive mode

2016-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue15516] exception-handling bug in PyString_Format

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a06654ca0134 by Serhiy Storchaka in branch '2.7': Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly https://hg.python.org/cpython/rev/a06654ca0134 -- ___ Python tracker

[issue13410] String formatting bug in interactive mode

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a06654ca0134 by Serhiy Storchaka in branch '2.7': Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly https://hg.python.org/cpython/rev/a06654ca0134 -- nosy: +python-dev ___ Python

[issue26728] make pdb.set_trace() accept debugger commands as arguments and run them after entering the debugger

2016-04-10 Thread irdb
New submission from irdb: I usually insert the following line in the middle of code to start the debugger from there: import pdb; pdb.set_trace() More often than not, I need to run some commands immediately after entering the debug mode, e.g. watch (display) some variables, create some

Re: function to remove and punctuation

2016-04-10 Thread Steven D'Aprano
On Sun, 10 Apr 2016 09:37 pm, gesh...@gmail.com wrote: > how to write a function taking a string parameter, which returns it after > you delete the spaces, punctuation marks, accented characters in python ? In your text editor, open a new file. Now bash your fingers onto the keyboard so that

[issue26716] EINTR handling in fcntl

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The signal handler doesn't raise an exception in the example on StackOverflow. [1] I think it would be nice to publish somewhere (on ActoveState receipts, on StackOverflow) well-searchable correct example. [1]

[issue26719] More efficient formatting of ints and floats in json

2016-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker

[issue17339] bytes() TypeError message is misleadingly narrow

2016-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: -Python 3.5 ___ Python tracker ___ ___

[issue17339] bytes() TypeError message is misleadingly narrow

2016-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker

[issue25339] sys.stdout.errors is set to "surrogateescape"

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Victor. I have added yet one minor change in tests because -I doesn't suppress PYTHONIOENCODING. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue25339] sys.stdout.errors is set to "surrogateescape"

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 56eca1c08738 by Serhiy Storchaka in branch '3.5': Issue #25339: PYTHONIOENCODING now has priority over locale in setting the https://hg.python.org/cpython/rev/56eca1c08738 New changeset 9c6623099da1 by Serhiy Storchaka in branch 'default': Issue

[issue26719] More efficient formatting of ints and floats in json

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d4febb76864 by Serhiy Storchaka in branch '3.5': Issue #26719: More efficient formatting of ints and floats in json. https://hg.python.org/cpython/rev/4d4febb76864 New changeset 36b15a9776ae by Serhiy Storchaka in branch 'default': Issue #26719:

[issue17339] bytes() TypeError message is misleadingly narrow

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b16eec56854 by Serhiy Storchaka in branch 'default': Issue #17339: Improved TypeError message in bytes constructor. https://hg.python.org/cpython/rev/6b16eec56854 -- nosy: +python-dev ___ Python tracker

function to remove and punctuation

2016-04-10 Thread geshdus
how to write a function taking a string parameter, which returns it after you delete the spaces, punctuation marks, accented characters in python ? -- https://mail.python.org/mailman/listinfo/python-list

[issue15984] Wrong documentation for PyUnicode_FromObject() and PyUnicode_FromEncodedObject()

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added a comment on Rietveld. -- ___ Python tracker ___ ___

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Martin's comments. -- Added file: http://bugs.python.org/file42421/no_unicode_copy_2.patch ___ Python tracker

[issue26706] Update OpenSSL version in readme

2016-04-10 Thread Ned Deily
Changes by Ned Deily : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list

[issue26712] Unify (r)split(), (l/r)strip() method tests

2016-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15cbeb389f17 by Martin Panter in branch '3.5': Issue #26712: Unify (r)split, (l/r)strip tests into string_tests https://hg.python.org/cpython/rev/15cbeb389f17 New changeset bb3cfca9c431 by Martin Panter in branch 'default': Issue #26712: Merge

[issue26727] ctypes.util.find_msvcrt() does not work in python 3.5.1

2016-04-10 Thread Henri Starmans
New submission from Henri Starmans: Function find_msvcrt() returns None in Python 3.5.1, I expected 'msvcr100.dll'. test code: from ctypes.util import find_msvcrt print(find_msvcrt()) -- components: Windows messages: 263126 nosy: Henri Starmans, paul.moore, steve.dower, tim.golden,

Re: Unicode normalisation [was Re: [beginner] What's wrong?]

2016-04-10 Thread Gregory Ewing
Steven D'Aprano : But when you get down to fundamentals, character sets and alphabets have always blurred the line between presentation and meaning. W ("double-u") was, once upon a time, UU And before that, it was VV, because the Romans used V the way we now use U, and

Re: Unicode normalisation [was Re: [beginner] What's wrong?]

2016-04-10 Thread Gregory Ewing
Ben Bacarisse wrote: The problem with that theory is that 'er/re' (this is e and r in either order) is the 3rd most common pair in English but have been placed together. No, they haven't. The order of the characters in the type basket goes down the slanted columns of keys, so E and R are

Re: REMOVE ME

2016-04-10 Thread Steven D'Aprano
On Sunday 10 April 2016 13:46, fan nie wrote: > We cannot remove you. You subscribed, you have to unsubscribe yourself. If you look at the footer of this email, right at the bottom, it should have instructions for unsubscribing. Otherwise, go here:

[issue26726] Incomplete Internationalization in Argparse Module

2016-04-10 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +berker.peksag stage: -> patch review ___ Python tracker ___

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-10 Thread Martin Panter
Martin Panter added the comment: Left some comments -- nosy: +martin.panter ___ Python tracker ___ ___

<    1   2