Kyle Roberts added the comment:
Ah that's the type of thing I was looking for, thanks Éric. I saw the
underscored reference in functions.rst last night but figured it was just a
local file link. I'll have a patch available later today. Th
Kyle Roberts added the comment:
So the :ref: keyword helps and creates a link, but it has the unfortunate side
effect of adding different markup and style. I've attached two images to
illustrate the differences. I couldn't find a way in the Sphinx or reST
documentation to force i
Changes by Kyle Roberts :
Added file: http://bugs.python.org/file29772/diff_style_markup.PNG
___
Python tracker
<http://bugs.python.org/issue17661>
___
___
Python-bug
Kyle Roberts added the comment:
I'm working on a patch for this.
--
nosy: +kyle.roberts
___
Python tracker
<http://bugs.python.org/issue17673>
___
___
Pytho
Kyle McMartin added the comment:
Hacky patch at adding support for querying these values from nl_langinfo, and a
new exported function from the locale module to return a guess at the first day
of the week appropriate for Calendar.firstdayofweek
After writing this, I think it might be better
New submission from Kyle Simpson:
The second sentence in http://docs.python.org/3/extending/index.html says:
Those modules can define new functions but also new
object types and their methods.
The word "but" doesn't make sense here. I suppose that the
author meant to
Kyle Simpson added the comment:
I have provided a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file29847/issue17725.patch
___
Python tracker
<http://bugs.python.org/issue17
New submission from Kyle Simpson:
Here is one way to reproduce this bug:
1. Create a module file (bug.py in this example)
def func():
pass
2. Run Python
>>> import bug
>>> help(bug)
3. Edit bug.py
def func():
pass
def newfunc():
pass
4. Use the same Python
Kyle Roberts added the comment:
I think `copy_from` should be included for mkstemp as well. It provides similar
functionality to TemporaryFile and NamedTemporaryFile, but it doesn't delete
the temp file on close as the other two do by default. Tho
Kyle Simpson added the comment:
Right, this issue is about the IndexError.
The current patch for issue 1218234 doesn't solve this problem. You will still
get IndexErrors, but you will get them when functions are removed rather than
when functions are added.
I think we should simply thr
Kyle Roberts added the comment:
Attached is a patch to include the copy_from argument in mkstemp,
TemporaryFile, and NamedTemporaryFile. Also attached is a text file for testing
the copy operation.
Some notes:
I intended to use shutil's copyfile(src, dst) method to copy the copy_from
Changes by Kyle Roberts :
Added file: http://bugs.python.org/file29896/copy_from_test.txt
___
Python tracker
<http://bugs.python.org/issue17673>
___
___
Python-bugs-list m
Kyle Roberts added the comment:
Sorry, disregard my second question about finding a test file. I found an
example in test_mailcap.py. I've uploaded a new patch with the cleaner test
functions.
--
Added file: http://bugs.python.org/file29897/copy_from_v2.
Kyle Roberts added the comment:
Thanks for the quick response. The test file is sandwiched in between the two
patch files, so it's easy to miss. You made a great point about not cluttering
up the repo with any unnecessary files. I'll change the test methods to create
a new copy
Kyle Roberts added the comment:
Very cool, I didn't think it'd be included in the patch for some reason. Thanks!
--
___
Python tracker
<http://bugs.python.o
Kyle Simpson added the comment:
I can't reproduce this issue for v2.7.2 anymore, and none of the other versions
have this problem.
Is it possible to regenerate the online docs for v2.7.2 before closing this
issue?
--
___
Python tracker
Kyle Roberts added the comment:
Thanks for the comments Antoine. I didn't have a good reason for using the file
name at the time, although even when using the file name I should have used the
"file" variable that was already created. I tried using the file descriptor,
but
Kyle Roberts added the comment:
Thanks for the quick responses.
Brian: Nice catch, I'll add the ``obj`` shortly.
R. David: You're correct, that's exactly what happens, and what coercion means
here. The language is almost the same as PyUnicode_FromEncodedObject()'s
docume
Kyle Roberts added the comment:
I've uploaded a new patch with the obj argument properly marked up. Brian, I
think *obj* is what we want based on other examples in that file. It looks like
italics is typically used when discussing parameters since each parameter is
italicized in the sign
Changes by Kyle Roberts :
--
keywords: +patch
Added file: http://bugs.python.org/file30096/default_test_3.4.patch
___
Python tracker
<http://bugs.python.org/issue17
Kyle Roberts added the comment:
I've uploaded a patch documenting defaultTest in the latest branch and also in
the previous branches.
--
nosy: +kyle.roberts
Added file: http://bugs.python.org/file30097/default_test_2.7-3.3.patch
___
Python tr
New submission from Kyle Lahnakoski:
I installed python 2.7.8 on Windows version 6.2 (build 9200) and get-pip.py
does not run. I traced the problem to c:\python27\lib\tempfile.py Here is my
session:
>> c:\Users\kyle\Downloads>python
>> Python 2.7.8 (default, Jun 30 2014, 1
Kyle Lahnakoski added the comment:
Doh! Dirty directory!
Thank you for your time! My apologies.
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issu
Kyle Buzsaki added the comment:
It seems that assigning to [] is the odd one out in this case. Why is this even
possible?
>>> [] = ()
>>> [] = {}
>>> [] = set()
>>> list() = ()
File "", line 1
SyntaxError: can't assign to function call
>
New submission from Kyle Huey:
It would be nice if find_executable("~/path/to/my/local/build/of/a/binary")
would work.
--
components: Distutils
messages: 247176
nosy: Kyle Huey, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: find_executable sho
Kyle Graehl added the comment:
r"(\s+|;|$|,)" # Ending either at space, semicolon, or EOS. ( or comma...)
I remember running into this same problem like 5 years ago.
I added a comma as a valid regexp for ending the pattern, and removed it as a
valid _LegalKeyChars
I also think
New submission from Kyle Altendorf:
I am cross compiling Python 3.5.2 for use on a 32-bit ARM processor with Linux.
I use socket.CAN_EFF_FLAG and noticed that it is negative on the target
despite being positive on my host (64-bit Intel Linux).
Host:
altendky@tp:~$ uname -a
Linux tp 4.4.0
Kyle Altendorf added the comment:
I do not seem to be getting a compiler warning.
arm-fsl-linux-gnueabi-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv
-O3 -Wall -Wstrict-prototypes-Werror=declaration-after-statement -I.
-IInclude -I./Include
-I"/epc/t/262/misc-build-ar
Kyle Altendorf added the comment:
A little macro funny business gets a function the ability to know if the type
passed to its wrapping macro is signed or not.
http://ideone.com/NZYs7u
// http://stackoverflow.com/questions/7469915
#define IS_UNSIGNED(v) (v >= 0 && ~v >= 0)
Changes by Kyle Altendorf :
--
nosy: +altendky
___
Python tracker
<http://bugs.python.org/issue26660>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Kyle S (MrStonedOne):
Title says all.
It refuses to install from that point on, complaining that a reboot is needed.
--
components: Installation, Windows
messages: 256829
nosy: Kyle S (MrStonedOne), paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
Changes by Kyle S (MrStonedOne) :
--
title: canceling a repair install breaks the ability to uninstall repair or
re-install -> canceling a repair install breaks the ability to uninstall,
repair, or re-install
___
Python tracker
&l
New submission from Kyle Altendorf :
Normally sys.argv is a list but when using the trace module sys.argv gets
changed to a tuple. In my case this caused an issue with running an entry
point due to the line:
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''
501 - 533 of 533 matches
Mail list logo