Westley Martínez added the comment:
IDLE 3.5.1 on Windows 10
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26698>
___
___
Pyth
Westley Martínez added the comment:
I still like Serhiy's implementation more. A function that returns a list
instead of the item is unnatural and doesn't fit with the rest of the module.
I think there's need to be some discussion about use cases. What do users
actually want? Maybe post
New submission from Westley Martínez:
IDLE is blurry on High DPI Windows, because IDLE is not DPI aware. IDLE should
be made to be DPI aware so that the text is more readable.
--
components: IDLE, Library (Lib), Tkinter
messages: 262930
nosy: westley.martinez
priority: normal
severity
Westley Martínez added the comment:
I second that the title should start with the filename, by default. This seems
to be the precedent, and it makes it easy when working with multiple files.
Example:
xxx.py - IDLE x.y.z: C:\mydir\xxx.py
Terry, I think we can generalize this as 'important
Westley Martínez added the comment:
I think the prompt should be in margins, completely separate from the input.
It is just meant to be a guide anyway, and make this would make it easy to copy
code from the interactive shell to a file. I think output should be in a
separate window or frame
Westley Martínez added the comment:
I updated the tests to be in sync, but the implementation of the fix is not so
trivial. The conversion from cmp() to rich comparison is the primary culprit,
so it will take time for me to get familiar enough with the C source to update
the fix. I couldn't
Westley Martínez added the comment:
I've submitted a patch. It's not complete. The global functions for the
SearchDialog module don't yet have tests because I'm not sure of what these
functions are used for. I'd like for anyone to point me in the right direction
for implementing those
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1617161
___
___
Python
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18410
___
___
Python-bugs
New submission from Westley Martínez:
Use of assertEquals in test_grammar is deprecated. I've included a patch to
change it to assertEqual.
--
files: test_grammar.deprecation.diff
keywords: patch
messages: 213001
nosy: westley.martinez
priority: normal
severity: normal
status: open
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
___
___
Python-bugs
Westley Martínez added the comment:
So is the plan to deprecate this in 3.5 and remove in 3.6? If so, the question
is where should the deprecation be thrown?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
Westley Martínez added the comment:
I know that Tk has individual states for whether or not a key is pressed with
Caps Lock or Shift or other modifiers, so maybe there is a way to have the
shortcuts ignore Caps Lock entirely.
More info:
http://stackoverflow.com/questions/665502/status
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20580
___
___
Python-bugs
Westley Martínez added the comment:
I understand this is an old issue. Sorry if it is no longer relevant.
I have usually have at least two versions of Python installed on Windows: 2.x
and 3.x.
In Windows 7, if you pin a certain shortcut to the start menu, you can't tell
what version
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17390
___
___
Python-bugs
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
___
___
Python-bugs
Westley Martínez added the comment:
How about adding an optional argument to OutputWindow that specifies the title
for the window? Or would this be more suitable for EditorWindow (which
OutputWindow inherits from)? Either way, doing this would allow any
OutputWindow to specify its own title
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +anikom15
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100942
___
___
Python-bugs-list
Westley Martínez added the comment:
I personally like this page about environment variables:
http://www.computerhope.com/issues/ch000549.htm
It is clear, concise, and has pretty pictures. However, it does not address
Windows 8. Since Windows 8 is becoming more popular everyday, and since
Westley Martínez added the comment:
I'm curious what the best way to do this would be. Obviously the simplest
would just be 'See also list comprehensions.' However since this is a
tutorial, I was thinking of adding something like this:
'In other languages, for loops are often used to fill
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20146
___
___
Python-bugs
Westley Martínez added the comment:
Sounds good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
___
___
Python-bugs-list mailing
Westley Martínez added the comment:
I've skimmed through the patches. Good job kids. This is much better than it
was before. No more of that silly command-line calculator or the foobar
nonsense that sounds drier than the POSIX standard.
Is there anything else that needs to be done
Westley Martínez added the comment:
I think Storchaka's solution is more transparent and I agree with him on the
point that the choice generator should be exposed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18844
Westley Martínez added the comment:
I've written a patch that sort of implements the functionality that makes the
most sense to me. The problem is it only works right for the first entry.
It's kind of wonky and I'm not entirely sure how it behaves, nor do I know the
cause of the bug
Westley Martínez added the comment:
My example was totally abstract and untested. Sorry for any confusion.
After doing some research, I find that this issue is complicated further:
http://support.microsoft.com/kb/100625
I think we can assume that running into a situation where
Westley Martínez added the comment:
I believe HFS is case-preserving as well, but it also can be configured to be
case-sensitive. I'm not a Mac owner though so don't take my word for it.
--
___
Python tracker rep...@bugs.python.org
http
Westley Martínez added the comment:
Honestly, I think adding weights to any of the random functions are trivial
enough to implement as is. Just because something becomes a common task does
not mean it ought to be added to the stdlib.
Anyway, from a user point of view, I think it'd be useful
New submission from Westley Martínez:
Hi, I'm not sure if this would be considered a bug or a feature request, but
IDLE's file-completion is case-sensitive in Windows (e.g. if I have a file
named ABBA and I type in 'abb' + tab, ABBA won't pop up. Since Windows files
systems are not case
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +anikom15
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18844
___
___
Python-bugs-list
Westley Martínez added the comment:
Can we have this committed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13951
___
___
Python-bugs-list
Westley Martínez added the comment:
On Thu, Oct 11, 2012 at 3:06 PM, Terry J. Reedy rep...@bugs.python.org wrote:
Terry J. Reedy added the comment:
This patch (I suspect it is this one) disabled the use of '/' in filenames on
windows when using filename completion.
'c:\ wait, tab
Westley Martínez added the comment:
I think I like the term catalog myself, but I'm not wholly opposed to index. I
think it is certainly better than pypi.
Although the namespace does reduce the genericness of index, a lot of
programmers (including me) like to use the from namespace import x
Westley Martínez added the comment:
How about we simply add the warning from
http://docs.python.org/3/library/pickle.html#module-pickle to the beginning (or
end) of the section? The Official Python Tutorial has always assumed a certain
programmer's competence. It's up to them if they want
Westley Martínez added the comment:
On 3.4.0a1 on Windows it seems to come up automatically with \ or \\. A single
\ will only pop up with the tab key; I think it's good that way. Special
characters (i.e. æ) work normally. All this said, I think this issue is fixed
Westley Martínez added the comment:
I won't question the usefulness of JSON. I'm not a web programmer and have
never used it. From my interpretation of the tutorial, it seems that the
section's purpose is for storing python objects. If pickle is going to stay in
the tutorial, I think
Westley Martínez added the comment:
Here's a patch that adds the warning, if we so choose to keep pickle in the
tutorial. It's taken verbatim from the pickle module's documentation.
--
keywords: +patch
Added file: http://bugs.python.org/file31524/pickle-add-warning_18840.diff
Westley Martínez aniko...@gmail.com added the comment:
-1
index is too generic to convey any kind of meaning and can be confused--atleast
for me--with list.index. Sometimes it is better for a name to be specific.
--
nosy: +anikom15
___
Python
Westley Martínez aniko...@gmail.com added the comment:
I think a better technique would be to expand FILENAME_CHARS to include more
characters.
--
nosy: +anikom15
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14937
Westley Martínez aniko...@gmail.com added the comment:
Also, shouldn't the space character ' ' be included?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14937
Westley Martínez aniko...@gmail.com added the comment:
Ahh okay, sorry for the triple post, I have an idea. On UNIX, the function
should accept any character except: \0 /, and on Windows should accept any
character except: \0 \ / : * ?| On classic Macintosh, : is invalid.
However, I do
Westley Martínez aniko...@gmail.com added the comment:
You're right. The code shouldn't *have* to check if the name is valid. It
should just accept that the name is already valid. This would simplify things.
Here's the problem: the code needs to find the index of where the string
Westley Martínez aniko...@gmail.com added the comment:
$ python
Python 3.2.3 (default, Apr 23 2012, 23:35:30)
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type help, copyright, credits or license for more information.
class A:
... x = 42
... y = [x for _ in '1']
...
Traceback (most
New submission from Westley Martínez aniko...@gmail.com:
When building Python I get this:
building dbm using ndbm
*** WARNING: renaming _dbm since importing it failed:
build/lib.linux-i686-3.3-pydebug/_dbm.cpython-33dm.so: undefined symbol:
dbm_nextkey
Failed to build these modules:
_dbm
Westley Martínez aniko...@gmail.com added the comment:
Hi I found this bug randomly and have made two small patches to change the
documentation. One assumes that the faulthandler module is available for 3.3.
The other patch is for earlier versions of Python.
--
keywords: +patch
nosy
Changes by Westley Martínez aniko...@gmail.com:
Added file: http://bugs.python.org/file24723/cpython-13951-pre3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13951
Westley Martínez aniko...@gmail.com added the comment:
Here's a test that checks for changes to the locale.
--
nosy: +anikom15
Added file: http://bugs.python.org/file24724/test_14135.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Westley Martínez aniko...@gmail.com added the comment:
http://www.archlinux.org/download/
It's a minimalist distribution but if you read through the install guide or
beginner's guide you'll be fine.
--
___
Python tracker rep...@bugs.python.org
http
New submission from Westley Martínez aniko...@gmail.com:
After running the uber test on the latest build of python (./python -bb -E -Wd
-m test -r -w -uall) I get one error:
==
ERROR: test_resources
Westley Martínez aniko...@gmail.com added the comment:
https://bugs.archlinux.org/task/25908
Looks like Allan will be taking care of this problem (eventually). I think
this bug can be closed.
--
resolution: - fixed
status: open - closed
Westley Martínez aniko...@gmail.com added the comment:
Is there anything preventing the patch from being committed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11678
Westley Martínez aniko...@gmail.com added the comment:
¡Hola!
Just checking in. The documentation is still incorrect for all versions.
There's a patch that fixes it ready to be reviewed.
--
___
Python tracker rep...@bugs.python.org
http
Westley Martínez aniko...@gmail.com added the comment:
I emailed the Arch Linux people to get more information on this particular
issue. If they decide that the compress program will stay as is I will write
attempt to write a patch to skip the test based on the output of compress's
--version
Westley Martínez aniko...@gmail.com added the comment:
I worked on this some time ago; the problem was the size of the documentation,
i.e. it was difficult to stay consistent. Do I have time for this? Yes, but I
wouldn't get it done anytime soon, and the results could be anywhere from good
Westley Martínez aniko...@gmail.com added the comment:
Can this patch be commited?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11155
Westley Martínez aniko...@gmail.com added the comment:
I've already got a patch ready for #11678.
As for checking the compress command, perhaps we can accomplish it by comparing
version information of the program:
$ compress --version
compress 1.4
Copyright (C) 2007 Free Software Foundation
Westley Martínez aniko...@gmail.com added the comment:
Perhaps I wasn't clear. That release version isn't for the system. It's for the
installation disc. There's no way to get that info and it means nothing to
anyone anyways. All users of Arch are expected to have their system fully up
Westley Martínez aniko...@gmail.com added the comment:
In that case, I've made a patch that changes the documentation so that item
is now obj. for Queue.put and Queue.put_nowait.
--
Added file: http://bugs.python.org/file21484/doc-11155.diff
Westley Martínez aniko...@gmail.com added the comment:
That's the release version for the installation disc.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11678
Westley Martínez aniko...@gmail.com added the comment:
Well it's been quite some time and no response yet.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11155
Westley Martínez aniko...@gmail.com added the comment:
('arch', '', '')
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11678
___
___
Python-bugs
Westley Martínez aniko...@gmail.com added the comment:
Patch.
--
keywords: +patch
Added file: http://bugs.python.org/file21410/cpython-11678.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11678
Westley Martínez aniko...@gmail.com added the comment:
I forgot to say, Arch Linux is rolling release so it doesn't have a version or
id.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11678
Westley Martínez aniko...@gmail.com added the comment:
test_check_archive_formats (__main__.ArchiveUtilTestCase) ... ok
test_compress_deprecated (__main__.ArchiveUtilTestCase) ... FAIL
test_make_archive (__main__.ArchiveUtilTestCase) ... ok
test_make_archive_cwd (__main__.ArchiveUtilTestCase
Westley Martínez aniko...@gmail.com added the comment:
I may have figured out the problem. The test checks if the archive's extension
is '.tar.Z', but the compress command on my computer appends the .gz extension
to the file. To my surprise, the gunzip command worked on the file. So
Westley Martínez aniko...@gmail.com added the comment:
('', '', '')
:D
I'm using Arch Linux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
Westley Martínez aniko...@gmail.com added the comment:
So how do other distros do it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
New submission from Westley Martínez aniko...@gmail.com:
This comes from Issue 11340 http://bugs.python.org/issue11340.
Adding support for Arch Linux to platform.linux_distributions() will allow a
distutils test to be skipped for Arch. The Arch Linux website:
http://www.archlinux.org
Westley Martínez aniko...@gmail.com added the comment:
Arch Linux
kernel 2.6.37.2
glibc 2.13
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
New submission from Westley Martínez aniko...@gmail.com:
test_compressed_deprecated failed
--
components: Tests
files: test_distutils
messages: 129588
nosy: anikom15
priority: normal
severity: normal
status: open
title: test_distutils fails
type: behavior
versions: Python 3.3
Added file
New submission from Westley Martínez aniko...@gmail.com:
test_invalid_offset failed on linux2.
--
components: Tests
files: test_os
messages: 129589
nosy: anikom15
priority: normal
severity: normal
status: open
title: test_os fails
versions: Python 3.3
Added file: http://bugs.python.org
Westley Martínez aniko...@gmail.com added the comment:
rev 88657
Arch Linux 2.6.37 x86_64 with glibc2.6
64-bit, little endian
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11341
Westley Martínez aniko...@gmail.com added the comment:
You are not running under a VM or something?
No
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11341
Westley Martínez aniko...@gmail.com added the comment:
I agree; it's too artsy. I'll see if I can come up with a relevant and clever
alternative.
--
nosy: +anikom15
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11176
Westley Martínez aniko...@gmail.com added the comment:
I've gone through Lib/multiproccing/queues.py and have replaced obj with item.
Here's the patch.
--
keywords: +patch
nosy: +anikom15
Added file: http://bugs.python.org/file20720/multiprocessing-11155.diff
Westley Martínez aniko...@gmail.com added the comment:
Perhaps we should say something regarding that shutdown, and similar methods,
must be called after open.
--
nosy: +anikom15
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Westley Martínez aniko...@gmail.com added the comment:
It seems is only the default for numbers. is the default for strings,
lists, sets, dicts, etc. I have made a patch, though Eric knows the exact
semantics.
I wonder what the rationale for having numbers use is.
--
keywords
Westley Martínez aniko...@gmail.com added the comment:
This is annoying. Every beginner's Python tutorial I've read made it very clear
how to exactly exit the interactive shell. Ctrl has been in use for years.
Changing it for novices' sake is ridiculous. Do we need to expand every
79 matches
Mail list logo