New submission from Jay :
Official Documentation of python 2.7 mentions that numpy.random.randint(a,b)
will return a random integer from N such that a<=N<=b. But I have run the code
and I have found that it never returns equal to b. So, what I did was I ran
numpy.random.randint(0,1)
New submission from Jay Lee :
Steps to reproduce:
1) Compile OpenSSL 3.0 on Windows.
2) use get_externals.bat to download Python external requirements on Windows.
3) Overwrite OpenSSL 1.1.1m in externals with your OpenSSL 3.0 build.
Expected behavior:
Python will build against OpenSSL 3.0
New submission from Jay Ballard :
failure to find drive
--
components: None
messages: 114085
nosy: Kartton
priority: normal
severity: normal
status: open
title: 2755
versions: Python 2.7
___
Python tracker
<http://bugs.python.org/issue9
Jay Ballard added the comment:
I'v got windows 7 and I need Python for Blender and clonk files but
when I install it, it comes up with a message that it can't find the
harddrive
--
status: pending -> open
Added file: http://bugs.python.org/file
Jay Ballard added the comment:
I'm trying to install Python
--
title: "failure to find drive" error message when trying to install something
unspecified -> 2755
Added file: http://bugs.python.org/file18660/unnamed
Added file: http://bugs.python.org/fi
New submission from Jay T :
I want to create a custom interactive shell where I continually do
parse_args. Like the following:
parser = argparse.ArgumentParser()
command = raw_input()
while(True):
args = parser.parse_args(shlex.split(command))
# Do some magic stuff
command
Jay Taylor added the comment:
I couldn't agree more with ping's position on this. It is against the spirit
of what Python has set out to be, and the blocking needs to stop.
Any chance we could get a .epoch() function into python 2.7 as well?
--
nosy: +
Jay Parlar added the comment:
While working on this, I believe it would also make sense to remove all
instances of the terms "new-style" and "old-style" from the Descriptor HowTo
(and wherever else they might be present)
It still makes sense for them to be present in t
Jay Parlar added the comment:
Another problem is that the examples and text in the section "Functions and
Methods" is no longer correct in 3.x. Namely the the references to unbound
methods, and the example showing an unbound method being returned when
accessing a method
New submission from Jay Moorthi :
It would be useful to have a new assert method in the unittest.TestCase class
that checks to see if a value has changed. I wrote a quick and dirty version
like so:
class MySpecialTestCase(unittest.TestCase):
@contextmanager
def assertChanges(self
New submission from Jay Krell :
Python fails to compile on OSF1.
I have it about working. (I have Python2 already working.)
I'm opening an issue to meet the PR guidelines.
--
components: Interpreter Core
messages: 397128
nosy: jaykrell
priority: normal
severity: normal
status:
Change by Jay Krell :
--
keywords: +patch
pull_requests: +25616
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/27063
___
Python tracker
<https://bugs.python.org/issu
Jay Krell added the comment:
> "credible offer to maintain platform support for several years."
Probably. What does "support" mean?
Fix user-reported bugs? I expect very few/zero.
Run a buildbot? Maybe. Not sure it is worthwhile, depending on frequency.
Provid
Jay Krell added the comment:
I have a machine up and running that I would like to run this on.
Perhaps that is vastly inadequate.
Nothing is free, I realize.
And Solaris, agreed, would seem to merit "more" support, but zero==zero.
I will see if I can setup a buildbot and I am wonde
Jay Swanson added the comment:
I know this is closed, but is it possible that the ARM64EC support coming in
Windows 11 that allows mixed native/emulated code is something that would help
this along? That along with the sunsetting of 32-bit systems.
--
nosy: +jay.swanson
Jay Chu added the comment:
Maybe we could have the correct `Path.hardlink` implemented before removing or
even deprecating the confusing `Path.link_to`? It will only help even if we
don't remove the latter in a hurry.
--
nosy: +toth
Jay Chu added the comment:
For me, and as you've pointed out, the current doc of `Path.link_to` is already
wrong and misleading. Perhaps a fix of the doc should be made as a first step.
The doc uses the expression "Create a hard link pointing to a path named
target."
But co
Change by Jay Chu :
--
nosy: +tothesong
___
Python tracker
<https://bugs.python.org/issue42999>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jay Patel :
According to the user requirements, I need to send an email, which is provided
as a raw email, i.e., the contents of email are provided in form of headers. To
accomplish this I am using the methods provided in the "send_rawemail_demo.py"
file (atta
Jay Patel added the comment:
Screenshot for the case, where only the 'raw_email' variable contains only
'ascii' characters.
--
Added file:
https://bugs.python.org/file49250/providing_only_ascii_characters.png
___
Py
Change by Jay Patel :
Added file:
https://bugs.python.org/file49251/providing_Unicode_characters_in_email_body.png
___
Python tracker
<https://bugs.python.org/issue41
Change by Jay Patel :
Added file:
https://bugs.python.org/file49252/providing_mail_options_in_sendmail.png
___
Python tracker
<https://bugs.python.org/issue41
Change by Jay Patel :
Removed file:
https://bugs.python.org/file49250/providing_only_ascii_characters.png
___
Python tracker
<https://bugs.python.org/issue41
New submission from Jay Patel :
I need to extract the email data from an MSG file on Python v2.7. But as Python
v2.7 has been deprecated, I tried to replicate this scenario on Python v3.8 and
faced the same issue.
I am trying to extract the message using the "Message" cl
Change by Jay Patel :
Added file: https://bugs.python.org/file49274/msgfile_not_working_correctly.msg
___
Python tracker
<https://bugs.python.org/issue41157>
___
___
New submission from Jay Patel :
Using splunklib.client module to use Pythonic interface to the Splunk REST API.
I am using the connect method of the module to connect and log in to a Splunk
instance.
Code:
import splunklib.client as splunk_client
kwargs_config_flags = {
'
New submission from Jay Deiman :
I've noticed that urllib2's HTTPRedirectHandler does not redirect a POST
request with the POST data.
If you send a POST request to a server with data, the data is dropped when the
new Request is made to the new url. As stated in a comment in t
Jay Deiman added the comment:
Senthil,
That is a good point about the potential for security issues. What if it was
an explicit option in HTTPRedirectHandler since there is a possibility of value
in being able to do it. I know my case is probably unusual, but I imagine that
others might
Jay Deiman added the comment:
Senthil,
The HTTPRedirectHandler is already breaking RFC2616 by it's own admission in
the code comments (from the source):
# Strictly (according to RFC 2616), 301 or 302 in response
# to a POST MUST NOT cause a redirection without confirmation
# from the
Jay Deiman added the comment:
I have no problem making doc and test changes. I'll probably need a pointer as
to where these changes need to be made and submitted to, but like you said,
I'll wait until the patch is accepted before
Jay Deiman added the comment:
I actually just worked around this issue in my library to do specifically what
I needed it to do, which was an automatic redirect POST with data. As far as
general recipes are concerned, anyone could just follow what I did in my
library at:
https://github.com
New submission from Jay Bosamiya:
In Python 2.7, there is a possible integer overflow in
PyString_DecodeEscape function of the file stringobject.c, which can
be abused to gain a heap overflow, possibly leading to arbitrary code
execution.
The relevant parts of the code are highlighted below
Changes by Jay Bosamiya :
--
pull_requests: +2226
___
Python tracker
<http://bugs.python.org/issue30657>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jay Bosamiya added the comment:
I've made a patch that should fix the vulnerability. Please do let me know if
changes are required. Thanks a lot :)
PS: For anyone who looks at this later on, in my original message describing
the issue, the line `*p++ = *s++;` should be marked as (4) in
Jay Crotts added the comment:
Yeah the PR had been stale for a while, and I re-based my fork without closing
the PR, so when I pushed it to the fork it updated the PR reviewer list. Silly
mistake by me, I should have made sure the diff wasn't huge before pushing it.
I know review ti
Change by Jay Crotts :
--
pull_requests: +12700
___
Python tracker
<https://bugs.python.org/issue33722>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jay Crotts added the comment:
No worries, I think all of your points make sense, especially number one after
looking at the patch again. I looked at the docs again, and there is even an
example of another built in being patched.
Thanks for taking the time to review it.
I'm okay
Change by Jay Crotts :
--
resolution: -> rejected
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Jay Crotts :
--
keywords: +patch
pull_requests: +5031
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issue8243>
___
_
Jay Crotts added the comment:
Submitted a PR for this issue, awaiting review.
--
___
Python tracker
<https://bugs.python.org/issue8243>
___
___
Python-bugs-list m
New submission from Jay Yin :
Hello everyone,
I've been trying to build the master branch on Ubuntu 16.04 and it currently
fails 2 test, I was wondering if this was normal or if I'm missing
dependencies, I also tried apt-get build-dev python3.6 and python3.7 to no
avail,
Change by Jay Yin :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue32667>
___
___
Python-bugs-
Change by Jay Yin :
--
resolution: -> fixed
___
Python tracker
<https://bugs.python.org/issue32667>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Jay Yin :
--
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue32667>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jay Yin :
--
versions: +Python 2.7
___
Python tracker
<https://bugs.python.org/issue32667>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jay Yin added the comment:
no problem, thanks for helping and fixing the issue, I can now help contribute
to python =D
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Jay Yin :
--
pull_requests: +5174
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issue27931>
___
___
Python-bugs-lis
Change by Jay Yin :
--
pull_requests: +5177
___
Python tracker
<https://bugs.python.org/issue2793>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jay Yin added the comment:
https://github.com/python/cpython/pull/5329
this is the pending pull request for this
--
nosy: +jayyin11043
___
Python tracker
<https://bugs.python.org/issue27
Jay Yin added the comment:
I'm taking a look now, this looks interesting
--
nosy: +jayyin11043
___
Python tracker
<https://bugs.python.org/issue32446>
___
___
Jay Yin added the comment:
this would extend to set and get data right?, also would it be good to use the
current get_data() (one that reads only string) function for the overloaded one
and extract the string path from the os.path object? or would we want the
os.path object to be handled
Jay Yin added the comment:
nvm I temporarily forgot I was working with python here, I'd need to use "is"
to check what the entered "path" is huh?
--
___
Python tracker
<https:
Jay Yin added the comment:
I hope this isn't a dumb question but where is ResourceLoader.get_data()
implemented, using ATOM to search the whole project and I can't seem to find it.
--
___
Python tracker
<https://bugs.python.o
Change by Jay Yin :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue32714>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jay Yin :
I recently discovered in the documentation within the code and recent
discussions with Barry, that ResourceLoader is deprecated and was wondering if
we wanted to remove the code exclusively pertaining to ResourceLoader for
clarity and to remove unused code. (PS
Jay Yin added the comment:
Alright I see, so I guess I'll set this as "postponed" and close it?
--
versions: +Python 3.7
___
Python tracker
<https://bugs.pyt
Change by Jay Yin :
--
resolution: -> postponed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue32714>
___
Jay Yin added the comment:
Will an option be added to copy_file() function? if we did we could probably
make it preserve the times by default and have an -- option to make it update?
--
nosy: +jayyin11043
___
Python tracker
<ht
Jay Yin added the comment:
This looks a lot like https://bugs.python.org/issue32446, I'd like to tackle
this, if we are going through with it.
--
nosy: +jayyin11043
___
Python tracker
<https://bugs.python.org/is
Jay Yin added the comment:
I can tackle this if it's alright?
--
___
Python tracker
<https://bugs.python.org/issue32773>
___
___
Python-bugs-list m
Jay Yin added the comment:
That's why I said to have the default be the old setting, so that any previous
setups wouldn't need to changes (aka backward compat.) the option would give
people the "option" to choose.
--
___
Py
Jay Yin added the comment:
so what you're proposing, is that the function copy_file() itself, use
defaults, but make it so that any functions that reference it not save the
timing?, if so wouldn't that still require an inter
Jay Yin added the comment:
would it be ok for me to make a patch for this as practice?, I will be making a
PR though, I will be making the -- option available for backward compatibility.
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Jay Yin :
--
keywords: +patch
pull_requests: +5401
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32773>
___
___
Python-
Jay Yin added the comment:
what file(s) is/are the sys.path code located in?
--
___
Python tracker
<https://bugs.python.org/issue32642>
___
___
Python-bugs-list m
Jay Yin added the comment:
Thanks for the reply
--
___
Python tracker
<https://bugs.python.org/issue32642>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jay Yin added the comment:
ok, so I found the PathFinder class you referenced, just making sure, this
issue pertains to changing "self.path"'s usage and declaration to be a
path-like object instead of the hard coded 'sys', 'path' returns? or is that
part o
Jay Yin added the comment:
https://github.com/python/cpython/blob/3c34aad4e7a95913ec7db8e5e948a8fc69047bf7/Lib/importlib/_bootstrap_external.py#L1069-L1090
those are the particular class and lines I'm referring to
--
___
Python tracker
&
New submission from Jay Yin :
I didn't find any documentation stating that Cygwin isn't currently compatible
with building, I was wondering if it would be good to add documentation stating
this and that it would be an area requiring help.
--
assignee: docs@python
Jay Yin added the comment:
ah I see, hence the *currently* incompatible, there must be some way of
tracking areas in need of help without having to use the search, kind of like
the way Github uses labels.
--
type: enhancement ->
___
Pyt
Change by Jay Yin :
--
pull_requests: +5483
___
Python tracker
<https://bugs.python.org/issue32773>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jay Yin :
--
keywords: +patch
pull_requests: +5484
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32642>
___
___
Python-
New submission from Jay Yin :
we can probably add a section that includes all supported platforms and
possibly "partially" supported platforms, and maybe include platforms that
currently aren't supported but want/plan to be supported.
--
assignee: docs@python
components
Jay Crotts added the comment:
Closing this issue, for the reasons Antoine outlined.
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Jay Crotts added the comment:
Would it be worth adding an example of unpacking such as, t(**a._asdict()), or
something similar to the documentation ?
--
nosy: +jcrotts
___
Python tracker
<https://bugs.python.org/issue32
Jay Crotts added the comment:
Thanks Raymond, I wasn't sure if it was a common pattern or not, that makes
sense.
--
___
Python tracker
<https://bugs.python.org/is
Change by Jay Crotts :
--
versions: +Python 3.8 -Python 2.7, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue8243>
___
___
Python-bug
Jay Yin added the comment:
I'm unsure how to regenerate the files that interact with the code for sys.path
as travisCI states
"
Generated files not up to date
M Python/importlib_external.h
"
since my code changes some of how the impor
Jay Yin added the comment:
I've been stuck on "test_poplib" for over 149661 sec now, that's about 41
hours... I don't think this is working correctly, although I'm unsure what
test_poplib is doing that has been affe
Jay Yin added the comment:
The issue was resolved by updating my version of the rest of the package
apparently and remaking the whole thing, must have been some outdated stuff on
my end causing the issue
--
___
Python tracker
<ht
Jay Yin added the comment:
I'm having issues with my local changes for my PR, I'm unsure why my local
machine takes a seemingly infinite amount of time on test_poplib, so again I
think something to do with my local environment is causing issues again, any
help would be a
Jay Yin added the comment:
https://pastebin.com/q4FKnPZH
the trace for the test_poplib
--
___
Python tracker
<https://bugs.python.org/issue32642>
___
___
Pytho
Jay Yin added the comment:
it seems to me like the issue in my tests is that some SSL thing is failing?,
anyone have any experience with this?
--
___
Python tracker
<https://bugs.python.org/issue32
New submission from Jay Yin :
my test hangs locally on my computer with the changes I've done in bpo-32642
but doesn't hang on TravisCI, anyone able to help with checking what's wrong
here (sounds like another edge case with my env but I could be wrong)
the trace for th
Jay Yin added the comment:
srry I opened another issue bpo-33099
--
___
Python tracker
<https://bugs.python.org/issue32642>
___
___
Python-bugs-list mailin
New submission from Jay Crotts :
I wanted to propose the addition of a Timer class to the multiprocessing
library similar to the one that exists in the Threading module.
Timer provides an example of how to extend the Process class that might be
helpful to beginners.
The current lack of a
Jay Crotts added the comment:
I think your three reasons make sense, I've only found threading.Timer helpful
in pretty trivial cases.
Do you think a more flexible or efficient Timer class would be useful?
--
___
Python tracker
&
Jay Crotts added the comment:
I can create a documentation patch and PR if this still needs doing.
--
nosy: +jcrotts
___
Python tracker
<https://bugs.python.org/issue8
New submission from Jay Crotts :
The examples on using mock_open only include instances where objects are mocked
in the REPL, so '__main__'.open is replaced. Commonly objects are mocked for
use in other test modules, so builtins.open would be used instead.
A note about t
Change by Jay Crotts :
--
keywords: +patch
pull_requests: +7116
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33722>
___
___
Python-
New submission from Jay Lugo :
I spend the better part of a day figuring out this relatively simple
problem with the help files in IDLE with python 2.6 on a mac OSX
I came about the solution by following the code errors all over
up and down the program files.
Eventual I came about the public
Jay Lugo added the comment:
Python 2.6.4
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
>From the best I can tell the error came about
when I updated my firewall/shared folder settings.
(I lost a computer on my home network due to my partner leaving me :( )
so I did a complete revamp of
New submission from Jay Talbot :
I was having issues importing a csv file generated by the csv.write
class with the following:
load data infile 'file.csv' replace into table en fields terminated by
',' enclosed by '"' lines terminated by '\r\n';
Jay Talbot added the comment:
I'm sorry. I will remember to try and look up where the new features are
being targeted. Reporting bugs and requesting new features here is new
to me. Everyone seems to have their own rules.
--
___
Python tracker
Jay Freeman (saurik) added the comment:
Given that Python 3.x is still not ready for general use (and when this is
discussed people make it quite clear that this is to be expected, and that a
many year timeline was originally proposed for the Python 3.0 transition), it
seems like this bug
Jay Freeman (saurik) added the comment:
I have attached a tested patch against Python-2.7.2.tgz (as I do not know how
to use hg currently). It should be noted that I also am not 100% certain how
the Python build environment works, but the way I added the wcsxfrm test was to
add it to
Change by Jay Cee Garcia :
--
components: +XML
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue40108>
___
___
Python-bugs-list mai
Joshua Jay Herman added the comment:
Was this ever merged? I'm not sure whats happening.
--
___
Python tracker
<http://bugs.python.org/issue24459>
___
___
Joshua Jay Herman added the comment:
Ping
--
___
Python tracker
<http://bugs.python.org/issue24459>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joshua Jay Herman added the comment:
Hi, I would like to try to solve this issue. Does this occur on the latest
version of FreeBSD?
--
nosy: +zitterbewegung
___
Python tracker
<https://bugs.python.org/issue36
1 - 100 of 111 matches
Mail list logo